diff --git a/assets/css/common/footer.css b/assets/css/common/footer.css index 1e5632b..65b4e2c 100644 --- a/assets/css/common/footer.css +++ b/assets/css/common/footer.css @@ -17,6 +17,10 @@ margin-inline-end: 1px } +.footer span:last-child { + white-space: nowrap; +} + .footer a { color: inherit; border-bottom: 1px solid var(--secondary) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 8070d9d..eca41b7 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -11,7 +11,7 @@ {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} @@ -41,7 +41,7 @@ {{ .Permalink }} {{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}} {{- if .Site.Params.ShowFullTextinRSS }} - {{ .Content | html }} + {{ (printf "" .Content) | safeHTML }} {{- end }} {{- end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d9418ad..7ce04ba 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,10 +5,11 @@ © {{ now.Year }} {{- .Site.Params.label.text | default .Site.Title }} {{- end }} {{- if not $.Site.Params.hideCredits }} - · - Powered by Hugo - · - Theme PaperMod + + Powered by + Hugo & + PaperMod + {{- end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b4fccfb..ac9108a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -58,6 +58,16 @@ {{- end }} +{{- with .Site.Params.profileMode }} +{{- if and .enabled .imageUrl }} + +{{- end }} +{{- end }} + +{{- with .Site.Params.label.icon }} + +{{- end }} + {{- /* Search */}} {{- if (eq .Layout `search`) -}} @@ -99,7 +109,7 @@ {{- /* RSS */}} {{ range .AlternativeOutputFormats -}} - + {{ end -}} {{- range .AllTranslations -}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 173763b..78ed310 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -123,12 +123,12 @@ {{- range . -}} {{- if ne $lang .Lang }}
  • - + {{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }} {{- .Language.LanguageName | emojify -}} {{- else }} - {{- .Lang | humanize -}} + {{- .Lang | title -}} {{- end -}}
  • diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index 478f372..b7753f9 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -12,8 +12,8 @@ {{- with .buttons }}
    {{- range . }} - - {{ .name }} + + {{ .name | title }} {{- end }}
    diff --git a/layouts/partials/social_icons.html b/layouts/partials/social_icons.html index 046b343..7c16e30 100644 --- a/layouts/partials/social_icons.html +++ b/layouts/partials/social_icons.html @@ -1,6 +1,6 @@