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