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" %}
|
{% include "toc.njk" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="content-list">
|
<div class="content">
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -261,7 +261,7 @@ main {
|
||||||
|
|
||||||
.main__header,
|
.main__header,
|
||||||
.article,
|
.article,
|
||||||
.content-list,
|
.content,
|
||||||
.left-sidebar,
|
.left-sidebar,
|
||||||
.right-sidebar {
|
.right-sidebar {
|
||||||
padding: 1.5rem clamp(1rem, 5%, 3rem);
|
padding: 1.5rem clamp(1rem, 5%, 3rem);
|
||||||
|
@ -272,7 +272,7 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
.article,
|
.article,
|
||||||
.content-list,
|
.content,
|
||||||
.left-sidebar,
|
.left-sidebar,
|
||||||
.right-sidebar {
|
.right-sidebar {
|
||||||
background-color: var(--clr-content-bg);
|
background-color: var(--clr-content-bg);
|
||||||
|
@ -305,7 +305,7 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
.article,
|
.article,
|
||||||
.content-list {
|
.content {
|
||||||
grid-area: article;
|
grid-area: article;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: main/content-list
|
layout: main/content
|
||||||
title: Articles
|
title: Articles
|
||||||
metadata:
|
metadata:
|
||||||
desc: List of articles published on my website.
|
desc: List of articles published on my website.
|
||||||
|
|
Loading…
Reference in New Issue