Various optimisations, now spreadsheets are loaded asynchronously.

+ adding stackoverflow icon
+ adding omegicons fontellico config.json for easier building next time.
This commit is contained in:
Adsooi 2021-08-02 23:18:27 +02:00
parent cc60e2f2a3
commit 737e3a27bc
No known key found for this signature in database
GPG key ID: 9C87C7D3A69E6BBE
6 changed files with 471 additions and 8 deletions

View file

@ -62,6 +62,15 @@
"file": {
"other": "File:"
},
"storeFlathub": {
"other": "Download on Flathub"
},
"storeSnapcraft": {
"other": "Get it from the Snap Store"
},
"storeFirefoxAddons": {
"other": "Get it from the Firefox Addons"
},
"websiteSource": {
"other": "Website source code"
},

View file

@ -62,6 +62,15 @@
"file": {
"other": "Fichier :"
},
"storeFlathub": {
"other": "Installer depuis Flathub"
},
"storeSnapcraft": {
"other": "Installer à partir du Snap Store"
},
"storeFirefoxAddons": {
"other": "Installer depuis Firefox Addons"
},
"websiteSource": {
"other": "Code source du site"
},

View file

@ -117,17 +117,17 @@
<h3>{{ .Title }}</h3>
{{ if hasPrefix .Title "Flatpak" }}
<a href="https://flathub.org/apps/details/{{ .Index }}" class="padding-container-1">
<img src="/img/badges/{{ $lang }}/flathub.svg"></img>
<img src="/img/badges/{{ $lang }}/flathub.svg" alt="{{ i18n "storeFlathub" }}"></img>
</a>
<br><br>{{ i18n "warnExternalWebsite" "flathub.org" }}
{{ else if hasPrefix .Title "Snap" }}
<a href="https://snapcraft.io/{{ .Index }}" class="padding-container-1">
<img src="/img/badges/{{ $lang }}/snapcraft.svg"></img>
<img src="/img/badges/{{ $lang }}/snapcraft.svg" alt="{{ i18n "storeSnapcraft" }}"></img>
</a>
<br><br>{{ i18n "warnExternalWebsite" "snapcraft.io" }}
{{ else if hasPrefix .Title "Firefox" }}
<a href="https://addons.mozilla.org/en-US/firefox/addon/{{ .Index }}/" class="padding-container-1">
<img src="/img/badges/{{ $lang }}/amo.svg"></img>
<img src="/img/badges/{{ $lang }}/amo.svg" alt="{{ i18n "storeFirefoxAddons" }}"></img>
</a>
<br><br>{{ i18n "warnExternalWebsite" "addons.mozilla.org" }}
{{ else }}

View file

@ -2,14 +2,14 @@
<title>{{ .Site.Title }} - {{ .Title }}</title>
<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/omegicons/omegicons.eot?71804627">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.woff2?71804627">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.ttf?71804627">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.eot?54316140">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.woff2?54316140">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.ttf?54316140">
{{ $mainstyle := resources.Get "/scss/main.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $mainstyle.Permalink }}">
<link rel="preload" href="{{ $mainstyle.Permalink }}" as="style" onload="this.rel='stylesheet'">
{{ if .Site.Params.includeAppsStyle }}
{{ $appsstyle := resources.Get "/scss/apps.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $appsstyle.Permalink }}">
<link rel="preload" href="{{ $appsstyle.Permalink }}" as="style" onload="this.rel='stylesheet'">
{{ end }}
<link rel="icon" href="/img/icon.png">
{{ hugo.Generator }}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 21h-10v-2h10v2zm6-11.665l-1.621-9.335-1.993.346 1.62 9.335 1.994-.346zm-5.964 6.937l-9.746-.975-.186 2.016 9.755.879.177-1.92zm.538-2.587l-9.276-2.608-.526 1.954 9.306 2.5.496-1.846zm1.204-2.413l-8.297-4.864-1.029 1.743 8.298 4.865 1.028-1.744zm1.866-1.467l-5.339-7.829-1.672 1.14 5.339 7.829 1.672-1.14zm-2.644 4.195v8h-12v-8h-2v10h16v-10h-2z"/></svg>

After

Width:  |  Height:  |  Size: 448 B