Rename content list template and CSS class to content

This commit is contained in:
Helen Chong 2024-04-15 12:00:13 +08:00
parent 74ffb66923
commit 1ed6a079b3
3 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ metadata:
{% include "toc.njk" %}
{% endif %}
<div class="content-list">
<div class="content">
{{ content | safe }}
</div>
</div>

View File

@ -261,7 +261,7 @@ main {
.main__header,
.article,
.content-list,
.content,
.left-sidebar,
.right-sidebar {
padding: 1.5rem clamp(1rem, 5%, 3rem);
@ -272,7 +272,7 @@ main {
}
.article,
.content-list,
.content,
.left-sidebar,
.right-sidebar {
background-color: var(--clr-content-bg);
@ -305,7 +305,7 @@ main {
}
.article,
.content-list {
.content {
grid-area: article;
}

View File

@ -1,5 +1,5 @@
---
layout: main/content-list
layout: main/content
title: Articles
metadata:
desc: List of articles published on my website.