diff --git a/.gitmodules b/.gitmodules index 3cab4f3..ca2d217 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/paper"] path = themes/paper url = https://github.com/nanxiaobei/hugo-paper.git +[submodule "themes/hugo-simplecite"] + path = themes/hugo-simplecite + url = https://github.com/joksas/hugo-simplecite diff --git a/hugo.toml b/hugo.toml index edaec02..4108fa3 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,6 @@ baseURL = 'https://blog.polarolouis.fr/' languageCode = 'en-us' title = "Polarolouis's Blog" -theme = 'paper' \ No newline at end of file +theme = ['paper', 'hugo-simplecite'] +sectionPagesMenu = 'main' +ignoreLogs = ['error-remote-getjson'] \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..18d9241 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,2 @@ +{{ $simpleciteStyle := resources.Get "scss/hugo-simplecite.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} + \ No newline at end of file diff --git a/themes/paper b/themes/paper index 456c165..271cb51 160000 --- a/themes/paper +++ b/themes/paper @@ -1 +1 @@ -Subproject commit 456c1657639f515c0e8efe08d73f4ddf1ff3cdb7 +Subproject commit 271cb5117c78024eab2593a5f216b80f806479b7