Fix opengraph metadata, update servers list

This commit is contained in:
lostinlight 2020-08-07 21:42:23 +03:00
parent 046c8a977b
commit d23e1affec
3 changed files with 4 additions and 3 deletions

View file

@ -5,7 +5,7 @@
# Site # Site
title: Fediverse title: Fediverse
subtitle: subtitle:
description: exploring federated networks description: explore federated networks
author: lostinlight author: lostinlight
language: language:
- en - en

View file

@ -118,6 +118,7 @@ title: "Themed servers"
* [kopiti.am](https://kopiti.am) - Singapore * [kopiti.am](https://kopiti.am) - Singapore
* [mastodon.madrid](https://mastodon.madrid) - Madrid, Spain * [mastodon.madrid](https://mastodon.madrid) - Madrid, Spain
* [mstdn.es](https://mstdn.es) - Spain * [mstdn.es](https://mstdn.es) - Spain
* [barcelona.social](https://barcelona.social) - Barcelona
* [toot.brussels](https://toot.brussels) - Brussels, Belgium * [toot.brussels](https://toot.brussels) - Brussels, Belgium
* [mastodon.in.th](mastodon.in.th) - Thailand * [mastodon.in.th](mastodon.in.th) - Thailand
* [zoltasila.pl](https://zoltasila.pl) - Poland * [zoltasila.pl](https://zoltasila.pl) - Poland

View file

@ -31,8 +31,8 @@
<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="<% if (page.preview) { %><%=page.preview%><% } else { %> <%= config.description %> <% } %>"> <meta property="og:title" content="<% if (page.title) { %><%=page.title%><% } else { %> <%= config.title %> <% } %>">
<meta property="og:description" content="<%= config.description %>"> <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" content="<%= config.url %>/<% if (page.path.match(/post/) && page.banner) { %><%=page.path%><%=page.banner%><% } else { %><%=config.ogImage%><% } %>" />
<title> <title>