From 36d5001e105228bf6bbcfb7a33c12bd7bebf2268 Mon Sep 17 00:00:00 2001
From: lxndrblz <12200062+lxndrblz@users.noreply.github.com>
Date: Sat, 07 Jun 2025 13:03:32 +0000
Subject: [PATCH] style: prettier format all files

---
 exampleSite/content/english/post/math-typesetting.md |    5 +++--
 layouts/partials/head.html                           |    8 +++++++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/exampleSite/content/english/post/math-typesetting.md b/exampleSite/content/english/post/math-typesetting.md
index d536c72..e154645 100644
--- a/exampleSite/content/english/post/math-typesetting.md
+++ b/exampleSite/content/english/post/math-typesetting.md
@@ -6,6 +6,7 @@
 ---
 
 For math typesetting in a Hugo project, you can leverage hugo's internal [\(\KaTeX\)](https://katex.org/) rendering engine.
+
 <!--more-->
 
 If you want to use mathematical or chemical equations in your site, enable the [Goldmark passthrough extension](https://gohugo.io/render-hooks/passthrough/) and define delimiters for block and inline formulae in your config file:
@@ -32,13 +33,13 @@
 Block math:
 
 $$
-\tag*{(1)} \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots}}} 
+\tag*{(1)} \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots}}}
 $$
 
 Chemical equations:
 
 \[
-\tag*{(2)} \ce{Zn^2+  <=>[+ 2OH-][+ 2H+]  $\underset{\text{amphoteric hydroxide}}{\ce{Zn(OH)2 v}}$  <=>[+ 2OH-][+ 2H+]  $\underset{\text{tetrahydroxozincate}}{\ce{[Zn(OH)4]^2-}}$}
+\tag\*{(2)} \ce{Zn^2+ <=>[+ 2OH-][+ 2H+] $\underset{\text{amphoteric hydroxide}}{\ce{Zn(OH)2 v}}$ <=>[+ 2OH-][+ 2H+] $\underset{\text{tetrahydroxozincate}}{\ce{[Zn(OH)4]^2-}}$}
 \]
 
 **Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c3f8f3c..70fbe93 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -231,6 +231,7 @@
   <!-- Schema.org-->
   {{ partial "schema.html" . }}
 
+
   <!-- KaTeX-->
   {{ $noop := .WordCount }}
   {{ if .Page.Store.Get "hasMath" }}
@@ -241,7 +242,12 @@
       {{ else with.Value -}}
         {{ with resources.Copy (printf "css/katex%s.css" (cond hugo.IsProduction ".min" "")) . }}
           {{ $secureCSS := . | resources.Fingerprint "sha512" -}}
-<link rel="stylesheet" href="{{- .RelPermalink -}}" integrity="{{- $secureCSS.Data.Integrity -}}" crossorigin="anonymous">
+          <link
+            rel="stylesheet"
+            href="{{- .RelPermalink -}}"
+            integrity="{{- $secureCSS.Data.Integrity -}}"
+            crossorigin="anonymous"
+          />
         {{ end -}}
       {{ end -}}
     {{ end -}}

--
Gitblit v1.10.0