Add favicon + opengraph

and remove the "middleman" fallback title

and copy feather in the repo

Fixes #2
This commit is contained in:
Baptiste Gelez 2019-01-28 19:59:36 +01:00
parent a55b5f0a45
commit 32ee142260
4 changed files with 20 additions and 3 deletions

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

File diff suppressed because one or more lines are too long

View file

@ -4,10 +4,14 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge"> <meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <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 || "Plume" %></title>
<title><%= current_page.data.title || "Middleman" %></title>
<%= stylesheet_link_tag "site" %> <%= 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> </head>
<body> <body>
<%= yield %> <%= yield %>