fixes, blog redirect, link scuti digilines
This commit is contained in:
parent
939798238a
commit
d7f401d3f7
5 changed files with 24 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
|||
{% block head %}
|
||||
<meta property="og:title" content="{{page.title}}"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:title" content="{{page.permalink}}"/>
|
||||
<meta property="og:url" content="{{page.permalink}}"/>
|
||||
<meta property="og:locale" content="{{lang}}"/>
|
||||
{% for t in page.translations %}
|
||||
{% if t.lang|default(value=config.default_language) != lang %}
|
||||
|
|
@ -14,6 +14,9 @@
|
|||
{% endfor %}
|
||||
<meta property="og:description" content="{{page.description}}"/>
|
||||
<meta property="og:site_name" content="{{config.extra.sitename}}"/>
|
||||
{% if page.extra.redirect %}
|
||||
<meta http-equiv="refresh" content="0;URL='{{page.extra.redirect}}'"/>
|
||||
{% endif %}
|
||||
{% if page.extra.katex %}{{macros::katex()}}{% endif %}
|
||||
{% endblock head %}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,10 @@
|
|||
<section class="article-list">
|
||||
{% for page in section.pages %}
|
||||
<article>
|
||||
<h2 class="article-list_title"><a href="{{page.permalink|safe}}">{{page.title|safe}}</a></h2>
|
||||
<h2 class="article-list_title">
|
||||
{% if page.extra.redirect %}🔗{% endif %}
|
||||
<a href="{% if page.extra.redirect %}{{page.extra.redirect|safe}}{% else %}{{page.permalink|safe}}{% endif %}">{{page.title|safe}}</a>
|
||||
</h2>
|
||||
<small>{{page.date}}</small>
|
||||
<p>{{page.description|safe}}</p>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue