From 49906e190000741a2e351c57e76395d048217f13 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Tue, 17 Mar 2020 11:25:38 +0100 Subject: [PATCH] hidden p-summary section for being even more microformat compatible --- themes/xsfx/layouts/partials/article.html | 1 + themes/xsfx/static/css/xsfx.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/themes/xsfx/layouts/partials/article.html b/themes/xsfx/layouts/partials/article.html index 3331fc7..229659c 100644 --- a/themes/xsfx/layouts/partials/article.html +++ b/themes/xsfx/layouts/partials/article.html @@ -12,6 +12,7 @@ {{ end }}

+
{{ .Summary | plainify }}
{{ .Content}}
diff --git a/themes/xsfx/static/css/xsfx.css b/themes/xsfx/static/css/xsfx.css index d95a694..17a66c8 100644 --- a/themes/xsfx/static/css/xsfx.css +++ b/themes/xsfx/static/css/xsfx.css @@ -219,3 +219,7 @@ button, section#mentions table tbody tr.u-comment.h-cite td { font-size: 70%; } + +section.p-summary { + display: none; +}