blog: Zola site, nginx image, Forgejo deploy pipeline
This commit is contained in:
commit
a4b677f898
23 changed files with 561 additions and 0 deletions
19
templates/page.html
Normal file
19
templates/page.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ page.title }} · {{ config.title }}{% endblock title %}
|
||||
{% block og_type %}article{% endblock og_type %}
|
||||
{% block og_title %}{{ page.title }}{% endblock og_title %}
|
||||
{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %}
|
||||
{% block extra_head %}
|
||||
<meta property="article:published_time" content="{{ page.date }}" />
|
||||
{% endblock extra_head %}
|
||||
|
||||
{% block content %}
|
||||
<article>
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p class="post-meta">
|
||||
<time datetime="{{ page.date }}">{{ page.date | date(format="%Y-%m-%d") }}</time>
|
||||
</p>
|
||||
{{ page.content | safe }}
|
||||
</article>
|
||||
{% endblock content %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue