Compare commits
1 commit
a17ebec50f
...
04cf605ae8
Author | SHA1 | Date | |
---|---|---|---|
04cf605ae8 |
4 changed files with 5 additions and 17 deletions
|
@ -5,7 +5,9 @@
|
||||||
<meta name="description" content="{{ article.summary|striptags|escape }}" />
|
<meta name="description" content="{{ article.summary|striptags|escape }}" />
|
||||||
<meta name="keywords" content="{{ article.tags|join(', ')|escape }}">
|
<meta name="keywords" content="{{ article.tags|join(', ')|escape }}">
|
||||||
|
|
||||||
{% if PLUGINS and 'pelican.plugins.activitypub' in PLUGINS %}<link rel="alternate" type="application/activity+json" href="{{ SITEURL }}/activitypub/posts/{{ article.slug }}">{% endif %}
|
{% if PLUGINS and 'pelican.plugins.activitypub' in PLUGINS %}
|
||||||
|
<link rel="alternate" type="application/activity+json" href="{{ SITEURL }}/activitypub/posts/{{ article.slug }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if article.translations -%}
|
{% if article.translations -%}
|
||||||
<link rel="alternate" href="{{ SITEURL }}/{{ article.url }}" hreflang="{{ article.lang }}" />
|
<link rel="alternate" href="{{ SITEURL }}/{{ article.url }}" hreflang="{{ article.lang }}" />
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
{% extends "index.html" %}
|
{% extends "index.html" %}
|
||||||
|
|
||||||
{% block meta %}
|
|
||||||
{% if PLUGINS and 'pelican.plugins.activitypub' in PLUGINS %}<link rel="alternate" type="application/activity+json" href="{{ SITEURL }}/activitypub/users/{{ author }}">{% endif %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block title %} – {{ _('Posts by %(name)s', name=author) }}:{% endblock %}
|
{% block title %} – {{ _('Posts by %(name)s', name=author) }}:{% endblock %}
|
||||||
{% set summarise = True %}
|
{% set summarise = True %}
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
{% if USE_GOOGLE_FONTS != False %}
|
{% if USE_GOOGLE_FONTS != False %}
|
||||||
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,400|Open+Sans" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,400|Open+Sans" rel="stylesheet">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch.min.css" />
|
href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch.min.css" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -115,10 +115,6 @@
|
||||||
<link rel="pingback" href="{{ PINGBACK_URL }}" />
|
<link rel="pingback" href="{{ PINGBACK_URL }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for _, link in SOCIAL%}
|
|
||||||
<link rel="me" href="{{ link }}" />
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% if not PLUGINS or 'seo' not in PLUGINS %}
|
{% if not PLUGINS or 'seo' not in PLUGINS %}
|
||||||
{% if REL_CANONICAL %}
|
{% if REL_CANONICAL %}
|
||||||
{% if page %}
|
{% if page %}
|
||||||
|
@ -133,7 +129,7 @@
|
||||||
<link rel="canonical" href="{{ SITEURL }}/{{ output_file }}">
|
<link rel="canonical" href="{{ SITEURL }}/{{ output_file }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% block meta %}
|
{% block meta %}
|
||||||
<meta name="author" content="{{ AUTHOR }}" />
|
<meta name="author" content="{{ AUTHOR }}" />
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
{% extends "index.html" %}
|
{% extends "index.html" %}
|
||||||
|
|
||||||
{% block meta %}
|
|
||||||
{% if PLUGINS and 'pelican.plugins.activitypub' in PLUGINS %}<link rel="alternate" type="application/activity+json" href="{{ SITEURL }}/activitypub/tags/{{ tag }}">{% endif %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block title %} – {{ _('Tag %(name)s', name=tag) }}{% endblock %}
|
{% block title %} – {{ _('Tag %(name)s', name=tag) }}{% endblock %}
|
||||||
{% set summarise = True %}
|
{% set summarise = True %}
|
||||||
|
|
Loading…
Reference in a new issue