summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/_index.md1
-rw-r--r--content/git/webiot.md2
-rw-r--r--themes/bare/layouts/_default/single.html9
-rw-r--r--themes/bare/layouts/index.html2
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 @@
<main>
- <h1>{{.Params.heading}}</h1>
+ <h1>{{.Params.name}}</h1>
+
+ <div class="card">
+ <p class="card-first-item">Description: {{ .Params.description }}</p>
+ <p>Browse source code: <a href="https://cgit.xengineering.eu/{{ .Params.name }}/tree">cgit tree</a></p>
+ <p>Get updates: <a href="https://cgit.xengineering.eu/{{ .Params.name }}/atom">Atom feed</a></p>
+ <p style="" class="card-last-item">Clone repository: git clone https://cgit.xengineering.eu/{{ .Params.name }}</p>
+ </div>
{{.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 @@
<ul>
{{ $page := .GetPage "git/webiot.md" }}
- <li><a href="{{ $page.Permalink }}">{{ $page.Params.heading }}</a> - {{$page.Description}}</li>
+ <li><a href="{{ $page.Permalink }}">{{ $page.Params.name }}</a> - {{$page.Description}}</li>
</ul>
<br>