diff options
| author | Jan Palma <honzik@janpalma.cz> | 2026-02-27 17:59:06 +0100 |
|---|---|---|
| committer | Jan Palma <honzik@janpalma.cz> | 2026-02-27 17:59:06 +0100 |
| commit | 1fc25997a7d4b3cf80dbc09a3f48afd031ba5d0e (patch) | |
| tree | 65a4894ed2a6849ab6d18ea0886b74c72035afe1 /_layouts/post.njk | |
| download | spelis-web-1fc25997a7d4b3cf80dbc09a3f48afd031ba5d0e.tar spelis-web-1fc25997a7d4b3cf80dbc09a3f48afd031ba5d0e.tar.gz spelis-web-1fc25997a7d4b3cf80dbc09a3f48afd031ba5d0e.tar.bz2 spelis-web-1fc25997a7d4b3cf80dbc09a3f48afd031ba5d0e.tar.lz spelis-web-1fc25997a7d4b3cf80dbc09a3f48afd031ba5d0e.tar.xz spelis-web-1fc25997a7d4b3cf80dbc09a3f48afd031ba5d0e.tar.zst spelis-web-1fc25997a7d4b3cf80dbc09a3f48afd031ba5d0e.zip | |
Init
Diffstat (limited to '_layouts/post.njk')
| -rw-r--r-- | _layouts/post.njk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/_layouts/post.njk b/_layouts/post.njk new file mode 100644 index 0000000..a36d28d --- /dev/null +++ b/_layouts/post.njk @@ -0,0 +1,15 @@ +{% extends "base.njk" %} + +{% block header %} +<h1>{{ title }}</h1> +{% endblock %} + +{% block content %} + <h1>{{ title }}</h1> + <div class="post-info"> + <small>{{ page.date | date }}</small> + </div> + <div> + {{ content | safe }} + </div> +{% endblock %}
\ No newline at end of file |
