Fixing a lot of bugs related to first deployment.

This commit is contained in:
Adsooi 2021-08-09 01:07:03 +02:00
parent cf25bd95fb
commit 5e72906101
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
3 changed files with 8 additions and 7 deletions

View file

@ -1,3 +1,3 @@
{{ define "main"}} {{ define "main"}}
{{ partial "section1.html" (dict "Image" "/img/app0.png" "Content" ("<h1>404. Page not found</h1><br><a role='button' class='primary' href='/'>Return to main page</a>" | safeHTML)) }} {{ partial "section1.html" (dict "Image" "" "Content" ("<h1>404. Page not found</h1><br><a role='button' class='primary' href='/'>Return to main page</a>" | safeHTML)) }}
{{ end }} {{ end }}

View file

@ -1,5 +1,6 @@
<head> <head>
<title>{{ .Site.Title }} - {{ .Title }}</title> <title>{{ .Site.Title }} - {{ .Title }}</title>
<meta charset="UTF-8">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Regular.otf"> <link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Regular.otf">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Light.otf"> <link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Light.otf">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Bold.otf"> <link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Bold.otf">

View file

@ -54,7 +54,7 @@
{{ range .Translations }} {{ range .Translations }}
<li class="background"> <li class="background">
<a href="{{ .Permalink }}" role="button"> <a href="{{ .Permalink }}" role="button">
<img src="/icons/flag/{{ .Language.Lang }}.svg" class="icon-as-text" loading=lazy/>{{ .Language.LanguageName }} <img src="/icons/flag/{{ .Language.Lang }}.svg" class="icon-as-text" loading=lazy width=21 height=21/>{{ .Language.LanguageName }}
</a> </a>
</li> </li>
{{ end }} {{ end }}