mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 04:58:26 +00:00
Switch from absolute to relative links
This commit is contained in:
parent
be9ac8fc9f
commit
fa1fe03b0e
@ -23,7 +23,7 @@
|
|||||||
{{ $links = sort $links "weight" "asc" }}
|
{{ $links = sort $links "weight" "asc" }}
|
||||||
{{- range $links -}}
|
{{- range $links -}}
|
||||||
<li>
|
<li>
|
||||||
<a {{ if $useImage }}class="site__social-icon"{{ end }} rel="me" href="{{ .url | absLangURL }}" aria-label="{{ with .name }}{{ . }}{{ else }}{{ .id }}{{ end }}">
|
<a {{ if $useImage }}class="site__social-icon"{{ end }} rel="me" href="{{ .url | relLangURL }}" aria-label="{{ with .name }}{{ . }}{{ else }}{{ .id }}{{ end }}">
|
||||||
{{- if $useImage }}
|
{{- if $useImage }}
|
||||||
{{- partial "components/simple-icon.html" (dict "id" .id) }}
|
{{- partial "components/simple-icon.html" (dict "id" .id) }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
{{ $siteScript := resources.Get "js/site.js" | resources.ExecuteAsTemplate "js/site.js" . }}
|
{{ $siteScript := resources.Get "js/site.js" | resources.ExecuteAsTemplate "js/site.js" . }}
|
||||||
<script src="{{ $siteScript.Permalink }}"> </script>
|
<script src="{{ $siteScript.RelPermalink }}"> </script>
|
||||||
|
Loading…
Reference in New Issue
Block a user