mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
More HTMl tweaks
This commit is contained in:
parent
16c3567eb3
commit
cc89b0b584
3 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
||||||
<meta content="{{ config.ID }}" property="og:url" />
|
<meta content="{{ config.ID }}" property="og:url" />
|
||||||
<meta content="{{ config.USERNAME }}" 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="{{ me.summary | html2plaintext }}" property="og:description" />
|
<meta content="{{ me.summary | html2plaintext | trim }}" property="og:description" />
|
||||||
<meta content="{{ me.icon.url }}" property="og:image" />
|
<meta content="{{ me.icon.url }}" property="og:image" />
|
||||||
<meta content="200" property="og:image:width" />
|
<meta content="200" property="og:image:width" />
|
||||||
<meta content="200" property="og:image:height" />
|
<meta content="200" property="og:image:height" />
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% 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 | trim | truncate(50) }}"{% endblock %}
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<meta name="description" content="{{ note.activity.object.content | html2plaintext | truncate(50) }}">
|
<meta name="description" content="{{ note.activity.object.content | html2plaintext | trim | 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 }} microblog" 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 | trim | truncate(50) }}" property="og:description" />
|
||||||
<meta content="{{ me.icon.url }}" property="og:image" />
|
<meta content="{{ me.icon.url }}" property="og:image" />
|
||||||
<meta content="200" property="og:image:width" />
|
<meta content="200" property="og:image:width" />
|
||||||
<meta content="200" property="og:image:height" />
|
<meta content="200" property="og:image:height" />
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<meta content="{{ config.ID }}" property="og:url" />
|
<meta content="{{ config.ID }}" property="og:url" />
|
||||||
<meta content="{{ config.USERNAME }}" 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="{{ me.summary | html2plaintext }}" property="og:description" />
|
<meta content="{{ tag }}" property="og:description" />
|
||||||
<meta content="{{ me.icon.url }}" property="og:image" />
|
<meta content="{{ me.icon.url }}" property="og:image" />
|
||||||
<meta content="200" property="og:image:width" />
|
<meta content="200" property="og:image:width" />
|
||||||
<meta content="200" property="og:image:height" />
|
<meta content="200" property="og:image:height" />
|
||||||
|
|
Loading…
Reference in a new issue