Adds content to test and fix typo
This commit is contained in:
parent
f59f6bf8df
commit
6244379cb7
3 changed files with 12 additions and 1 deletions
5
content/test-section/_index.md
Normal file
5
content/test-section/_index.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
title = "Test section"
|
||||
|
||||
description = "Test"
|
||||
+++
|
6
content/test-section/sub-section/_index.md
Normal file
6
content/test-section/sub-section/_index.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "Sub Section"
|
||||
|
||||
[extra]
|
||||
zulma_title = "Hero title"
|
||||
+++
|
|
@ -10,7 +10,7 @@
|
|||
<!-- END NAV -->
|
||||
<main>
|
||||
<!-- START HERO TITLE -->
|
||||
{% if section.section.extra.zulma_title %}
|
||||
{% if section.extra.zulma_title %}
|
||||
{{ index_macros::hero(title=section.extra.zulma_title, primary=true) }}
|
||||
{% endif %}
|
||||
<!-- END HERO TITLE !-->
|
||||
|
|
Loading…
Add table
Reference in a new issue