feat: Add macros
- New footer macros - New header macro - Use macros in partials
This commit is contained in:
parent
7f84235f08
commit
07f51e80a2
6 changed files with 56 additions and 23 deletions
|
|
@ -7,6 +7,7 @@ tags:
|
|||
{% set pageId = page.fileSlug %}
|
||||
|
||||
{% extends "demo/_main.njk" %}
|
||||
{% import "hippie/macros/_footer.njk" as footer %}
|
||||
|
||||
{% block title %}Komponenten{% endblock %}
|
||||
{% block head %}
|
||||
|
|
@ -57,6 +58,10 @@ tags:
|
|||
<pre class="pre_code"><code>section.sec_main_status</code></pre>
|
||||
<h2><h3></h2>
|
||||
<h2><h4></h2>
|
||||
<h2><footer></h2>
|
||||
<div style="position:relative;height:256px;background-color:#b7e0f0;">
|
||||
{{ footer.pinned() }}
|
||||
</div>
|
||||
</article>
|
||||
<article>
|
||||
<h1 id="grouping">Gruppierung</h1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue