Compare commits

..

No commits in common. "3f8d581e3102fcfbb65e164ce6f28ce32d900c06" and "8d053a29d8051b578cf242a7cea3ad96c9a498ca" have entirely different histories.

3 changed files with 3 additions and 27 deletions

View File

@ -85,12 +85,6 @@ module.exports = function(eleventyConfig) {
return authors ? "par " + (authors || []).join(" & ") : "";
});
eleventyConfig.addFilter("noHome", elements => {
return elements.filter(e => {
return e.url !== '/';
});
})
// Customize Markdown library and settings:
eleventyConfig.amendLibrary("md", mdLib => {
mdLib.use(markdownItAnchor, {

View File

@ -1,6 +1,6 @@
<div class="title">Autres liens</div>
<ul class="links">
{%- for entry in collections.all | eleventyNavigation | noHome %}
{%- for entry in collections.all | eleventyNavigation %}
<li><a
href="{{ entry.url }}">{{ entry.title }}</a></li>
{%- endfor %}

View File

@ -1,9 +1,7 @@
nav,
header,
.right-side,
.main-header,
.main-footer,
.post-nav,
.post-list-footer {
.post-nav {
display: none;
}
@ -34,19 +32,3 @@ h3 {
h4 {
font-size: 14px;
}
.main-content {
margin: 0;
width: 100%;
}
.main-content .sub-title {
margin: 0.5rem 0 1rem 0;
}
.post-list {
display: block;
gap: 0;
}
.post-list-item {
max-width: none;
box-shadow: none;
padding: 0;
}