Make links language-aware #101
|
@ -1,10 +1,10 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="{{ site.Language }}">
|
<html lang="{{ .Site.Language.Lang }}">
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
<body>
|
<body>
|
||||||
<aside>
|
<aside>
|
||||||
<header>
|
<header>
|
||||||
<a href="/"><img src="{{ printf "/static/img/logo_%s.svg" .Site.Language.Lang | absURL }}" alt="data coop logo" width="240" height="140"></a>
|
<a href="{{ .Site.Home.Permalink }}"><img src="/static/img/logo_{{ .Site.Language.Lang }}.svg" alt="data.coop logo" width="240" height="140"></a>
|
||||||
|
|
||||||
<div class="nav-toggle" id="nav-toggle-header">
|
<div class="nav-toggle" id="nav-toggle-header">
|
||||||
<span id="nav-toggle-a"></span>
|
<span id="nav-toggle-a"></span>
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
{{ range $badge_key, $badge := $translated_badges.badges.badges }}
|
{{ range $badge_key, $badge := $translated_badges.badges.badges }}
|
||||||
|
|
||||||
<div class="badge-icon">
|
<div class="badge-icon">
|
||||||
{{$svg := printf "static/static/img/badges/%s" .icon}}
|
{{ $svg := printf "static/static/img/badges/%s" .icon }}
|
||||||
{{ $svg | readFile | safeHTML }}
|
{{ $svg | readFile | safeHTML }}
|
||||||
</div>
|
</div>
|
||||||
<div class="badge-name">{{ title .name }}</div>
|
<div class="badge-name">{{ title .name }}</div>
|
||||||
|
|
||||||
|
|
|
@ -9,17 +9,16 @@
|
||||||
<meta name="description" content="{{ . }}">
|
<meta name="description" content="{{ . }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/static/img" | absURL }}/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/static/img/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/static/img" | absURL }}/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/static/img/favicon-32x32.png">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/static/img" | absURL }}/favicon-16x16.png">
|
<link rel="icon" type="image/png" sizes="16x16" href="/static/img/favicon-16x16.png">
|
||||||
<link rel="manifest" href="{{ "" | absURL }}/site.webmanifest">
|
<link rel="manifest" href="{{ "" | absURL }}/site.webmanifest">
|
||||||
<link rel="mask-icon" href="{{ "/static/img" | absURL }}/safari-pinned-tab.svg" color="#4b3aba">
|
<link rel="mask-icon" href="/static/img/safari-pinned-tab.svg" color="#4b3aba">
|
||||||
<meta name="msapplication-TileColor" content="#4b3aba">
|
<meta name="msapplication-TileColor" content="#4b3aba">
|
||||||
<meta name="theme-color" content="#4b3aba">
|
<meta name="theme-color" content="#4b3aba">
|
||||||
|
|
||||||
{{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}
|
{{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}
|
||||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
||||||
|
|
||||||
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -3,7 +3,7 @@ license: "MIT"
|
||||||
licenselink: "https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme/blob/master/LICENSE"
|
licenselink: "https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme/blob/master/LICENSE"
|
||||||
description: "Yay data.coop theme - started with this one https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme/"
|
description: "Yay data.coop theme - started with this one https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme/"
|
||||||
homepage: "https://data.coop"
|
homepage: "https://data.coop"
|
||||||
tags: ["nice",]
|
tags: ["nice"]
|
||||||
features: ["responsive", "small page size", "fuck google", "no tracking"]
|
features: ["responsive", "small page size", "fuck google", "no tracking"]
|
||||||
min_version: "0.60.1"
|
min_version: "0.60.1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue