mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-22 00:21:28 +00:00
Set width, height of og:image (closes #30)
This commit is contained in:
parent
34754053d8
commit
1e4c1b0b24
|
@ -3,9 +3,9 @@
|
|||
## Source: https://github.com/hexojs/hexo/
|
||||
|
||||
# Site
|
||||
title: Fediverse
|
||||
title: Fediverse.Party
|
||||
subtitle:
|
||||
description: explore federated networks
|
||||
description: making social media free, federated and fun
|
||||
author: lostinlight
|
||||
language:
|
||||
- en
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
<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>
|
||||
<% if (page.title) { %>
|
||||
|
|
Loading…
Reference in a new issue