mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +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.USERNAME }}" property="og:site_name" />
|
||||
<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="200" property="og:image:width" />
|
||||
<meta content="200" property="og:image:height" />
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% extends "layout.html" %}
|
||||
{% 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 %}
|
||||
<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="{{ note.activity.object.url }}" property="og:url" />
|
||||
<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="{{ note.activity.object.content | html2plaintext | trim | truncate(50) }}" property="og:description" />
|
||||
<meta content="{{ me.icon.url }}" property="og:image" />
|
||||
<meta content="200" property="og:image:width" />
|
||||
<meta content="200" property="og:image:height" />
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<meta content="{{ config.ID }}" property="og:url" />
|
||||
<meta content="{{ config.USERNAME }}" property="og:site_name" />
|
||||
<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="200" property="og:image:width" />
|
||||
<meta content="200" property="og:image:height" />
|
||||
|
|
Loading…
Reference in a new issue