From 6a9831904ba85d4d12098390d3b22802bac4a68f Mon Sep 17 00:00:00 2001
From: julientaq <julien@coko.foundation>
Date: Thu, 6 Jan 2022 11:39:55 +0100
Subject: [PATCH] add articles fix links

---
 src/articles-index.md          | 5 ++---
 src/articles/articles.json     | 1 +
 src/blog/blog-index.md         | 4 ++--
 static/css/theme-coko/main.css | 7 +++++++
 4 files changed, 12 insertions(+), 5 deletions(-)
 create mode 100644 src/articles/articles.json

diff --git a/src/articles-index.md b/src/articles-index.md
index db71e63..c3ca1a1 100644
--- a/src/articles-index.md
+++ b/src/articles-index.md
@@ -2,11 +2,10 @@
 title: Articles
 layout: articles-index.njk
 permalink: /articles/index.html
-menu: false
+menu: true
 menutitle: Articles
 class: articles
-order: 2
+order: 5
 heading: We explain.
 chapeau: This is where the articles will be
 ---
-
diff --git a/src/articles/articles.json b/src/articles/articles.json
new file mode 100644
index 0000000..b711802
--- /dev/null
+++ b/src/articles/articles.json
@@ -0,0 +1 @@
+{ "layout": "single.njk" }
diff --git a/src/blog/blog-index.md b/src/blog/blog-index.md
index c61ee15..4044054 100644
--- a/src/blog/blog-index.md
+++ b/src/blog/blog-index.md
@@ -2,9 +2,9 @@
 title: News
 layout: blog-index.njk
 permalink: /blog/index.html
-menu: true
+menu: false
 menutitle: News
 class: news
-order: 3
+order: 5
 heading: The latest news
 ---
diff --git a/static/css/theme-coko/main.css b/static/css/theme-coko/main.css
index b0c4bd6..9df3be5 100644
--- a/static/css/theme-coko/main.css
+++ b/static/css/theme-coko/main.css
@@ -110,6 +110,8 @@ aside {
   );
   filter: drop-shadow(700px -15px 15px #62c8c4);
 }
+
+.community aside,
 .about aside,
 .team aside {
   background: linear-gradient(6deg, rgba(255, 255, 255, 1) 58%, #bba3c5 100%);
@@ -318,6 +320,11 @@ h2.section-title {
   object-fit: cover;
   width: 100%;
 }
+.home .linkToPrevious {
+  grid-column: span 4;
+  text-decoration: underline;
+  margin-top: 1em;
+}
 .home .cokoverse img {
   object-fit: cover;
   width: 100%;
-- 
GitLab