mirror of
https://forge.fsky.io/wl/pages.git
synced 2025-04-18 16:33:41 -05:00
15 lines
555 B
HTML
15 lines
555 B
HTML
{% extends "index.html" %}
|
|
|
|
{% block title %}
|
|
<title>{{ config.title }} - {{ page.title }}</title>
|
|
{% endblock title %}
|
|
|
|
{% block content %}
|
|
<div class="post">
|
|
<h1 class="post-title">{{ page.title }}</h1>
|
|
<h2 class="post-date">{{ page.date | date(format="%Y-%m-%d") }}</h2>
|
|
<!-- if Zola just generated compliant XHTML on its own that would be great, but looks like this will have to do -->
|
|
{{ page.content | replace(from="%5B", to="[") | replace(from="%5D", to="]") | replace(from=' data-lang="xhtml"', to="") | safe }}
|
|
</div>
|
|
|
|
{% endblock content %}
|