move lightbox into extend-footer.html (from extend-head.html)
This commit is contained in:
parent
a42ad92a50
commit
5f93cb018f
2 changed files with 74 additions and 53 deletions
|
@ -1,16 +1,75 @@
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<div>
|
<div>
|
||||||
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
||||||
Served> with <a
|
Served> with
|
||||||
class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://archlinux.org/"
|
<a
|
||||||
target="_blank" rel="noopener noreferrer">Arch Linux</a> and <a
|
class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||||||
class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://httpd.apache.org/"
|
href="https://archlinux.org/"
|
||||||
target="_blank" rel="noopener noreferrer">Apache httpd</a> ┊
|
target="_blank"
|
||||||
<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="/feed.xml"
|
rel="noopener noreferrer"
|
||||||
target="_blank" rel="noopener">Atom feed</a> ┊
|
>Arch Linux</a
|
||||||
<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="/feed.json"
|
>
|
||||||
target="_blank" rel="noopener">Json feed</a>
|
and
|
||||||
|
<a
|
||||||
|
class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||||||
|
href="https://httpd.apache.org/"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>Apache httpd</a
|
||||||
|
>
|
||||||
|
┊
|
||||||
|
<a
|
||||||
|
class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||||||
|
href="/feed.xml"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>Atom feed</a
|
||||||
|
>
|
||||||
|
┊
|
||||||
|
<a
|
||||||
|
class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||||||
|
href="/feed.json"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>Json feed</a
|
||||||
|
>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ with resources.Get "js/lightbox.js" }} {{ if hugo.IsDevelopment }} {{ with .
|
||||||
|
| js.Build }}
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
type="text/javascript"
|
||||||
|
src="{{ .RelPermalink }}"
|
||||||
|
data-copy="Copy"
|
||||||
|
data-copied="Copied"
|
||||||
|
></script>
|
||||||
|
{{ end }} {{ else }} {{ $opts := (dict "minify" true "targetPath"
|
||||||
|
"js/lightbox.js") }} {{ with . | js.Build $opts | fingerprint }}
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
type="text/javascript"
|
||||||
|
src="{{ .RelPermalink }}"
|
||||||
|
data-copy="Copy"
|
||||||
|
data-copied="Copied"
|
||||||
|
integrity="{{ .Data.Integrity }}"
|
||||||
|
></script>
|
||||||
|
{{ end }} {{ end }} {{ end }} {{ with resources.Get "css/lightbox.css" }} {{ if
|
||||||
|
hugo.IsDevelopment }} {{ with . }}
|
||||||
|
<link
|
||||||
|
type="text/css"
|
||||||
|
rel="stylesheet"
|
||||||
|
media="screen,print"
|
||||||
|
href="{{ .RelPermalink }}"
|
||||||
|
/>
|
||||||
|
{{ end }} {{ else }} {{ with . | fingerprint }}
|
||||||
|
<link
|
||||||
|
type="text/css"
|
||||||
|
rel="stylesheet"
|
||||||
|
media="screen,print"
|
||||||
|
href="{{ .RelPermalink }}"
|
||||||
|
integrity="{{ .Data.Integrity }}"
|
||||||
|
/>
|
||||||
|
{{ end }} {{ end }} {{ end }}
|
||||||
|
|
|
@ -1,45 +1,7 @@
|
||||||
{{- if eq .Site.BaseURL "https://oe7drt.com/" }}
|
{{- if eq .Site.BaseURL "https://oe7drt.com/" }} {{ partial
|
||||||
{{ partial "plausible_head.html" . }}
|
"plausible_head.html" . }} {{- end }}
|
||||||
{{- end }}
|
|
||||||
<meta name="fediverse:creator" content="@oe7drt@mastodon.radio" />
|
<meta name="fediverse:creator" content="@oe7drt@mastodon.radio" />
|
||||||
|
|
||||||
{{ with resources.Get "js/lightbox.js" }} {{ if hugo.IsDevelopment }} {{ with .
|
|
||||||
| js.Build }}
|
|
||||||
<script
|
|
||||||
defer
|
|
||||||
type="text/javascript"
|
|
||||||
src="{{ .RelPermalink }}"
|
|
||||||
data-copy="Copy"
|
|
||||||
data-copied="Copied"
|
|
||||||
></script>
|
|
||||||
{{ end }} {{ else }} {{ $opts := (dict "minify" true "targetPath"
|
|
||||||
"js/lightbox.js") }} {{ with . | js.Build $opts | fingerprint }}
|
|
||||||
<script
|
|
||||||
defer
|
|
||||||
type="text/javascript"
|
|
||||||
src="{{ .RelPermalink }}"
|
|
||||||
data-copy="Copy"
|
|
||||||
data-copied="Copied"
|
|
||||||
integrity="{{ .Data.Integrity }}"
|
|
||||||
></script>
|
|
||||||
{{ end }} {{ end }} {{ end }} {{ with resources.Get "css/lightbox.css" }} {{ if
|
|
||||||
hugo.IsDevelopment }} {{ with . }}
|
|
||||||
<link
|
|
||||||
type="text/css"
|
|
||||||
rel="stylesheet"
|
|
||||||
media="screen,print"
|
|
||||||
href="{{ .RelPermalink }}"
|
|
||||||
/>
|
|
||||||
{{ end }} {{ else }} {{ with . | fingerprint }}
|
|
||||||
<link
|
|
||||||
type="text/css"
|
|
||||||
rel="stylesheet"
|
|
||||||
media="screen,print"
|
|
||||||
href="{{ .RelPermalink }}"
|
|
||||||
integrity="{{ .Data.Integrity }}"
|
|
||||||
/>
|
|
||||||
{{ end }} {{ end }} {{ end }}
|
|
||||||
|
|
||||||
<meta
|
<meta
|
||||||
http-equiv="onion-location"
|
http-equiv="onion-location"
|
||||||
content="http://5uxkejb6la7olhncaotybxrscmdlbxwy64ucuyrum4tsgfuoxbyav2qd.onion"
|
content="http://5uxkejb6la7olhncaotybxrscmdlbxwy64ucuyrum4tsgfuoxbyav2qd.onion"
|
||||||
|
|
Loading…
Add table
Reference in a new issue