mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
09.54.2025 2bd232b5ec387fc5375e47ea942aec1444e69388
refactor(codestyle): rewrite author meta tag generation

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2 files deleted
1 files modified
10 ■■■■■ changed files
layouts/_default/baseof.html 8 ●●●●● patch | view | raw | blame | history
resources/_gen/assets/css/ananke/css/main.css_83735de7ca999e9c17f3419b41b93fdb.content 1 ●●●● patch | view | raw | blame | history
resources/_gen/assets/css/ananke/css/main.css_83735de7ca999e9c17f3419b41b93fdb.json 1 ●●●● patch | view | raw | blame | history
layouts/_default/baseof.html
@@ -16,13 +16,11 @@
      <meta name="robots" content="noindex, nofollow">
    {{ end }}
    {{ with .Params.author | default .Site.Params.author }}
      <meta name="author" content = "
      {{- $author := . -}}
        {{- if reflect.IsSlice . -}}
          {{ delimit . ", " | plainify }}
        {{- else -}}
          {{ . | plainify }}
        {{- $author = delimit . ", " | plainify -}}
        {{- end -}}
      ">
      <meta name="author" content="{{ $author }}">
    {{ end }}
    {{ partial "site-style.html" . }}
resources/_gen/assets/css/ananke/css/main.css_83735de7ca999e9c17f3419b41b93fdb.content
File was deleted
resources/_gen/assets/css/ananke/css/main.css_83735de7ca999e9c17f3419b41b93fdb.json
File was deleted