mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-19 02:12:40 +01:00
Refatoring
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
</a>
|
||||
</div>
|
||||
<div id="footer-center">
|
||||
{{ site.data.i18n[site.lang].label.modified }}: {{ page.modified }}<br/>
|
||||
{{ site.data.i18n[site.lang].label.created }}: {{ page.created }}
|
||||
{%- if page.modified -%} {{ site.data.i18n[site.lang].label.modified }}: {{ page.modified }} {%- endif -%}<br/>
|
||||
{%- if page.created -%} {{ site.data.i18n[site.lang].label.created }}: {{ page.created }} {%- endif -%}
|
||||
</div>
|
||||
<div id="footer-right">
|
||||
<a href="https://jekyllrb.com/" title="Jekyll" id="poweredby">
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
{%- if include.page -%}
|
||||
{%- assign source_page = include.source_page -%}
|
||||
{%- else -%}
|
||||
{%- assign source_page = page -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- assign redirect = source_page.redirect | liquify -%}
|
||||
{%- for other_page in site.data.wiki_pages -%}
|
||||
{%- if other_page.id == redirect -%}
|
||||
{%- assign redirect_page = other_page -%}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
Reference in New Issue
Block a user