mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-19 02:12:40 +01:00
Fix #1 : Better CSS
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% include /functions/wiki-pages.html %}
|
||||
{% assign redirect = page.redirect | default: site.data.i18n[site.lang].home %}
|
||||
{% for other_page in wiki_pages %}
|
||||
{% if other_page.slug == redirect %}
|
||||
{% assign redirect_page = other_page %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{%- include /functions/wiki-pages.html -%}
|
||||
{%- assign redirect = page.redirect | liquify -%}
|
||||
{%- for other_page in wiki_pages -%}
|
||||
{%- if other_page.slug == redirect -%}
|
||||
{%- assign redirect_page = other_page -%}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% assign wiki_pages = '' | split: '' %}
|
||||
{% for collection in site.collections %}
|
||||
{% assign prefix = collection.label | slice: 0, 4 %}
|
||||
{% if prefix == 'wiki' %}
|
||||
{% assign wiki_pages = wiki_pages | concat: collection.docs %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{%- assign wiki_pages = '' | split: '' -%}
|
||||
{%- for collection in site.collections -%}
|
||||
{%- assign prefix = collection.label | slice: 0, 4 -%}
|
||||
{%- if prefix == 'wiki' -%}
|
||||
{%- assign wiki_pages = wiki_pages | concat: collection.docs -%}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
Reference in New Issue
Block a user