From f16fcc493bdbc80f3870a2f93db1bd5293cf3739 Mon Sep 17 00:00:00 2001
From: Alexandre Dulaunoy
Date: Sun, 10 Mar 2024 12:56:57 +0100
Subject: [PATCH] chg: [theme] ajout d'un petit crayon pour faciliter la vie
des auteurs
---
.../writeonly/layouts/partials/shared/post-categories.html | 2 +-
themes/writeonly/layouts/partials/shared/post-meta.html | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/themes/writeonly/layouts/partials/shared/post-categories.html b/themes/writeonly/layouts/partials/shared/post-categories.html
index 4df0ddd..8402411 100644
--- a/themes/writeonly/layouts/partials/shared/post-categories.html
+++ b/themes/writeonly/layouts/partials/shared/post-categories.html
@@ -8,7 +8,7 @@
{{ . }}
-
+
{{ end }}
{{ end }}
diff --git a/themes/writeonly/layouts/partials/shared/post-meta.html b/themes/writeonly/layouts/partials/shared/post-meta.html
index 72169c4..2952930 100644
--- a/themes/writeonly/layouts/partials/shared/post-meta.html
+++ b/themes/writeonly/layouts/partials/shared/post-meta.html
@@ -38,4 +38,9 @@
{{ range .Params.tags }}
{{ . }}
{{ end }}
+ {{ if .IsPage }}
+ {{ with .Page.File.Path }}
+
+ {{ end }}
+ {{ end }}