summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/bare/layouts/_default/single.html35
-rw-r--r--themes/bare/layouts/index.html5
2 files changed, 40 insertions, 0 deletions
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 @@
+<!DOCTYPE html>
+
+<!--
+ vim: shiftwidth=4 tabstop=4 noexpandtab
+-->
+
+<html>
+
+ <head>
+
+ <title>xengineering</title>
+
+ <meta charset="utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="stylesheet" href="../libweb.css" type="text/css">
+
+ </head>
+
+ <body>
+
+ <main>
+
+ <h1>{{.Params.heading}}</h1>
+
+ {{.Content}}
+
+ <br>
+ <hr>
+ <footer>License: <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a></footer>
+
+ </main>
+
+ </body>
+
+</html>
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}}
+ <ul>
+ {{ $page := .GetPage "webiot.md" }}
+ <li><a href="{{ $page.Permalink }}">{{ $page.Params.heading }}</a> - {{$page.Description}}</li>
+ </ul>
+
<br>
<hr>
<footer>License: <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a></footer>