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/"
|
||||
theme = "hugo-ficurinia"
|
||||
title = "My nice blog"
|
||||
languageCode = "en"
|
||||
defaultContentLanguage = "en"
|
||||
|
||||
# this will be included in the footer after the current year the site is last
|
||||
# built, followed by the (c) symbol
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="{{ if .IsHome }}home{{ end }}">
|
||||
<html class="{{ if .IsHome }}home{{ end }}" lang="{{ .Site.LanguageCode }}">
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
<div id="baseContainer">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
if (location.host != new URL("{{ .Site.BaseURL }}").host) location.href = "{{ .Site.BaseURL }}"
|
||||
</script>
|
||||
{{ 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="X-UA-Compatible" content="IE=7" />
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<a
|
||||
{{ if eq (lower .Identifier) "mastodon" }}
|
||||
rel="me"
|
||||
{{ else }}
|
||||
rel="noreferrer"
|
||||
{{ end }}
|
||||
target="_blank"
|
||||
class="nerdlink"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!-- NOTE: this is deprecated in favor of iconlink -->
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
class="nerdlink"
|
||||
href="{{ index . 1 }}">
|
||||
{{ if eq (lower (index . 0)) "gitlab" }}
|
||||
|
|
Loading…
Reference in New Issue