From 4a292ac06320580e07f0a0689f6b2a77bc2e3495 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 31 May 2022 13:23:55 +0200 Subject: Finalize structure for content/git/* pages --- content/_index.md | 1 - content/git/webiot.md | 2 +- themes/bare/layouts/_default/single.html | 9 ++++++++- themes/bare/layouts/index.html | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/content/_index.md b/content/_index.md index 78d77fc..55355ac 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,4 @@ { - "title":"xengineering", "heading":"xengineering", "email":"me@xengineering.eu", "xmpp":"xengineering@jabber.de", diff --git a/content/git/webiot.md b/content/git/webiot.md index 71fbef1..f74bf47 100644 --- a/content/git/webiot.md +++ b/content/git/webiot.md @@ -1,5 +1,5 @@ { - "heading":"webiot", + "name":"webiot", "description":"Small webserver for my personal Internet of Things (IoT)" } diff --git a/themes/bare/layouts/_default/single.html b/themes/bare/layouts/_default/single.html index 319d849..0850701 100644 --- a/themes/bare/layouts/_default/single.html +++ b/themes/bare/layouts/_default/single.html @@ -20,7 +20,14 @@
-

{{.Params.heading}}

+

{{.Params.name}}

+ +
+

Description: {{ .Params.description }}

+

Browse source code: cgit tree

+

Get updates: Atom feed

+

Clone repository: git clone https://cgit.xengineering.eu/{{ .Params.name }}

+
{{.Content}} diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html index 1d2669f..f3decef 100644 --- a/themes/bare/layouts/index.html +++ b/themes/bare/layouts/index.html @@ -33,7 +33,7 @@
-- cgit v1.2.3-70-g09d2