Add citation and share buttons to various layouts
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
|
||||
{{ partial "series.html" . }}
|
||||
{{ partial "share-buttons" . }}
|
||||
{{ partial "cite" . }}
|
||||
{{- partial "syndication.html" . -}}
|
||||
{{- partial "comments.html" . -}}
|
||||
</article>
|
||||
|
||||
@@ -29,7 +29,8 @@
|
||||
{{- partial "bridgy.html" . -}}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ partial "share-buttons" . }}
|
||||
{{ partial "cite" . }}
|
||||
{{ partial "series.html" . }}
|
||||
{{- partial "syndication.html" . -}}
|
||||
</article>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -151,10 +151,10 @@
|
||||
{{- .Content }}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
{{ partial "share-buttons" . }}
|
||||
{{ partial "cite" . }}
|
||||
{{ partial "series.html" . }}
|
||||
{{- partial "syndication.html" . -}}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user