summaryrefslogtreecommitdiff
path: root/layouts/articles/single.html
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-02-04 12:47:04 +0100
committerxengineering <me@xengineering.eu>2023-02-05 14:26:24 +0100
commit78eed530111fdc8640133da5bbf8a5f86d703a50 (patch)
treed232f9dc640b3f1c94b7dda71b9fbef225381d44 /layouts/articles/single.html
parent0f29a466be17692b0617736ca58549c4c39e7486 (diff)
downloadwebsite-78eed530111fdc8640133da5bbf8a5f86d703a50.tar
website-78eed530111fdc8640133da5bbf8a5f86d703a50.tar.zst
website-78eed530111fdc8640133da5bbf8a5f86d703a50.zip
Add support for articles
Articles should contain documentation which is constantly updated.
Diffstat (limited to 'layouts/articles/single.html')
-rw-r--r--layouts/articles/single.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/layouts/articles/single.html b/layouts/articles/single.html
new file mode 100644
index 0000000..62a23d3
--- /dev/null
+++ b/layouts/articles/single.html
@@ -0,0 +1,36 @@
+<!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="{{ "style.css" | absURL }}" type="text/css">
+
+ </head>
+
+ <body>
+
+ <header>
+ <nav>
+ <a href="{{ "/" | absURL }}">Home</a>
+ <nav>
+ <h1>{{ .Params.Title }}</h1>
+ <p>{{ .Params.Subtitle }}</p>
+ </header>
+
+ <main>
+ {{ .Content }}
+ {{ partial "footer.html" . }}
+ </main>
+
+ </body>
+
+</html>