small fixes and optimizations
This commit is contained in:
parent
c0557c2fd0
commit
6819e4dc89
|
@ -22,6 +22,8 @@ These are some parameters you can use in your `config.toml` to customize Ficurin
|
||||||
baseURL = "https://example.com/"
|
baseURL = "https://example.com/"
|
||||||
theme = "hugo-ficurinia"
|
theme = "hugo-ficurinia"
|
||||||
title = "My nice blog"
|
title = "My nice blog"
|
||||||
|
languageCode = "en"
|
||||||
|
defaultContentLanguage = "en"
|
||||||
|
|
||||||
# this will be included in the footer after the current year the site is last
|
# this will be included in the footer after the current year the site is last
|
||||||
# built, followed by the (c) symbol
|
# built, followed by the (c) symbol
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="{{ if .IsHome }}home{{ end }}">
|
<html class="{{ if .IsHome }}home{{ end }}" lang="{{ .Site.LanguageCode }}">
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body>
|
<body>
|
||||||
<div id="baseContainer">
|
<div id="baseContainer">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
if (location.host != new URL("{{ .Site.BaseURL }}").host) location.href = "{{ .Site.BaseURL }}"
|
if (location.host != new URL("{{ .Site.BaseURL }}").host) location.href = "{{ .Site.BaseURL }}"
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=7" />
|
<meta http-equiv="X-UA-Compatible" content="IE=7" />
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<a
|
<a
|
||||||
{{ if eq (lower .Identifier) "mastodon" }}
|
{{ if eq (lower .Identifier) "mastodon" }}
|
||||||
rel="me"
|
rel="me"
|
||||||
|
{{ else }}
|
||||||
|
rel="noreferrer"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="nerdlink"
|
class="nerdlink"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
<!-- NOTE: this is deprecated in favor of iconlink -->
|
||||||
<a
|
<a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
class="nerdlink"
|
class="nerdlink"
|
||||||
href="{{ index . 1 }}">
|
href="{{ index . 1 }}">
|
||||||
{{ if eq (lower (index . 0)) "gitlab" }}
|
{{ if eq (lower (index . 0)) "gitlab" }}
|
||||||
|
|
Loading…
Reference in New Issue