Update head

This commit is contained in:
lostinlight 2020-09-24 21:31:55 +03:00
parent 1e4c1b0b24
commit 5c86b02c78
2 changed files with 9 additions and 11 deletions

View file

@ -5,7 +5,7 @@
# Site # Site
title: Fediverse.Party title: Fediverse.Party
subtitle: subtitle:
description: making social media free, federated and fun description: Making social media free, federated and fun!
author: lostinlight author: lostinlight
language: language:
- en - en
@ -69,7 +69,7 @@ deploy:
type: type:
# Site settings # Site settings
ogImage: tile.png ogImage: tile-wide.png
# Plugins # Plugins
nofollow: nofollow:

View file

@ -4,10 +4,14 @@
<meta name="content-language" content="en"> <meta name="content-language" content="en">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui"> <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<link rel="canonical" href="https://fediverse.party"> <link rel="canonical" href="https://fediverse.party">
<link rel="author" href="<%- url_for('humans.txt') %>"> <link rel="shortcut icon" href="<%- url_for('favicon.ico') %>">
<meta name="description" content="<%= config.description %>"> <meta name="description" content="<%= config.description %>">
<meta itemprop="name" content="Fediverse Party"> <meta property="og:title" content="<% if (page.title) { %><%=page.title%><% } else { %> <%= config.title %> <% } %>">
<meta itemprop="description" content="<%= config.description %>"> <meta property="og:description" content="<% if (page.preview) { %><%=page.preview%><% } else { %> <%= config.description %> <% } %>">
<meta property="og:type" content="website">
<meta property="og:image" content="<%= config.url %>/<% if (page.path.match(/post/) && page.banner) { %><%=page.path%><%=page.banner%><% } else { %><%=config.ogImage%><% } %>" />
<meta property="og:image:width" content="558">
<meta property="og:image:height" content="270">
<meta name="mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="FediGuide"> <meta name="application-name" content="FediGuide">
<link rel="icon" type="image/png" sizes="192x192" href="<%- url_for('img/touch/android-icon-192x192.png') %>"> <link rel="icon" type="image/png" sizes="192x192" href="<%- url_for('img/touch/android-icon-192x192.png') %>">
@ -30,12 +34,6 @@
<link rel="manifest" href="<%- url_for('manifest.json') %>"> <link rel="manifest" href="<%- url_for('manifest.json') %>">
<meta name="theme-color" content="#f4f4f4"> <meta name="theme-color" content="#f4f4f4">
<link rel="shortcut icon" href="<%- url_for('favicon.ico') %>">
<meta property="og:title" content="<% if (page.title) { %><%=page.title%><% } else { %> <%= config.title %> <% } %>">
<meta property="og:description" content="<% if (page.preview) { %><%=page.preview%><% } else { %> <%= config.description %> <% } %>">
<meta property="og:image" content="<%= config.url %>/<% if (page.path.match(/post/) && page.banner) { %><%=page.path%><%=page.banner%><% } else { %><%=config.ogImage%><% } %>" />
<meta property="og:image:width" content="558">
<meta property="og:image:height" content="558">
<title> <title>
<% if (page.title) { %> <% if (page.title) { %>