Fix #1 : Better CSS

This commit is contained in:
Alexis Hassler
2019-05-04 18:37:29 +02:00
parent 460d7e3ef4
commit be7a29f8ae
17 changed files with 310 additions and 669 deletions

View File

@@ -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 -%}

View File

@@ -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 -%}