feat: update meta info

This commit is contained in:
Ayo Ayco 2024-04-26 21:41:07 +02:00
parent 28d7747d41
commit 15a9bf5953
2 changed files with 4 additions and 2 deletions

View file

@ -7,14 +7,15 @@
<meta name="theme-color" content="#3054bf">
{% if threads|length == 1 %}
<meta name="description" content="{{ threads[0].content }}" />
<meta property="og:description" content="{{ threads[0].content }}" />
{% else %}
<meta name="description" content="{{ app.description }}" />
<meta property="og:description" content="{{ app.description }}" />
{% endif %}
<meta name="author" content="{{ attribution.owner }}" />
<meta property="og:site_name" content="{{ app.title }}" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="{{ app.site_name }}" />
<meta property="og:title" content="{{ app.title }}" />
<meta property="og:description" content="{{ app.description }}" />
<link rel="stylesheet" href="https://webcomponent.io/reset.css" />
<style>

View file

@ -9,6 +9,7 @@ threads = Blueprint('threads', __name__, template_folder='template')
server = 'https://social.ayco.io'
thread_ids = ['112258065967208438', '109545132056133905']
app = {
"site_name": "ayco.io/threads",
"title":"Ayo's Threads",
"description": "Incubator for thoughts before they become a blog."
}