2017-10-26 21:54:02 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
<div id="main">
|
|
|
|
<div class="container">
|
2017-10-27 22:56:44 +01:00
|
|
|
{{ partial "content.html" . }}
|
2017-10-26 21:54:02 +01:00
|
|
|
</div>
|
2022-05-10 22:21:39 +01:00
|
|
|
|
2022-06-05 16:32:53 +01:00
|
|
|
{{ partial "share.html" . }}
|
|
|
|
{{ partial "comments.html" . }}
|
|
|
|
{{ partial "related-content.html" . }}
|
|
|
|
|
2022-06-21 22:46:31 +01:00
|
|
|
{{ $unsplash_utm := (printf "utm_source=%s&utm_medium=referral" (lower .Site.Params.author)) }}
|
|
|
|
|
2022-05-10 22:21:39 +01:00
|
|
|
{{ with .Scratch.Get "unsplash_data" }}
|
|
|
|
<div class="container text-center my-4">
|
2022-06-21 22:46:31 +01:00
|
|
|
<small><a href="#header">Header</a> photo by <a href="{{ .user.links.html }}?{{ $unsplash_utm }}">{{ .user.name }}</a> on <a href="{{ .links.html }}?{{ $unsplash_utm }}">Unsplash</a>.</small>
|
2022-05-10 22:21:39 +01:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2017-10-26 21:54:02 +01:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-01-03 13:12:38 +00:00
|
|
|
|
|
|
|
{{ define "style_extra" }}
|
|
|
|
{{ partial "style.html" "css/shareon.css" }}
|
|
|
|
{{ partial "style.html" "css/highlight.css" }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "scripts_extra" }}
|
|
|
|
{{ partial "script_async.html" "js/shareon.js" }}
|
|
|
|
{{ end }}
|