fix: remove useless layout files
This commit is contained in:
parent
334a60024f
commit
d028cf1e3d
6 changed files with 0 additions and 156 deletions
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
layout: layouts/parent.njk
|
||||
---
|
||||
<div id="core">
|
||||
<main id="skip">
|
||||
<div>
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<aside id="more-info">
|
||||
{%- if parent -%}
|
||||
<div class="parent">
|
||||
{%- for post in collections.all -%}
|
||||
{%- if post.data.title == parent -%}<a href="{{ post.url }}"> ← {{ post.data.title }}</a>{%- endif -%}
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
{%- endif -%}
|
||||
|
||||
<div class="card">
|
||||
<h2>Sommaire</h2>
|
||||
{{ content | toc | safe }}
|
||||
</div>
|
||||
|
||||
{%- for tag in models -%}
|
||||
<div class="card">
|
||||
<h2>{{ tag }}</h2>
|
||||
<ul>
|
||||
{%- for post in collections[tag] | sort(false, true, "data.order") -%}
|
||||
<li><a href="{{ post.url }}">{{ post.data.title }}</a></li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</div>
|
||||
{%- endfor -%}
|
||||
</aside>
|
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
layout: layouts/parent.njk
|
||||
---
|
||||
<div id="core">
|
||||
<main id="skip">
|
||||
<div>
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<aside id="more-info">
|
||||
{%- if parent -%}
|
||||
<div class="parent">
|
||||
{%- for post in collections.all -%}
|
||||
{%- if post.data.title == parent -%}<a href="{{ post.url }}">{{ post.data.title }}</a>{%- endif -%}
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
{%- endif -%}
|
||||
|
||||
<div class="card">
|
||||
<h2>Sommaire</h2>
|
||||
{{ content | toc | safe }}
|
||||
</div>
|
||||
|
||||
{%- for tag in models -%}
|
||||
<div class="card">
|
||||
<h2>{{ tag }}</h2>
|
||||
<ul>
|
||||
{%- for post in collections[tag]-%}
|
||||
<li><a href="{{ post.url }}">{{ post.data.title }}</a></li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</div>
|
||||
{%- endfor -%}
|
||||
</aside>
|
|
@ -1,21 +0,0 @@
|
|||
<!doctype html>
|
||||
|
||||
<html lang="{{ metadata.language }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>Embarcadère</title>
|
||||
<meta name="description" content="Une page d'accueil simple en HTML5, affichant quelques favoris">
|
||||
<meta name="author" content="Kazhnuz">
|
||||
|
||||
<meta property="og:title" content="Embarcadère">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="https://kazhnuz.space">
|
||||
<meta property="og:description" content="Une page d'accueil simple en HTML5, affichant quelques favoris">
|
||||
|
||||
<link rel="stylesheet" href="./styles.css">
|
||||
<link rel="stylesheet" href="./dep/fork-awesome/css/fork-awesome.min.css">
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
layout: layouts/parent.njk
|
||||
---
|
||||
<main id="skip">
|
||||
<div>
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<aside id="more-info">
|
||||
<div class="card">
|
||||
<h2>Sommaire</h2>
|
||||
{{ content | toc | safe }}
|
||||
</div>
|
||||
|
||||
{%- for tag in models -%}
|
||||
<div class="card">
|
||||
<h2>{{ tag }}</h2>
|
||||
<ul>
|
||||
{%- for post in collections[tag] -%}
|
||||
<li><a href="#">{{ post.data.title }}</a></li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</div>
|
||||
{%- endfor -%}
|
||||
</aside>
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
layout: layouts/parent.njk
|
||||
---
|
||||
{# Only include the syntax highlighter CSS on blog posts #}
|
||||
{%- css %}{% include "node_modules/prismjs/themes/prism-okaidia.css" %}{% endcss %}
|
||||
{%- css %}{% include "public/css/prism-diff.css" %}{%- endcss %}
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
<ul class="post-metadata">
|
||||
<li><time datetime="{{ page.date | htmlDateString }}">{{ page.date | readableDate }}</time></li>
|
||||
{%- for tag in tags | filterTagList %}
|
||||
{%- set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
|
||||
<li><a href="{{ tagUrl }}" class="post-tag">{{ tag }}</a>{%- if not loop.last %}, {% endif %}</li>
|
||||
{%- endfor %}
|
||||
</ul>
|
||||
|
||||
{{ content | safe }}
|
||||
|
||||
{%- if collections.posts %}
|
||||
{%- set previousPost = collections.posts | getPreviousCollectionItem %}
|
||||
{%- set nextPost = collections.posts | getNextCollectionItem %}
|
||||
{%- if nextPost or previousPost %}
|
||||
<ul class="links-nextprev">
|
||||
{%- if previousPost %}<li>Previous: <a href="{{ previousPost.url }}">{{ previousPost.data.title }}</a></li>{% endif %}
|
||||
{%- if nextPost %}<li>Next: <a href="{{ nextPost.url }}">{{ nextPost.data.title }}</a></li>{% endif %}
|
||||
</ul>
|
||||
{%- endif %}
|
||||
{%- endif %}
|
|
@ -1,9 +0,0 @@
|
|||
{%- css %}.postlist { counter-reset: start-from {{ (postslistCounter or postslist.length) + 1 }} }{% endcss %}
|
||||
<ol reversed class="postlist">
|
||||
{% for post in postslist | reverse %}
|
||||
<li class="postlist-item{% if post.url == url %} postlist-item-active{% endif %}">
|
||||
<a href="{{ post.url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>
|
||||
<time class="postlist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate("LLLL yyyy") }}</time>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
Loading…
Reference in a new issue