From d2cce2c11cbabebab82243b850bcd7dc0a68cab2 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 31 May 2022 08:40:34 +0200 Subject: Proof of concept for new project page concept - stores data about a repository in content file - links on index.html just with name and description to repository pages --- content/webiot.md | 10 +++++++++ themes/bare/layouts/_default/single.html | 35 ++++++++++++++++++++++++++++++++ themes/bare/layouts/index.html | 5 +++++ 3 files changed, 50 insertions(+) create mode 100644 content/webiot.md create mode 100644 themes/bare/layouts/_default/single.html diff --git a/content/webiot.md b/content/webiot.md new file mode 100644 index 0000000..71fbef1 --- /dev/null +++ b/content/webiot.md @@ -0,0 +1,10 @@ +{ + "heading":"webiot", + "description":"Small webserver for my personal Internet of Things (IoT)" +} + +Some stuff + +- uno +- dos +- three diff --git a/themes/bare/layouts/_default/single.html b/themes/bare/layouts/_default/single.html new file mode 100644 index 0000000..d62873e --- /dev/null +++ b/themes/bare/layouts/_default/single.html @@ -0,0 +1,35 @@ + + + + + + + + + xengineering + + + + + + + + + +
+ +

{{.Params.heading}}

+ + {{.Content}} + +
+
+ + +
+ + + + diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html index 0bb2fdb..bddd4d9 100644 --- a/themes/bare/layouts/index.html +++ b/themes/bare/layouts/index.html @@ -31,6 +31,11 @@ {{.Content}} + +

-- cgit v1.2.3-70-g09d2