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 -%}
|
||||
{%- endif -%}
|
||||
<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 -%}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
|
||||
@ -3,12 +3,12 @@ layout: default
|
||||
title: Long pages
|
||||
menu: ['global']
|
||||
---
|
||||
{% if site.data.wiki_pages %}
|
||||
{%- assign long_pages = site.data.wiki_pages | sort: 'bytes' | reverse -%}
|
||||
{% if site.wiki %}
|
||||
{%- assign long_pages = site.wiki | sort: 'bytes' | reverse -%}
|
||||
<ol>
|
||||
{%- for page in long_pages limit:50 -%}
|
||||
<li>
|
||||
<a href="{{ page.url }}">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
||||
<a href="{{ page.url }}">{{ page.title }}</a>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ol>
|
||||
|
||||
@ -3,8 +3,8 @@ layout: default
|
||||
title: Recent changes
|
||||
menu: ['global']
|
||||
---
|
||||
{% if site.data.wiki_pages %}
|
||||
{%- assign recent_changes = site.data.wiki_pages | where_exp: 'page', 'page.modified' | sort: 'modified' | reverse -%}
|
||||
{% if site.wiki %}
|
||||
{%- assign recent_changes = site.wiki | where_exp: 'page', 'page.modified' | sort: 'modified' | reverse -%}
|
||||
<ul>
|
||||
{%- for page in recent_changes limit:20 -%}
|
||||
<li>
|
||||
|
||||
@ -3,13 +3,13 @@ layout: default
|
||||
title: Short pages
|
||||
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>
|
||||
{%- for page in long_pages limit:50 -%}
|
||||
<li>
|
||||
<a href="{{ page.url }}">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
||||
<a href="{{ page.url }}">{{ page.title }}</a>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</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
|
||||
title: Main
|
||||
modified: 2024-02-22
|
||||
revisions:
|
||||
- author: Cuu
|
||||
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