From 6abbc1b22428eb3d5a7c6c19f896145580d87663 Mon Sep 17 00:00:00 2001 From: raphaelrobert Date: Mon, 2 Sep 2024 20:23:15 +0200 Subject: [PATCH 1/2] New theme --- .gitmodules | 3 +++ config.toml | 23 +++++++++++-------- .../2021-04-29-openmls-is-growing.md | 0 .../2021-05-18-openmls-first-benchmarks.md} | 0 .../2021-10-19-openmls-04-roadmap.md | 0 .../{ => posts}/2022-02-28-v0_4-release.md | 0 content/{ => posts}/2022-10-19-update.md | 0 .../{ => posts}/2023-07-20-v0_5-release.md | 0 content/{ => posts}/2024-04-11-pq-openmls.md | 0 themes/hugo-papermod | 1 + 10 files changed, 18 insertions(+), 9 deletions(-) rename content/{ => posts}/2021-04-29-openmls-is-growing.md (100%) rename content/{openmls-first-benchmarks.md => posts/2021-05-18-openmls-first-benchmarks.md} (100%) rename content/{ => posts}/2021-10-19-openmls-04-roadmap.md (100%) rename content/{ => posts}/2022-02-28-v0_4-release.md (100%) rename content/{ => posts}/2022-10-19-update.md (100%) rename content/{ => posts}/2023-07-20-v0_5-release.md (100%) rename content/{ => posts}/2024-04-11-pq-openmls.md (100%) create mode 160000 themes/hugo-papermod diff --git a/.gitmodules b/.gitmodules index f7a49ea..b0af49f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/hugo-theme-minos"] path = themes/hugo-theme-minos url = git@github.com:openmls/hugo-theme-minos.git +[submodule "themes/hugo-papermod"] + path = themes/hugo-papermod + url = https://github.com/adityatelange/hugo-PaperMod diff --git a/config.toml b/config.toml index 1369f9e..e718646 100644 --- a/config.toml +++ b/config.toml @@ -1,17 +1,22 @@ -baseURL = "https://openmls.tech/blog" +baseURL = "https://blog.openmls.tech" languageCode = "en-us" title = "OpenMLS" -theme = "hugo-theme-minos" +theme = "hugo-papermod" paginate = 10 [params] - smartToc = true - katex = true +smartToc = true +katex = true +mainSections = ["posts"] [menu] +[[menu.main]] +name = "Home" +url = "/" +weight = 1 - [[menu.main]] - identifier = "github" - name = "Github" - url = "https://github.com/openmls/openmls" - weight = -110 +[[menu.main]] +identifier = "github" +name = "Github" +url = "https://github.com/openmls/openmls" +weight = 2 diff --git a/content/2021-04-29-openmls-is-growing.md b/content/posts/2021-04-29-openmls-is-growing.md similarity index 100% rename from content/2021-04-29-openmls-is-growing.md rename to content/posts/2021-04-29-openmls-is-growing.md diff --git a/content/openmls-first-benchmarks.md b/content/posts/2021-05-18-openmls-first-benchmarks.md similarity index 100% rename from content/openmls-first-benchmarks.md rename to content/posts/2021-05-18-openmls-first-benchmarks.md diff --git a/content/2021-10-19-openmls-04-roadmap.md b/content/posts/2021-10-19-openmls-04-roadmap.md similarity index 100% rename from content/2021-10-19-openmls-04-roadmap.md rename to content/posts/2021-10-19-openmls-04-roadmap.md diff --git a/content/2022-02-28-v0_4-release.md b/content/posts/2022-02-28-v0_4-release.md similarity index 100% rename from content/2022-02-28-v0_4-release.md rename to content/posts/2022-02-28-v0_4-release.md diff --git a/content/2022-10-19-update.md b/content/posts/2022-10-19-update.md similarity index 100% rename from content/2022-10-19-update.md rename to content/posts/2022-10-19-update.md diff --git a/content/2023-07-20-v0_5-release.md b/content/posts/2023-07-20-v0_5-release.md similarity index 100% rename from content/2023-07-20-v0_5-release.md rename to content/posts/2023-07-20-v0_5-release.md diff --git a/content/2024-04-11-pq-openmls.md b/content/posts/2024-04-11-pq-openmls.md similarity index 100% rename from content/2024-04-11-pq-openmls.md rename to content/posts/2024-04-11-pq-openmls.md diff --git a/themes/hugo-papermod b/themes/hugo-papermod new file mode 160000 index 0000000..58c4841 --- /dev/null +++ b/themes/hugo-papermod @@ -0,0 +1 @@ +Subproject commit 58c4841c26325eaa788d9b13e65d5dfc95d9367c From 54d9adf470720ca777e41a74ded61419557d1d85 Mon Sep 17 00:00:00 2001 From: raphaelrobert Date: Mon, 2 Sep 2024 20:24:55 +0200 Subject: [PATCH 2/2] Remove old submodule --- .gitmodules | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index b0af49f..e8ed1d3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ -[submodule "themes/hugo-theme-minos"] - path = themes/hugo-theme-minos - url = git@github.com:openmls/hugo-theme-minos.git [submodule "themes/hugo-papermod"] path = themes/hugo-papermod url = https://github.com/adityatelange/hugo-PaperMod