diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index e2b5f51f..1b63ca6d 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -2130,10 +2130,6 @@ video { margin-left: 1rem; } -.mr-1 { - margin-right: 0.25rem; -} - .mr-2 { margin-right: 0.5rem; } diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index 7c48893d..b42b4f87 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -4,6 +4,7 @@ title: "Hextra" enableRobotsTXT: true enableGitInfo: true +# enableEmoji: false # hasCJKLanguage: true outputs: @@ -88,22 +89,15 @@ params: # height: 20 footer: - disabled: false displayCopyright: true displayPoweredBy: true displayUpdatedDate: true dateFormat: "January 2, 2006" - toc: - disabled: false - search: - disabled: false - - math: - disabled: false + enable: true editURL: - disabled: false + enable: true base: "https://github.com/imfing/hextra/edit/main/exampleSite/content" diff --git a/exampleSite/hugo_stats.json b/exampleSite/hugo_stats.json index c793cd00..855211c8 100644 --- a/exampleSite/hugo_stats.json +++ b/exampleSite/hugo_stats.json @@ -347,7 +347,6 @@ "min-w-full", "ml-1", "ml-4", - "mr-1", "mr-2", "mt-1.5", "mt-12", diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c5825a45..bc63a867 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -11,15 +11,16 @@
- {{- if .Site.Params.footer.displayPoweredBy }}
{{ template "theme-credit" . }}
{{ end -}} - {{- if .Site.Params.footer.displayCopyright }}

{{ i18n "footer.copyright" }}

{{ end -}} + {{- if (.Site.Params.footer.displayPoweredBy | default true) }}
{{ template "theme-credit" . }}
{{ end }} + {{- if .Site.Params.footer.displayCopyright }}

{{ i18n "footer.copyright" }}

{{ end }}
{{- define "theme-credit" -}} - - Powered by Hextra - {{- partial "utils/icon.html" (dict "name" "hextra" "attributes" "height=1em") -}} + + Powered by Hextra + {{- partial "utils/icon.html" (dict "name" "hextra" "attributes" "height=1em class=\"inline-block ml-1 align-text-bottom\"") -}} + {{- end -}} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 3174b3f7..7778c021 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -10,11 +10,13 @@