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"
|
||||
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"
|
||||
+++
|
||||
|
@ -1,5 +1,5 @@
|
||||
+++
|
||||
template = "blog.html"
|
||||
template = "article.html"
|
||||
title = "ActivityPub/Fediverse comments demo"
|
||||
[extra.comments]
|
||||
host = "toot.community"
|
||||
|
@ -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."
|
||||
|
@ -1,4 +1,4 @@
|
||||
.blog-list {
|
||||
#article-list {
|
||||
article {
|
||||
position: relative;
|
||||
|
@ -9,7 +9,7 @@
|
||||
@use "variables";
|
||||
@use "main";
|
||||
|
||||
@use "blog-list";
|
||||
@use "article-list";
|
||||
@use "buttons";
|
||||
@use "comments";
|
||||
@use "crt";
|
||||
|
@ -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>
|
Reference in New Issue
Block a user