Changed theme configuration to avoid using git submodules
This commit is contained in:
parent
a4a31e03f1
commit
0885320deb
7 changed files with 9 additions and 10 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "themes/congo"]
|
|
||||||
path = themes/congo
|
|
||||||
url = https://github.com/jpanther/congo.git
|
|
|
@ -7,10 +7,6 @@ RUN apk add --no-cache hugo git ca-certificates
|
||||||
# Copy the repository contents
|
# Copy the repository contents
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Initialize submodules
|
|
||||||
RUN git status
|
|
||||||
RUN git submodule status
|
|
||||||
RUN git submodule update --init
|
|
||||||
|
|
||||||
# Build the site
|
# Build the site
|
||||||
RUN hugo --minify
|
RUN hugo --minify
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
baseURL = "https://karsttech.com/"
|
baseURL = "https://karsttech.com/"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
|
|
||||||
theme = "congo"
|
|
||||||
|
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
summaryLength = 0
|
summaryLength = 0
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
[hugoVersion]
|
[hugoVersion]
|
||||||
extended = true
|
extended = true
|
||||||
min = "0.87.0"
|
min = "0.87.0"
|
||||||
|
[[imports]]
|
||||||
|
path = "github.com/jpanther/congo/v2"
|
5
go.mod
Normal file
5
go.mod
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
module code.karsttech.com/jeremy/karsttech.com
|
||||||
|
|
||||||
|
go 1.24.2
|
||||||
|
|
||||||
|
require github.com/jpanther/congo/v2 v2.11.0 // indirect
|
2
go.sum
Normal file
2
go.sum
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
github.com/jpanther/congo/v2 v2.11.0 h1:whwuUIn20egAPfMR3HaFu7sW7/rz096bz26sgpsUAwk=
|
||||||
|
github.com/jpanther/congo/v2 v2.11.0/go.mod h1:1S7DRoO1ZYS4YUdFd1LjTkdyjQwsjFWd8TqSfz3Jd+M=
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 343ba2a4ae2b7cfec5a0873320e075c894bff304
|
|
Loading…
Add table
Reference in a new issue