mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2025-12-12 08:48:51 +01:00
fix
This commit is contained in:
parent
2ea5541ec5
commit
f12ee2050a
@ -11,7 +11,7 @@ menu: ['global']
|
|||||||
{%- assign page_name = page_name | append: " - " | append: page.title -%}
|
{%- assign page_name = page_name | append: " - " | append: page.title -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ page.url }}">{{ page_name }}</a> [{{ page.bytes }} bytes]
|
<a href="{{ page.url }}">{{ page_name }}</a>
|
||||||
{%- if page.author_full -%} (by <a href="{{ page.author_full.url }}">{{ page.author_full.name }}</a>) {%- endif -%}
|
{%- if page.author_full -%} (by <a href="{{ page.author_full.url }}">{{ page.author_full.name }}</a>) {%- endif -%}
|
||||||
</li>
|
</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
@ -3,12 +3,12 @@ layout: default
|
|||||||
title: Long pages
|
title: Long pages
|
||||||
menu: ['global']
|
menu: ['global']
|
||||||
---
|
---
|
||||||
{% if site.data.wiki_pages %}
|
{% if site.wiki %}
|
||||||
{%- assign long_pages = site.data.wiki_pages | sort: 'bytes' | reverse -%}
|
{%- assign long_pages = site.wiki | sort: 'bytes' | reverse -%}
|
||||||
<ol>
|
<ol>
|
||||||
{%- for page in long_pages limit:50 -%}
|
{%- for page in long_pages limit:50 -%}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ page.url }}">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
<a href="{{ page.url }}">{{ page.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ol>
|
</ol>
|
||||||
|
|||||||
@ -3,8 +3,8 @@ layout: default
|
|||||||
title: Recent changes
|
title: Recent changes
|
||||||
menu: ['global']
|
menu: ['global']
|
||||||
---
|
---
|
||||||
{% if site.data.wiki_pages %}
|
{% if site.wiki %}
|
||||||
{%- assign recent_changes = site.data.wiki_pages | where_exp: 'page', 'page.modified' | sort: 'modified' | reverse -%}
|
{%- assign recent_changes = site.wiki | where_exp: 'page', 'page.modified' | sort: 'modified' | reverse -%}
|
||||||
<ul>
|
<ul>
|
||||||
{%- for page in recent_changes limit:20 -%}
|
{%- for page in recent_changes limit:20 -%}
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@ -3,13 +3,13 @@ layout: default
|
|||||||
title: Short pages
|
title: Short pages
|
||||||
menu: ['global']
|
menu: ['global']
|
||||||
---
|
---
|
||||||
{% if site.data.wiki_pages %}
|
{% if site.wiki %}
|
||||||
|
|
||||||
{%- assign long_pages = site.data.wiki_pages | sort: 'bytes' -%}
|
{%- assign long_pages = site.wiki | sort: 'bytes' -%}
|
||||||
<ol>
|
<ol>
|
||||||
{%- for page in long_pages limit:50 -%}
|
{%- for page in long_pages limit:50 -%}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ page.url }}">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
<a href="{{ page.url }}">{{ page.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ol>
|
</ol>
|
||||||
|
|||||||
@ -1,17 +0,0 @@
|
|||||||
---
|
|
||||||
layout: wiki
|
|
||||||
title: Old Page
|
|
||||||
tags: Example
|
|
||||||
toc: false
|
|
||||||
author: Alexis
|
|
||||||
created: 2009-01-01
|
|
||||||
modified: 2009-01-02
|
|
||||||
revisions:
|
|
||||||
- author: Alexis
|
|
||||||
date: 2009-01-01
|
|
||||||
comment: First version
|
|
||||||
---
|
|
||||||
<h2>Old</h2>
|
|
||||||
<p>This is an old page from an ancient Wiki.</p>
|
|
||||||
<h2>Migrated</h2>
|
|
||||||
<p>It has been exported as an HTML file, with a frontmatter.</p>
|
|
||||||
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: simple
|
layout: simple
|
||||||
title: Main
|
title: Main
|
||||||
|
modified: 2024-02-22
|
||||||
revisions:
|
revisions:
|
||||||
- author: Cuu
|
- author: Cuu
|
||||||
date: 2024-02-22
|
date: 2024-02-22
|
||||||
|
|||||||
20
_wiki/New.md
20
_wiki/New.md
@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
layout: wiki
|
|
||||||
title: New Page
|
|
||||||
tags: Example
|
|
||||||
toc: false
|
|
||||||
author: Alexis
|
|
||||||
created: 2009-04-12
|
|
||||||
modified: 2009-05-04
|
|
||||||
revisions:
|
|
||||||
- author: Alexis
|
|
||||||
date: 2009-04-12
|
|
||||||
comment: First version
|
|
||||||
---
|
|
||||||
## New
|
|
||||||
|
|
||||||
This is an new page designed for Jekyll.
|
|
||||||
|
|
||||||
## Markdown
|
|
||||||
|
|
||||||
It has been written in Markdown.
|
|
||||||
Loading…
x
Reference in New Issue
Block a user