summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authortfasano1 <tfasano1@binghamton.edu>2022-11-18 00:10:45 -0500
committertfasano1 <tfasano1@binghamton.edu>2022-11-26 12:58:12 -0500
commit7469e71baeed2d2ede0b3f2dc1a4a79d33946ec3 (patch)
treefc42a92745a30c2bbb5d9ef9983bde9c2bdaef1b /layouts
parentaec25eb7dae5f3e3a7cc42759dfb39ebcb614ae2 (diff)
base line of email course
Move email course below services Start managing mail accounts article Order of tutorials corrected combine dovecot and spamassassin into a general inbox setup tut rename tutorials other additions
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html9
-rw-r--r--layouts/shortcodes/mail.html9
2 files changed, 18 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 7742c7e..ecfb175 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -5,8 +5,17 @@
{{ with .PrevInSection }}
<span class=prev>Or Previous: <a href="{{ .RelPermalink }}">{{ .Title }}</a></span>
{{ end }}
+ {{ end }}
+ {{ if in .Params.tags "mail" }}
+ {{ 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>
diff --git a/layouts/shortcodes/mail.html b/layouts/shortcodes/mail.html
new file mode 100644
index 0000000..53cc3b9
--- /dev/null
+++ b/layouts/shortcodes/mail.html
@@ -0,0 +1,9 @@
+<ol class=ll>
+{{range.Site.RegularPages.ByWeight.Reverse}}{{ if in .Params.tags "mail" }}<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>
+