From ec0fc3c90c335d840bd38b404a2b8752f36280fa Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Sun, 28 Sep 2025 10:51:03 +0700 Subject: [PATCH] feat: change theme to paperMod (WIP) --- .gitignore | 30 +++++++++++++++++++++++++++--- .gitmodules | 6 +++--- archetypes/post.md | 37 +++++++++++++++++++++++++++++++++++++ themes/hugo-PaperMod | 1 + themes/hugo-theme-stack | 1 - 5 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 archetypes/post.md create mode 160000 themes/hugo-PaperMod delete mode 160000 themes/hugo-theme-stack diff --git a/.gitignore b/.gitignore index 0b82f07..294e9ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,28 @@ -.idea/ -resources/ -public/ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe +*.test + +/public +.DS_Store .hugo_build.lock +resources/_gen/ diff --git a/.gitmodules b/.gitmodules index 12232b0..a100308 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "themes/hugo-theme-stack"] - path = themes/hugo-theme-stack - url = https://github.com/CaiJimmy/hugo-theme-stack/ +[submodule "themes/hugo-PaperMod"] + path = themes/hugo-PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/archetypes/post.md b/archetypes/post.md new file mode 100644 index 0000000..9e68b93 --- /dev/null +++ b/archetypes/post.md @@ -0,0 +1,37 @@ +--- +title: "My 1st post" +date: 2020-09-15T11:30:03+00:00 +# weight: 1 +# aliases: ["/first"] +tags: ["first"] +author: "Me" +# author: ["Me", "You"] # multiple authors +showToc: true +TocOpen: false +draft: false +hidemeta: false +comments: false +description: "Desc Text." +canonicalURL: "https://canonical.url/to/page" +disableHLJS: true # to disable highlightjs +disableShare: false +disableHLJS: false +hideSummary: false +searchHidden: true +ShowReadingTime: true +ShowBreadCrumbs: true +ShowPostNavLinks: true +ShowWordCount: true +ShowRssButtonInSectionTermList: true +UseHugoToc: true +cover: + image: "" # image path/url + alt: "" # alt text + caption: "" # display caption under cover + relative: false # when using page bundles set this to true + hidden: true # only hide on current single page +editPost: + URL: "https://github.com//content" + Text: "Suggest Changes" # edit text + appendFilePath: true # to append file path to Edit link +--- diff --git a/themes/hugo-PaperMod b/themes/hugo-PaperMod new file mode 160000 index 0000000..a2eb47b --- /dev/null +++ b/themes/hugo-PaperMod @@ -0,0 +1 @@ +Subproject commit a2eb47bb4b805116dcd34c1605d39835121f8dbe diff --git a/themes/hugo-theme-stack b/themes/hugo-theme-stack deleted file mode 160000 index 9e6b7b2..0000000 --- a/themes/hugo-theme-stack +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9e6b7b22a9d47478a72287bcdc29e885dcd8f359