[HUGO] Automated PR for workflow-test-run_2025-07-21T13-30-22 - #5 #5

Merged
gitea-sonarqube-bot merged 1 commits from workflow-test-run_2025-07-21T13-30-22 into main 2025-07-22 13:59:49 -04:00
7 changed files with 13 additions and 13 deletions
@@ -1,9 +1,9 @@
{{ $jsHome := resources.Get "js/home.js" | resources.Minify | resources.Fingerprint "sha512" }}
<div id="page">
{{ partial "partials/home/page.html" . }}
{{ partial "home/page.html" . }}
</div>
<div id="profile" class="hidden h-full">
{{ partial "partials/home/profile.html" . }}
{{ partial "home/profile.html" . }}
</div>
<script
defer
+4 -4
View File
@@ -1,5 +1,5 @@
{{- partial "partials/functions/warnings.html" .Site -}}
{{- partial "partials/functions/init.html" . -}}
{{- partial "functions/warnings.html" .Site -}}
{{- partial "functions/init.html" . -}}
<!doctype html>
<html
lang="{{- site.Language.LanguageCode | default "" -}}"
@@ -20,11 +20,11 @@
>{{ i18n "nav.skip_to_main" }}</a
>
</div>
{{ $header := print "partials/header/" .Site.Params.header.layout ".html" }}
{{ $header := print "header/" .Site.Params.header.layout ".html" }}
{{ if templates.Exists $header }}
{{ partial $header . }}
{{ else }}
{{ partial "partials/header/basic.html" . }}
{{ partial "header/basic.html" . }}
{{ end }}
<div class="relative flex grow flex-col">
<main id="main-content" class="grow">
+1 -1
View File
@@ -50,7 +50,7 @@
{{ partial "sharing-links.html" . }}
{{ partial "article-pagination.html" . }}
{{ if .Params.showComments | default (.Site.Params.article.showComments | default false) }}
{{ if templates.Exists "partials/comments.html" }}
{{ if templates.Exists "comments.html" }}
<div class="pt-3">
<hr class="border-dotted border-neutral-300 dark:border-neutral-600" />
<div class="pt-3">
+2 -2
View File
@@ -1,8 +1,8 @@
{{ define "main" }}
{{ $partial := print "partials/home/" .Site.Params.homepage.layout ".html" }}
{{ $partial := print "home/" .Site.Params.homepage.layout ".html" }}
{{ if templates.Exists $partial }}
{{ partial $partial . }}
{{ else }}
{{ partial "partials/home/page.html" . }}
{{ partial "home/page.html" . }}
{{ end }}
{{ end }}
@@ -61,7 +61,7 @@
{{ partial "badge.html" (i18n "article.draft" | emojify) }}
</div>
{{ end }}
{{ if templates.Exists "partials/extend-article-link.html" }}
{{ if templates.Exists "extend-article-link.html" }}
{{ partial "extend-article-link.html" . }}
{{ end }}
</h3>
+1 -1
View File
@@ -134,7 +134,7 @@
</div>
</div>
{{/* Extend footer - eg. for extra scripts, etc. */}}
{{ if templates.Exists "partials/extend-footer.html" }}
{{ if templates.Exists "extend-footer.html" }}
{{ partial "extend-footer.html" . }}
{{ end }}
</footer>
+2 -2
View File
@@ -99,7 +99,7 @@
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink ($.Site.Title | emojify) | safeHTML }}
{{ end -}}
{{/* Icons */}}
{{ if templates.Exists "partials/favicons.html" }}
{{ if templates.Exists "favicons.html" }}
{{ partialCached "favicons.html" .Site }}
{{ else }}
<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | relURL }}" />
@@ -140,7 +140,7 @@
{{/* Analytics */}}
{{ partial "analytics.html" . }}
{{/* Extend head - eg. for custom analytics scripts, etc. */}}
{{ if templates.Exists "partials/extend-head.html" }}
{{ if templates.Exists "extend-head.html" }}
{{ partial "extend-head.html" . }}
{{ end }}
</head>