Simplify the section_config
This commit is contained in:
parent
fb69c5ae2a
commit
d11c60d0ec
|
@ -1,4 +1,4 @@
|
|||
{% include section_config section=include.section lang=include.lang %}
|
||||
{% include section_config %}
|
||||
|
||||
<h1 id="ukusa" class="anchor"><a href="#ukusa"><i class="fas fa-link anchor-icon"></i></a> {{ lang.title }} </h1>
|
||||
<img src="/assets/img/layout/UKUSA.png" class="img-fluid float-right" alt="UKUSA Agreement" style="margin-left:10px;">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% include section_config section=include.section lang=include.lang %}
|
||||
{% include section_config %}
|
||||
|
||||
<h1 id="kdl" class="anchor"><a href="#kdl"><i class="fas fa-link anchor-icon"></i></a> {{ lang.title }}</h1>
|
||||
### {{ lang.subheading }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% include section_config section=include.section lang=include.lang %}
|
||||
{% include section_config %}
|
||||
|
||||
<div class="page-header">
|
||||
<h1>{{ lang.title }}</h1>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% include section_config section=include.section lang=include.lang %}
|
||||
{% include section_config %}
|
||||
|
||||
<h3 id="usa" class="anchor">{{ lang.title }}</h3>
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
{% assign lang = site.data.lang.[include.section].[include.lang] %}
|
||||
{% assign general = site.data.lang.general.[include.lang] %}
|
||||
{% assign lang = site.data.lang.[include.section].[page.lang] %}
|
||||
{% assign general = site.data.lang.general.[page.lang] %}
|
Reference in New Issue