Add citation and share buttons to various layouts

This commit is contained in:
Fundor333
2026-01-12 01:04:36 +01:00
parent 7ba96ff849
commit 45f0f20b1a
6 changed files with 185 additions and 180 deletions

View File

@@ -47,6 +47,7 @@
{{ partial "series.html" . }}
{{ partial "share-buttons" . }}
{{ partial "cite" . }}
{{- partial "syndication.html" . -}}
{{- partial "comments.html" . -}}
</article>

View File

@@ -29,7 +29,8 @@
{{- partial "bridgy.html" . -}}
{{ .Content }}
</div>
{{ partial "share-buttons" . }}
{{ partial "cite" . }}
{{ partial "series.html" . }}
{{- partial "syndication.html" . -}}
</article>

View File

@@ -13,6 +13,8 @@
<div class="page-content e-content typewriter">
{{ .Content }}
</div>
{{ partial "share-buttons" . }}
{{ partial "cite" . }}
{{- partial "syndication.html" . -}}
{{- partial "comments.html" . -}}
</article>

View File

@@ -5,8 +5,7 @@
<p>
<a href="https://fundor333.com/cite">Learn more</a>
</p>
<label>URL for this post: <input disabled style="cursor: text;" type="text" value="{{ .Page.Permalink }}" id="citeInput">
<button onclick="myFunction()">Copy text</button>
<label>URL for this post: <input onclick="myFunction()" disabled style="cursor: text;" type="text" value="{{ .Page.Permalink }}" id="citeInput">
</label>
</details>

View File

@@ -151,10 +151,10 @@
{{- .Content }}
</div>
</div>
</article>
{{ partial "share-buttons" . }}
{{ partial "cite" . }}
{{ partial "series.html" . }}
{{- partial "syndication.html" . -}}

View File

@@ -27,6 +27,8 @@
<div class="page-content e-content weeknote">
{{ .Content }}
</div>
{{ partial "share-buttons" . }}
{{ partial "cite" . }}
{{- partial "syndication.html" . -}}
{{- partial "comments.html" . -}}
</article>