From a985b0e7899aefdf1bdbaf4639befac0fa2166b4 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Wed, 22 May 2024 11:45:14 +0800 Subject: [PATCH] :fire: Feat: remove `params.customFilePath` --- hugo.toml | 12 ------------ layouts/partials/custom/aside.html | 1 - layouts/partials/custom/footer.html | 6 ------ layouts/partials/custom/profile.html | 1 - layouts/partials/footer.html | 3 --- layouts/partials/home/profile.html | 3 --- layouts/partials/init/global.html | 7 ------- layouts/posts/single.html | 3 --- 8 files changed, 36 deletions(-) delete mode 100644 layouts/partials/custom/aside.html delete mode 100644 layouts/partials/custom/footer.html delete mode 100644 layouts/partials/custom/profile.html diff --git a/hugo.toml b/hugo.toml index fc3c7b68..5ec0c0f9 100644 --- a/hugo.toml +++ b/hugo.toml @@ -422,10 +422,6 @@ enableEmoji = true # Footer config [params.footer] enable = true - # TODO remove in the future - # FixIt 0.2.17 | CHANGED Custom content (HTML format is supported) - # For advanced use, see parameter `params.customFilePath.footer` - custom = "" # whether to show copyright info copyright = true # whether to show the author @@ -776,14 +772,6 @@ enableEmoji = true # ["barber-shop", "big-counter", "bounce", "center-atom", "center-circle", "center-radar", "center-simple", # "corner-indicator", "fill-left", "flash", "flat-top", "loading-bar", "mac-osx", "material", "minimal"] theme = "minimal" - - # TODO remove in the future - # FixIt 0.2.17 | NEW Define custom file paths - # Create your custom files in site directory `layouts/partials/custom` and uncomment needed files below - [params.customFilePath] - # aside = "custom/aside.html" - # profile = "custom/profile.html" - # footer = "custom/footer.html" # FixIt 0.2.15 | NEW Developer options # Select the scope named `public_repo` to generate personal access token, diff --git a/layouts/partials/custom/aside.html b/layouts/partials/custom/aside.html deleted file mode 100644 index 7a275beb..00000000 --- a/layouts/partials/custom/aside.html +++ /dev/null @@ -1 +0,0 @@ -{{- /* Custom aside html */ -}} diff --git a/layouts/partials/custom/footer.html b/layouts/partials/custom/footer.html deleted file mode 100644 index 08cc858a..00000000 --- a/layouts/partials/custom/footer.html +++ /dev/null @@ -1,6 +0,0 @@ -{{- /* Custom footer html */ -}} -{{- with .Site.Params.footer.custom -}} - -{{- end -}} \ No newline at end of file diff --git a/layouts/partials/custom/profile.html b/layouts/partials/custom/profile.html deleted file mode 100644 index 6864fb1b..00000000 --- a/layouts/partials/custom/profile.html +++ /dev/null @@ -1 +0,0 @@ -{{- /* Custom profile html at home page */ -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0506dedf..1c9e13dc 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,9 +3,6 @@ {{- if ne $footerConfig.enable false -}}