New docker icon, bundling all css together, changing footer.

This commit is contained in:
Adsooi 2021-08-08 21:29:20 +02:00
parent f7fe8460da
commit d0b6880ebd
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
3 changed files with 21 additions and 11 deletions

View file

@ -12,17 +12,18 @@
</div> </div>
<div class="text-center col3"> <div class="text-center col3">
<br> <br>
{{ .Site.Copyright }}<br> {{ .Site.Copyright }}<br><br>
<p><a href="{{ .Site.Params.websiteSource }}">{{ i18n "websiteSource" }}</a></p>
{{ if .GitInfo }}
<p>Built from <a href="{{ .Site.Params.websiteSource }}/commit/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a></p>
{{ end }}
<a href="https://ad5001.eu/terms-of-use">Terms of use</a><br> <a href="https://ad5001.eu/terms-of-use">Terms of use</a><br>
</div> </div>
<div class="col3 text-right padding-container-1"> <div class="col3 text-right padding-container-1">
<p>{{ i18n "usingTheme" }} <a href="https://git.ad5001.eu/Ad5001/omegamma">Omegamma</a></p> <p>{{ i18n "usingTheme" }} <a href="https://git.ad5001.eu/Ad5001/omegamma">Omegamma</a></p>
<p>{{ i18n "poweredBy" }} <a href="https://gohugo.io">Hugo</a></p> <p>{{ i18n "poweredBy" }} <a href="https://gohugo.io">Hugo</a></p>
<p><a href="{{ .Site.Params.websiteSource }}">{{ i18n "websiteSource" }}</a>
{{ if .GitInfo }}
- built from <a href="{{ .Site.Params.websiteSource }}/commit/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a>
{{ end }}
</p>
</div> </div>
</div> </div>
<br> <br>

View file

@ -4,14 +4,17 @@
<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">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.woff2?54316140"> <link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.woff2?54316140">
{{ $mainstyle := resources.Get "/scss/main.scss" | toCSS | minify }} {{ $mainstyle := resources.Get "/scss/main.scss" | toCSS }}
<link rel="preload" href="{{ $mainstyle.Permalink }}" as="style" onload="this.rel='stylesheet'"> {{ if .Site.Params.includeAppsStyle }}
{{ $appsstyle := resources.Get "/scss/apps.scss" | toCSS }}
{{ $style := slice $mainstyle $appsstyle | resources.Concat "css/bundle.css" | minify }}
<link rel="preload" href="{{ $style.Permalink }}" as="style" onload="this.rel='stylesheet'">
{{ else }}
{{ $style := $mainstyle | minify }}
<link rel="preload" href="{{ $style.Permalink }}" as="style" onload="this.rel='stylesheet'">
{{ end }}
{{ $printstyle := resources.Get "/scss/print.scss" | toCSS | minify }} {{ $printstyle := resources.Get "/scss/print.scss" | toCSS | minify }}
<link rel="stylesheet" href="{{ $printstyle.Permalink }}" media="print"> <link rel="stylesheet" href="{{ $printstyle.Permalink }}" media="print">
{{ if .Site.Params.includeAppsStyle }}
{{ $appsstyle := resources.Get "/scss/apps.scss" | toCSS | minify }}
<link rel="preload" href="{{ $appsstyle.Permalink }}" as="style" onload="this.rel='stylesheet'">
{{ end }}
<link rel="icon" href="/img/logo.svg"> <link rel="icon" href="/img/logo.svg">
{{ hugo.Generator }} {{ hugo.Generator }}
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">

View file

@ -0,0 +1,6 @@
<svg version="1.1" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg">
<g>
<path d="m124.8 52.1c-4.3-2.5-10-2.8-14.8-1.4-0.6-5.2-4-9.7-8-12.9l-1.6-1.3-1.4 1.6c-2.7 3.1-3.5 8.3-3.1 12.3 0.3 2.9 1.2 5.9 3 8.3-1.4 0.8-2.9 1.9-4.3 2.4-2.8 1-5.9 2-8.9 2l-83.9-0.1-0.2 1.5c-0.5 6.4 0.3 12.6 3 18.5l1.2 2.4c7.9 13.4 21.7 19 36.8 19 29.2 0 53.3-13.1 64.3-40.6 7.4 0.4 15-1.8 18.6-8.9l0.9-1.8z"/>
</g>
<path d="m53 21v11h11v-11h-11zm-28 14v11h11v-11h-11zm14 0v11h11v-11h-11zm14 0v11h11v-11h-11zm-42 14v11h11v-11h-11zm14 0v11h11v-11h-11zm14 0v11h11v-11h-11zm14 0v11h11v-11h-11zm14 0v11h11v-11h-11z" fill-rule="evenodd" stroke-width="1.8898"/>
</svg>

After

Width:  |  Height:  |  Size: 651 B