blob: ff0d4cadd80389834882f5713e6acb6b7626ba0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{{if .PrevInSection}}
<link rel="prefetch" href="{{ .PrevInSection.Permalink }}">
{{end}}
{{if .NextInSection}}
<link rel="prefetch" href="{{.NextInSection.Permalink }}">
{{end}}
{{/* TODO: backport thumbnail animation to base theme, removing fadeIn if no longer used. */}}
<style media="screen">
.lazyload,
.lazyloading {
opacity: 0.5;
}
.lazyloaded {
opacity: 1;
transition: opacity 300ms;
}
.mt4 a.link {
margin: 0 0.5rem 0.8rem 0;
display: inline-block;
}
</style>
{{ if eq (getenv "HUGO_ENV") "production" }}
<script type="text/javascript">
var loc = window.location.href+'';
if (loc.indexOf('http://')==0){
window.location.href = loc.replace('http://','https://');
}
</script>
{{ end }}
|