Section id can be set from a page header
This commit is contained in:
parent
23e14d0718
commit
3d98d77ef9
|
@ -1,5 +1,11 @@
|
|||
{% block content %}
|
||||
<section id="{{ page.slug }}">
|
||||
|
||||
{% if page.header.section_id %}
|
||||
<section id="{{ page.header.section_id }}">
|
||||
{% else %}
|
||||
<section id="{{ page.slug }}">
|
||||
{% endif %}
|
||||
|
||||
<div class="fullbar" style="background-color:{{ page.header.bgcolor }}; padding:{{ page.header.padding }};">
|
||||
<div class="fullbar-content" style="color:{{ page.header.fontcolor }}; text-align:{{ page.header.text_align }};">
|
||||
{{ page.content }}
|
||||
|
|
Loading…
Reference in New Issue