1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-22 23:08:31 +01:00

Edit head

This commit is contained in:
lostinlight 2020-09-24 21:53:33 +03:00
parent 5c86b02c78
commit 2efd14f549

View File

@ -5,9 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<link rel="canonical" href="https://fediverse.party">
<link rel="shortcut icon" href="<%- url_for('favicon.ico') %>">
<meta name="description" content="<%= config.description %>">
<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 name="description" content="<%=config.description%>">
<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: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">