mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-25 21:22:45 +01:00
Remove html suffixes
This commit is contained in:
@@ -11,8 +11,8 @@ menu: ['global']
|
||||
{%- assign page_name = page_name | append: " - " | append: page.title -%}
|
||||
{%- endif -%}
|
||||
<li>
|
||||
<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 -%}
|
||||
<a href="{{ page.url }}">{{ page_name }}</a> [{{ page.bytes }} bytes]
|
||||
{%- if page.author_full -%} (by <a href="{{ page.author_full.url }}">{{ page.author_full.name }}</a>) {%- endif -%}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
|
||||
@@ -13,6 +13,6 @@ menu: ['global']
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
|
||||
<li><a href="/{{ site.data.i18n[site.lang].prefix.tag }}{{ tag }}.html">{{ tag }}</a> ({{counter}} pages)</li>
|
||||
<li><a href="/{{ site.data.i18n[site.lang].prefix.tag }}{{ tag }}">{{ tag }}</a> ({{counter}} pages)</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
|
||||
@@ -7,7 +7,7 @@ menu: ['global']
|
||||
{%- for source_page in site.data.wiki_redirects -%}
|
||||
<li>
|
||||
{%- assign redirect_page = source_page.redirect_target -%}
|
||||
<a href="{{ source_page.url }}.html">{{ source_page.id }}</a> → <a href="{{ redirect_page.url }}.html">{{ redirect_page.title }}</a>
|
||||
<a href="{{ source_page.url }}">{{ source_page.id }}</a> → <a href="{{ redirect_page.url }}">{{ redirect_page.title }}</a>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
|
||||
@@ -6,7 +6,7 @@ menu: ['global']
|
||||
<ul>
|
||||
{%- for author in site.data.authors -%}
|
||||
<li>
|
||||
<a href="{{ author.url }}.html">{{ author.name }}</a> (<a href="{{ author.contributions_url }}.html">{{author.contributions_count}} pages</a>)
|
||||
<a href="{{ author.url }}">{{ author.name }}</a> (<a href="{{ author.contributions_url }}">{{author.contributions_count}} pages</a>)
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
|
||||
@@ -7,7 +7,7 @@ menu: ['global']
|
||||
<ol>
|
||||
{%- for page in long_pages limit:50 -%}
|
||||
<li>
|
||||
<a href="{{ page.url }}.html">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
||||
<a href="{{ page.url }}">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ol>
|
||||
|
||||
@@ -7,7 +7,7 @@ menu: ['global']
|
||||
<ul>
|
||||
{%- for page in recent_changes limit:20 -%}
|
||||
<li>
|
||||
<a href="{{ page.url }}.html">{{ page.title }}</a>
|
||||
<a href="{{ page.url }}">{{ page.title }}</a>
|
||||
- {{ page.modified }}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
|
||||
@@ -7,7 +7,7 @@ menu: ['global']
|
||||
<ol>
|
||||
{%- for page in long_pages limit:50 -%}
|
||||
<li>
|
||||
<a href="{{ page.url }}.html">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
||||
<a href="{{ page.url }}">{{ page.title }}</a> [{{ page.bytes }} bytes]
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ol>
|
||||
|
||||
@@ -7,14 +7,15 @@ layout: null
|
||||
<title>{{ site.title }}</title>
|
||||
<description>{{ site.description }}</description>
|
||||
<link>{{ site.url }}</link>
|
||||
{% for post in site.data.wiki_pages reversed%}
|
||||
{% assign wiki_pages = site.data.wiki_pages | sort: 'created' %}
|
||||
{% for post in wiki_pages reversed%}
|
||||
{% unless post.draft %}
|
||||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
<description>{{ post.description | xml_escape | truncate: 300 }}</description>
|
||||
<description>{{ post.excerpt | strip_html }}</description>
|
||||
<pubDate>{{ post.created | date_to_xmlschema }}</pubDate>
|
||||
<link>{{ post.url | prepend: site.url | append: '.html'}}</link>
|
||||
<guid isPermaLink="true">{{ post.url | prepend: site.url | append: '.html' }}</guid>
|
||||
<link>{{ post.url | prepend: site.url}}</link>
|
||||
<guid isPermaLink="true">{{ post.url | prepend: site.url }}</guid>
|
||||
</item>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
|
||||
@@ -4,7 +4,7 @@ title: Tags
|
||||
---
|
||||
<ul>
|
||||
{% for tag in site.data.wiki_tags %}
|
||||
<li id="n-tag-{{ tag }}"><a href="/{{ site.data.i18n[site.lang].prefix.tag }}{{ tag }}.html">{{ tag }}</a></li>
|
||||
<li id="n-tag-{{ tag }}"><a href="/{{ site.data.i18n[site.lang].prefix.tag }}{{ tag }}">{{ tag }}</a></li>
|
||||
<ul>
|
||||
{% for other_page in site.data.wiki_pages %}
|
||||
{% if other_page.tags contains tag %}
|
||||
|
||||
Reference in New Issue
Block a user