Rename content list template and CSS class to content
This commit is contained in:
parent
74ffb66923
commit
1ed6a079b3
|
@ -16,7 +16,7 @@ metadata:
|
|||
{% include "toc.njk" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="content-list">
|
||||
<div class="content">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</div>
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
layout: main/content-list
|
||||
layout: main/content
|
||||
title: Articles
|
||||
metadata:
|
||||
desc: List of articles published on my website.
|
||||
|
|
Loading…
Reference in New Issue