Skip to content
Snippets Groups Projects
Verified Commit 4c49afd1 authored by Jake's avatar Jake 💬
Browse files

Simplified Page Footer

closes #49
parent 962afa28
No related branches found
No related tags found
No related merge requests found
Pipeline #317744 passed
......@@ -30,7 +30,7 @@
{% block page_footer %}
<footer class="page-footer content">
<div>
{#- <div>
{{ t[l].page.authors_prefix }}
<ul>
{% for author in page.authors %}
......@@ -42,7 +42,7 @@
{% endfor %}
</ul>
{{ t[l].page.authors_suffix }}
</div>
</div>-#}
<div>
{{ t[l].page.published_prefix }}
......@@ -67,19 +67,28 @@
<div>
{{ t[l].page.tags_prefix }}
<ul>
{% for tag in page.tags %}
{{ linkr.render_tag(tag,l) }}
{% endfor %}
{#-<ul>
{% for tag in page.tags %}
<li>
{{ linkr.render_tag(tag,l) }}
</li>
{% endfor %}
</ul>
</ul>-#}
{{ t[l].page.tags_suffix }}
</div>
<div>
{{ t[l].page.languages_prefix }}
<ul class="languages">
{%- for tlang in t['supported'] -%}
{%- if loop.index != 1 -%}, {% endif -%}
{%- call(p) get.page_by_slug(page.slug, tlang) -%}
{{ linkr.render(p.link,t[tlang]['langname'],l) }}
{%- endcall -%}
{% endfor %}
{#-<ul class="languages">
{%- for tlang in t['supported'] -%}
<li>
{%- call(p) get.page_by_slug(page.slug, tlang) -%}
......@@ -87,7 +96,7 @@
{%- endcall -%}
</li>
{%- endfor -%}
</ul>
</ul>-#}
{{ t[l].page.languages_suffix }}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment