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"
description = "Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo"
sort_by = "date"
template = "blog_list.html"
page_template = "blog.html"
template = "article_list.html"
page_template = "article.html"
+++

View File

@ -1,5 +1,5 @@
+++
template = "blog.html"
template = "article.html"
title = "ActivityPub/Fediverse comments demo"
[extra.comments]
host = "toot.community"

View File

@ -1,5 +1,5 @@
+++
template = "blog.html"
template = "article.html"
title = "Demo Page"
[extra]
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 {
position: relative;

View File

@ -9,7 +9,7 @@
@use "variables";
@use "main";
@use "blog-list";
@use "article-list";
@use "buttons";
@use "comments";
@use "crt";

View File

@ -11,7 +11,7 @@
From newest to oldest ↓
</small>
<div class="blog-list">
<div id="article-list">
{% for page in section.pages %}
<article {% if page.draft %}class="draft"{% endif %}>
<h3><a class="link-page" href="{{ page.permalink | safe }}">{{ page.title }}</a></h3>