summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html31
-rw-r--r--layouts/index.html2
2 files changed, 32 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..38f5805
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,31 @@
+{{ partial "header.html" . }}
+
+<header><h1>{{ .Title }}</h1></header>
+
+{{ .Content }}
+
+{{ $author := index .Site.Data.authors (.Params.author | default "default") }}
+{{- if $author -}}
+<h2>Contributor(s)</h2>
+<ul>
+<li>
+{{- if $author.website -}}<a href="{{ $author.website }}">{{- end -}}
+ {{ $author.name }}
+{{- if $author.website -}}</a>{{- end -}}
+<ul>
+{{- if $author.xmr }}
+<li><img alt="XMR Logo" src="/pix/xmr.svg">Monero: <code style="overflow-wrap:break-word;font-size:xx-small">{{ $author.xmr }}</code></li>
+{{- end -}}
+{{- if $author.btc }}
+<li><img src="/pix/btc.svg" alt="BTC Logo">Bitcoin:
+<code>{{ $author.btc }}</code>
+{{- end -}}
+{{- if $author.donate }}
+<li><a href="{{ $author.donate }}">Donate/Tip</a></li>
+{{- end -}}
+</ul>
+</li>
+</ul>
+{{- end -}}
+
+{{ partial "footer.html" . }}
diff --git a/layouts/index.html b/layouts/index.html
index 2733cde..86d9d0c 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -27,7 +27,7 @@ h2 { text-align: center ;}
See the story of this site unfold in three videos:</p>
<ol>
- <li><a href="https://odysee.com/@Luke:7/a-demonstration-of-modern-web-bloat:f">A Demonstration of Moderno Web Bloat</a></li>
+ <li><a href="https://odysee.com/@Luke:7/a-demonstration-of-modern-web-bloat:f">A Demonstration of Modern Web Bloat</a></li>
<li><a href="https://odysee.com/@Luke:7/the-war-against-web-bloat-continues...:a">The War Against Web Bloat Continues</a></li>
<li><a href="https://odysee.com/@Luke:7/soydevs-destroyed-epic-style-by-based:6">SoyDevs DESTROYED Epic Style by Based Cooking</a></li>
</ol>