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 }}
|
||||
</style>
|
||||
{% block headers %}{% endblock %}
|
||||
{% block header %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% if logged_in %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "layout.html" %}
|
||||
{% import 'utils.html' as utils %}
|
||||
{% block title %}Lists - {{ config.NAME }}{% endblock %}
|
||||
{% block headers %}
|
||||
{% block header %}
|
||||
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "layout.html" %}
|
||||
{% import 'utils.html' as utils %}
|
||||
{% block title %}Login - {{ config.NAME }}{% endblock %}
|
||||
{% block headers %}
|
||||
{% block header %}
|
||||
<style>
|
||||
#login-container {
|
||||
height: 90%;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "layout.html" %}
|
||||
{% import 'utils.html' as utils %}
|
||||
{% block title %}New - {{ config.NAME }}{% endblock %}
|
||||
{% block headers %}
|
||||
{% block header %}
|
||||
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
{% import 'utils.html' as utils %}
|
||||
{% block title %}{{ config.NAME }}: "{{ note.activity.object.content | html2plaintext | truncate(50) }}"{% endblock %}
|
||||
{% block header %}
|
||||
<meta name="description" content="{{ note.activity.object.content | html2plaintext | truncate(50) }}">
|
||||
|
||||
<meta content="article" property="og:type" />
|
||||
<meta content="{{ note.activity.object.url }}" property="og:url" />
|
||||
|
||||
<meta content="{{ config.USERNAME }}" property="og:site_name" />
|
||||
<meta content="{{ config.USERNAME }} microblog" property="og:site_name" />
|
||||
<meta content="{{ config.USERNAME }}" property="og:title" />
|
||||
<meta content="{{ note.activity.object.content | html2plaintext | truncate(50) }}" property="og:description" />
|
||||
<meta content="{{ me.icon.url }}" property="og:image" />
|
||||
|
|
Loading…
Reference in a new issue