From c30ff2e1d47aad143ca0ab52ea7536b808df2dcb Mon Sep 17 00:00:00 2001 From: altf4arnold Date: Sat, 19 Oct 2024 19:37:45 +0200 Subject: [PATCH 1/2] Deprecation message at build ERROR deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.137.0. Use .Site.Config.Services.Disqus.Shortname instead. --- layouts/_default/single.html | 2 +- layouts/partials/page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1f00b30..b29d493 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -49,7 +49,7 @@ {{ .Content }} - {{ if .Site.DisqusShortname }} + {{ if .Site.Config.Services.Disqus.Shortname }}
{{ template "_internal/disqus.html" . }}
diff --git a/layouts/partials/page.html b/layouts/partials/page.html index e0eb4df..091bec9 100644 --- a/layouts/partials/page.html +++ b/layouts/partials/page.html @@ -2,7 +2,7 @@
{{ .Content }} - {{ if .Site.DisqusShortname }} + {{ if .Site.Config.Services.Disqus.Shortname }}
{{ template "_internal/disqus.html" . }}
From 31efd813de737ac6474fa288f101c9472037d690 Mon Sep 17 00:00:00 2001 From: altf4arnold Date: Sat, 19 Oct 2024 19:39:34 +0200 Subject: [PATCH 2/2] Links are not distinguishable from the other content --- .../static/css/custom.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/themes/hugo-universal-theme/static/css/custom.css b/themes/hugo-universal-theme/static/css/custom.css index a745873..df050a8 100644 --- a/themes/hugo-universal-theme/static/css/custom.css +++ b/themes/hugo-universal-theme/static/css/custom.css @@ -11,3 +11,22 @@ .box-simple { min-height: 230px; } + +a { + color: #ff6905; + text-decoration: none; + transition: color 0.3s ease; +} + +a:hover { + color: #e55f00; + text-decoration: underline; +} + +a:visited { + color: #b34c00; +} + +a:active { + color: #cc5500; +}