mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-22 08:31:28 +00:00
Fix OG tags - closes #10
This commit is contained in:
parent
b4a9b42359
commit
8f49d05a8f
|
@ -5,7 +5,7 @@
|
||||||
# Site
|
# Site
|
||||||
title: Fediverse
|
title: Fediverse
|
||||||
subtitle:
|
subtitle:
|
||||||
description: Fediverse Guide
|
description: exploring federated networks
|
||||||
author: lostinlight
|
author: lostinlight
|
||||||
language:
|
language:
|
||||||
- en
|
- en
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<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') %>">
|
<link rel="shortcut icon" href="<%- url_for('favicon.ico') %>">
|
||||||
<meta property="og:title" content="Fediverse Guide">
|
<meta property="og:title" content="<% if (page.preview) { %><%=page.preview%><% } else { %> <%= config.description %> <% } %>">
|
||||||
<meta property="og:description" content="<%= config.description %>">
|
<meta property="og:description" content="<%= 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" content="<%= config.url %>/<% if (page.path.match(/post/) && page.banner) { %><%=page.path%><%=page.banner%><% } else { %><%=config.ogImage%><% } %>" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue