From dd36705f331fd88bb49c074c8e28ceec728e06e5 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Thu, 20 May 2021 15:52:06 +0200 Subject: [PATCH] Add Bulma, remove ids, start using classes --- {themes/chosto => assets}/css/bulma.min.css | 0 config.yaml | 1 + themes/chosto/layouts/_default/baseof.html | 2 +- themes/chosto/layouts/partials/about.html | 2 +- themes/chosto/layouts/partials/head.html | 3 +++ themes/chosto/layouts/posts/single.html | 16 ++++++++-------- 6 files changed, 14 insertions(+), 10 deletions(-) rename {themes/chosto => assets}/css/bulma.min.css (100%) diff --git a/themes/chosto/css/bulma.min.css b/assets/css/bulma.min.css similarity index 100% rename from themes/chosto/css/bulma.min.css rename to assets/css/bulma.min.css diff --git a/config.yaml b/config.yaml index b35b118..746d884 100644 --- a/config.yaml +++ b/config.yaml @@ -9,6 +9,7 @@ languageName: Français watch: true paginate: 5 summaryLength: 50 + # All pages under posts section will have this link structure permalinks: posts: /:sections/:title/ diff --git a/themes/chosto/layouts/_default/baseof.html b/themes/chosto/layouts/_default/baseof.html index 5a41b2f..49aa050 100644 --- a/themes/chosto/layouts/_default/baseof.html +++ b/themes/chosto/layouts/_default/baseof.html @@ -4,7 +4,7 @@ {{- partial "navbar.html" . -}} {{- partial "header.html" . -}} -
+
{{- block "main" . }}{{- end }}
{{- partial "about.html" . -}} diff --git a/themes/chosto/layouts/partials/about.html b/themes/chosto/layouts/partials/about.html index 7240fe7..16b8828 100644 --- a/themes/chosto/layouts/partials/about.html +++ b/themes/chosto/layouts/partials/about.html @@ -1,3 +1,3 @@ -