forked from plume/joinplu.me
Add favicon + opengraph
and remove the "middleman" fallback title and copy feather in the repo Fixes #2
This commit is contained in:
parent
a55b5f0a45
commit
32ee142260
4 changed files with 20 additions and 3 deletions
BIN
source/images/favicon.png
Normal file
BIN
source/images/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2 KiB |
BIN
source/images/og-logo.png
Normal file
BIN
source/images/og-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
13
source/javascripts/icons.js
Normal file
13
source/javascripts/icons.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -4,10 +4,14 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<!-- Usar el título de la portada de una página si tiene uno -->
|
||||
<title><%= current_page.data.title || "Middleman" %></title>
|
||||
<title><%= current_page.data.title || "Plume" %></title>
|
||||
<%= stylesheet_link_tag "site" %>
|
||||
<script src="https://unpkg.com/feather-icons"></script>
|
||||
<%= javascript_include_tag "icons" %>
|
||||
<link rel="icon" type="image/png" href="/images/favicon.png">
|
||||
<meta property="og:title" content="<%= _('Plume') %>" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://joinplu.me/" />
|
||||
<meta property="og:image" content="/images/og-logo.png" />
|
||||
</head>
|
||||
<body>
|
||||
<%= yield %>
|
||||
|
|
Loading…
Add table
Reference in a new issue