Add citation and share buttons to various layouts
This commit is contained in:
@@ -47,6 +47,7 @@
|
|||||||
|
|
||||||
{{ partial "series.html" . }}
|
{{ partial "series.html" . }}
|
||||||
{{ partial "share-buttons" . }}
|
{{ partial "share-buttons" . }}
|
||||||
|
{{ partial "cite" . }}
|
||||||
{{- partial "syndication.html" . -}}
|
{{- partial "syndication.html" . -}}
|
||||||
{{- partial "comments.html" . -}}
|
{{- partial "comments.html" . -}}
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -29,7 +29,8 @@
|
|||||||
{{- partial "bridgy.html" . -}}
|
{{- partial "bridgy.html" . -}}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
{{ partial "share-buttons" . }}
|
||||||
|
{{ partial "cite" . }}
|
||||||
{{ partial "series.html" . }}
|
{{ partial "series.html" . }}
|
||||||
{{- partial "syndication.html" . -}}
|
{{- partial "syndication.html" . -}}
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<div class="page-content e-content typewriter">
|
<div class="page-content e-content typewriter">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
{{ partial "share-buttons" . }}
|
||||||
|
{{ partial "cite" . }}
|
||||||
{{- partial "syndication.html" . -}}
|
{{- partial "syndication.html" . -}}
|
||||||
{{- partial "comments.html" . -}}
|
{{- partial "comments.html" . -}}
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -5,8 +5,7 @@
|
|||||||
<p>
|
<p>
|
||||||
<a href="https://fundor333.com/cite">Learn more</a>
|
<a href="https://fundor333.com/cite">Learn more</a>
|
||||||
</p>
|
</p>
|
||||||
<label>URL for this post: <input disabled style="cursor: text;" type="text" value="{{ .Page.Permalink }}" id="citeInput">
|
<label>URL for this post: <input onclick="myFunction()" disabled style="cursor: text;" type="text" value="{{ .Page.Permalink }}" id="citeInput">
|
||||||
<button onclick="myFunction()">Copy text</button>
|
|
||||||
</label>
|
</label>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
<div class="flex flex-col items-stretch">
|
<div class="flex flex-col items-stretch">
|
||||||
<figure class="figure hmedia">
|
<figure class="figure hmedia">
|
||||||
<img loading="lazy" class="u-photo rounded-lg figure-img img-fluid" src="{{ $image.Permalink }}"alt="{{ $.Description }}">
|
<img loading="lazy" class="u-photo rounded-lg figure-img img-fluid" src="{{ $image.Permalink }}" alt="{{ $.Description }}">
|
||||||
{{if .Params.feature_link}}
|
{{if .Params.feature_link}}
|
||||||
<figcaption class="figure-caption">{{ $.Description }}</figcaption>
|
<figcaption class="figure-caption">{{ $.Description }}</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
@@ -151,14 +151,14 @@
|
|||||||
{{- .Content }}
|
{{- .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
{{ partial "share-buttons" . }}
|
||||||
|
{{ partial "cite" . }}
|
||||||
{{ partial "series.html" . }}
|
{{ partial "series.html" . }}
|
||||||
{{- partial "syndication.html" . -}}
|
{{- partial "syndication.html" . -}}
|
||||||
|
|
||||||
{{- partial "comments.html" . -}}
|
{{- partial "comments.html" . -}}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -27,6 +27,8 @@
|
|||||||
<div class="page-content e-content weeknote">
|
<div class="page-content e-content weeknote">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
{{ partial "share-buttons" . }}
|
||||||
|
{{ partial "cite" . }}
|
||||||
{{- partial "syndication.html" . -}}
|
{{- partial "syndication.html" . -}}
|
||||||
{{- partial "comments.html" . -}}
|
{{- partial "comments.html" . -}}
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
Reference in New Issue
Block a user