summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorLuke Smith <Luke Smith>2022-06-25 10:56:36 -0400
committerLuke Smith <Luke Smith>2022-06-25 10:56:36 -0400
commit7e74a039122aef922d1619e636de3497ffcf7c60 (patch)
tree6029d4f3bd5496acd15e81ad5babb367f8836d60 /layouts
parent967594150f011456cde5965d48cbf0e64f39d31e (diff)
convert to hugo
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html13
-rw-r--r--layouts/shortcodes/basic.html8
-rw-r--r--layouts/shortcodes/maintain.html4
-rw-r--r--layouts/shortcodes/services.html4
4 files changed, 29 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..7742c7e
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,13 @@
+ {{ if in .Params.tags "basic" }}
+ {{ with .NextInSection }}
+ <a class=next href="{{ .RelPermalink }}">Next: {{ .Title }}</a>
+ {{ end }}
+ {{ with .PrevInSection }}
+ <span class=prev>Or Previous: <a href="{{ .RelPermalink }}">{{ .Title }}</a></span>
+ {{ end }}
+
+ {{ end }}
+ </main>
+ <footer><a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a></footer>
+</body>
+</html>
diff --git a/layouts/shortcodes/basic.html b/layouts/shortcodes/basic.html
new file mode 100644
index 0000000..b2df0d9
--- /dev/null
+++ b/layouts/shortcodes/basic.html
@@ -0,0 +1,8 @@
+<ol class=ll>
+{{range.Site.RegularPages.ByDate}}{{ if in .Params.tags "basic" }}<li>
+<a href="{{.Permalink}}">
+{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }}
+<span class=title>{{.Title}}</span>
+{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span style="display:none">{{.Params.Tags}}</span>
+</li>{{ end }}{{ end }}
+</ol>
diff --git a/layouts/shortcodes/maintain.html b/layouts/shortcodes/maintain.html
new file mode 100644
index 0000000..a864eab
--- /dev/null
+++ b/layouts/shortcodes/maintain.html
@@ -0,0 +1,4 @@
+<ul class=ll>
+{{range.Site.RegularPages.ByTitle}}{{ if in .Params.tags "server" }}<li><a href="{{.Permalink}}">{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }}<span class=title>{{.Title}}</span>{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span class=tags>{{.Params.Tags}}</span></li>
+{{ end }}{{ end }}
+</ul>
diff --git a/layouts/shortcodes/services.html b/layouts/shortcodes/services.html
new file mode 100644
index 0000000..877140d
--- /dev/null
+++ b/layouts/shortcodes/services.html
@@ -0,0 +1,4 @@
+<ul id=servicelist>
+{{range.Site.RegularPages.ByTitle}}{{ if in .Params.tags "service" }}<li><a href="{{.Permalink}}">{{ with .Params.icon }}<img src="pix/{{ . }}">{{ end }}<span class=title>{{.Title}}</span>{{ with .Params.short_desc }}<span class=desc>{{ . }}</span>{{ end }}</a><span class=tags>{{.Params.Tags}}</span></li>
+{{ end }}{{ end }}
+</ul>