From 9fcc8db044edd4cab041d94552c38512607dc0e5 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Thu, 3 Oct 2024 20:23:44 +0700 Subject: [PATCH] [Hugo] (Change) from hugo module to git submodule --- .gitignore | 1 - .gitmodules | 3 +++ config.yml | 5 +---- go.mod | 5 ----- themes/PaperMod | 1 + 5 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 .gitmodules delete mode 100644 go.mod create mode 160000 themes/PaperMod diff --git a/.gitignore b/.gitignore index eee5a86..0b82f07 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,3 @@ resources/ public/ .hugo_build.lock -go.sum diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..89af1b0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/config.yml b/config.yml index f31e90d..3848ee0 100644 --- a/config.yml +++ b/config.yml @@ -1,7 +1,4 @@ -module: - imports: - - path: github.com/adityatelange/hugo-PaperMod - +theme: ["PaperMod"] baseURL: "https://tiennm99.github.io" title: miti99 paginate: 5 diff --git a/go.mod b/go.mod deleted file mode 100644 index dfe01b0..0000000 --- a/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/tiennm99/miti99 - -go 1.22.0 - -require github.com/adityatelange/hugo-PaperMod v0.0.0-20240915081152-a2eb47bb4b80 // indirect diff --git a/themes/PaperMod b/themes/PaperMod new file mode 160000 index 0000000..a2eb47b --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit a2eb47bb4b805116dcd34c1605d39835121f8dbe