mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 14:31:35 +01:00
feat: add inject support
Co-authored-by: st1020 <me@st1020.com>
This commit is contained in:
parent
fe3b3a6e14
commit
a6cf030459
7 changed files with 48 additions and 10 deletions
|
|
@ -1,6 +1,9 @@
|
|||
{% extends "index.html" %}<!---->
|
||||
{% block main %}
|
||||
<article>
|
||||
<!-- Page Start inject -->
|
||||
{% include "injects/page_start.html" ignore missing %}
|
||||
|
||||
<header class="mb-16">
|
||||
<h1 class="!my-0 pb-2.5">{{ page.title }}</h1>
|
||||
{% include "partials/page_info.html" %}
|
||||
|
|
@ -34,5 +37,8 @@
|
|||
{% if page.extra.comment | default(value=config.extra.comment) %}<!---->
|
||||
{% include "partials/comment.html" %}<!---->
|
||||
{% endif %}
|
||||
|
||||
<!-- Page End inject -->
|
||||
{% include "injects/page_end.html" ignore missing %}
|
||||
</article>
|
||||
{% endblock main %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue