mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix meta tags
This commit is contained in:
parent
f8adf01678
commit
f1cbfbaea2
5 changed files with 7 additions and 6 deletions
|
@ -23,7 +23,7 @@
|
||||||
}
|
}
|
||||||
{{ highlight_css }}
|
{{ highlight_css }}
|
||||||
</style>
|
</style>
|
||||||
{% block headers %}{% endblock %}
|
{% block header %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% if logged_in %}
|
{% if logged_in %}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% import 'utils.html' as utils %}
|
{% import 'utils.html' as utils %}
|
||||||
{% block title %}Lists - {{ config.NAME }}{% endblock %}
|
{% block title %}Lists - {{ config.NAME }}{% endblock %}
|
||||||
{% block headers %}
|
{% block header %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% import 'utils.html' as utils %}
|
{% import 'utils.html' as utils %}
|
||||||
{% block title %}Login - {{ config.NAME }}{% endblock %}
|
{% block title %}Login - {{ config.NAME }}{% endblock %}
|
||||||
{% block headers %}
|
{% block header %}
|
||||||
<style>
|
<style>
|
||||||
#login-container {
|
#login-container {
|
||||||
height: 90%;
|
height: 90%;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% import 'utils.html' as utils %}
|
{% import 'utils.html' as utils %}
|
||||||
{% block title %}New - {{ config.NAME }}{% endblock %}
|
{% block title %}New - {{ config.NAME }}{% endblock %}
|
||||||
{% block headers %}
|
{% block header %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
{% import 'utils.html' as utils %}
|
{% import 'utils.html' as utils %}
|
||||||
{% block title %}{{ config.NAME }}: "{{ note.activity.object.content | html2plaintext | truncate(50) }}"{% endblock %}
|
{% block title %}{{ config.NAME }}: "{{ note.activity.object.content | html2plaintext | truncate(50) }}"{% endblock %}
|
||||||
{% block header %}
|
{% block header %}
|
||||||
|
<meta name="description" content="{{ note.activity.object.content | html2plaintext | truncate(50) }}">
|
||||||
|
|
||||||
<meta content="article" property="og:type" />
|
<meta content="article" property="og:type" />
|
||||||
<meta content="{{ note.activity.object.url }}" property="og:url" />
|
<meta content="{{ note.activity.object.url }}" property="og:url" />
|
||||||
|
<meta content="{{ config.USERNAME }} microblog" property="og:site_name" />
|
||||||
<meta content="{{ config.USERNAME }}" property="og:site_name" />
|
|
||||||
<meta content="{{ config.USERNAME }}" property="og:title" />
|
<meta content="{{ config.USERNAME }}" property="og:title" />
|
||||||
<meta content="{{ note.activity.object.content | html2plaintext | truncate(50) }}" property="og:description" />
|
<meta content="{{ note.activity.object.content | html2plaintext | truncate(50) }}" property="og:description" />
|
||||||
<meta content="{{ me.icon.url }}" property="og:image" />
|
<meta content="{{ me.icon.url }}" property="og:image" />
|
||||||
|
|
Loading…
Reference in a new issue