Rename blog* to article* (breaking change!)
Since these styles and templates can be used not only for blogs but for anything, more correct naming makes sense, at cost of a breaking change...
This commit is contained in:
@ -2,6 +2,6 @@
|
|||||||
title = "Writings of Duck's Feet"
|
title = "Writings of Duck's Feet"
|
||||||
description = "Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo"
|
description = "Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo"
|
||||||
sort_by = "date"
|
sort_by = "date"
|
||||||
template = "blog_list.html"
|
template = "article_list.html"
|
||||||
page_template = "blog.html"
|
page_template = "article.html"
|
||||||
+++
|
+++
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
+++
|
+++
|
||||||
template = "blog.html"
|
template = "article.html"
|
||||||
title = "ActivityPub/Fediverse comments demo"
|
title = "ActivityPub/Fediverse comments demo"
|
||||||
[extra.comments]
|
[extra.comments]
|
||||||
host = "toot.community"
|
host = "toot.community"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
+++
|
+++
|
||||||
template = "blog.html"
|
template = "article.html"
|
||||||
title = "Demo Page"
|
title = "Demo Page"
|
||||||
[extra]
|
[extra]
|
||||||
archive = "This page is, in fact, not archived, meaning it will receive content updates."
|
archive = "This page is, in fact, not archived, meaning it will receive content updates."
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.blog-list {
|
#article-list {
|
||||||
article {
|
article {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
@ -9,7 +9,7 @@
|
|||||||
@use "variables";
|
@use "variables";
|
||||||
@use "main";
|
@use "main";
|
||||||
|
|
||||||
@use "blog-list";
|
@use "article-list";
|
||||||
@use "buttons";
|
@use "buttons";
|
||||||
@use "comments";
|
@use "comments";
|
||||||
@use "crt";
|
@use "crt";
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
From newest to oldest ↓
|
From newest to oldest ↓
|
||||||
</small>
|
</small>
|
||||||
|
|
||||||
<div class="blog-list">
|
<div id="article-list">
|
||||||
{% for page in section.pages %}
|
{% for page in section.pages %}
|
||||||
<article {% if page.draft %}class="draft"{% endif %}>
|
<article {% if page.draft %}class="draft"{% endif %}>
|
||||||
<h3><a class="link-page" href="{{ page.permalink | safe }}">{{ page.title }}</a></h3>
|
<h3><a class="link-page" href="{{ page.permalink | safe }}">{{ page.title }}</a></h3>
|
Reference in New Issue
Block a user