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:
David Lapshin
2024-05-02 21:54:47 +03:00
parent 2ac15db91b
commit 05d44214be
7 changed files with 7 additions and 7 deletions

View File

@ -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"
+++ +++

View File

@ -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"

View File

@ -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."

View File

@ -1,4 +1,4 @@
.blog-list { #article-list {
article { article {
position: relative; position: relative;

View File

@ -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";

View File

@ -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>