mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-26 05:32:39 +01:00
Small fixes
This commit is contained in:
@@ -3,10 +3,15 @@ layout: default
|
||||
title: All pages
|
||||
menu: ['global']
|
||||
---
|
||||
<ul class="columns">
|
||||
{%- for page in site.data.wiki_pages -%}
|
||||
<ul>
|
||||
{%- assign sorted_page = site.data.wiki_pages | sort: "id" -%}
|
||||
{%- for page in sorted_page -%}
|
||||
{%- assign page_name = page.id | slice: 1, 50 -%}
|
||||
{%- if page_name != page.title -%}
|
||||
{%- assign page_name = page_name | append: " - " | append: page.title -%}
|
||||
{%- endif -%}
|
||||
<li>
|
||||
<a href="{{ page.url }}.html">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
||||
<a href="{{ page.url }}.html">{{ page_name }}</a> [{{ page.bytes }} bytes]
|
||||
{%- if page.author_full -%} (by <a href="{{ page.author_full.url }}.html">{{ page.author_full.name }}</a>) {%- endif -%}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
|
||||
Reference in New Issue
Block a user