Make articles page a markdown file
This commit is contained in:
parent
d5aa4cae35
commit
174ba4dbf0
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
layout: main/content
|
||||
title: Articles
|
||||
metadata:
|
||||
desc: List of articles published on my website.
|
||||
type: article
|
||||
date: 2023-01-04
|
||||
templateEngineOverride: njk, md
|
||||
toc: true
|
||||
---
|
||||
|
||||
## My Articles
|
||||
Articles I have written.
|
||||
<ul class="content-list">
|
||||
{%- for article in collections["my articles"] -%}
|
||||
<li>
|
||||
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
|
||||
<time>{{ article.date | niceDate }}</time>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
|
||||
## My Articles for Video Games with Their Own Pages
|
||||
<ul class="content-list">
|
||||
<li>My <cite>Cassette Beasts</cite> shrine <a href="/shrines/cassettebeasts/articles/">Articles</a> page</li>
|
||||
<li>My <cite>Star Wars: Knights of the Old Republic</cite> shrine <a href="/shrines/starwarskotor/articles/">Articles</a> page</li>
|
||||
</ul>
|
||||
|
||||
## Featured Articles
|
||||
Articles featuring other people's interview with me.
|
||||
<ul class="content-list">
|
||||
{%- for article in collections["featured articles"] -%}
|
||||
<li>
|
||||
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
|
||||
<time>{{ article.date | niceDate }}</time>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
|
@ -1,43 +0,0 @@
|
|||
---
|
||||
layout: main/content
|
||||
title: Articles
|
||||
metadata:
|
||||
desc: List of articles published on my website.
|
||||
type: article
|
||||
date: 2023-01-04
|
||||
contentIsDivided: true
|
||||
---
|
||||
|
||||
<section class="content__section">
|
||||
<h2>My Articles</h2>
|
||||
<p>Articles I have written.</p>
|
||||
<ul class="content-list">
|
||||
{% for article in collections["my articles"] %}
|
||||
<li>
|
||||
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
|
||||
<time>{{ article.date | niceDate }}</time>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="content__section">
|
||||
<h2>My Articles for Video Games with Their Own Pages</h2>
|
||||
<ul class="content-list">
|
||||
<li>My <cite>Cassette Beasts</cite> shrine <a href="/shrines/cassettebeasts/articles/">Articles</a> page</li>
|
||||
<li>My <cite>Star Wars: Knights of the Old Republic</cite> shrine <a href="/shrines/starwarskotor/articles/">Articles</a> page</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="content__section">
|
||||
<h2>Featured Articles</h2>
|
||||
<p>Articles featuring other people's interview with me.</p>
|
||||
<ul class="content-list">
|
||||
{% for article in collections["featured articles"] %}
|
||||
<li>
|
||||
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
|
||||
<time>{{ article.date | niceDate }}</time>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
Loading…
Reference in New Issue