From 975439e5601c3abe16058e73e5b0d1ea6472edb9 Mon Sep 17 00:00:00 2001 From: Richard Oswald Date: Mon, 16 Jun 2025 17:40:52 -0500 Subject: [PATCH] added new content type config --- .gitmodules | 5 ++++- content | 1 + hugo.toml | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 160000 content diff --git a/.gitmodules b/.gitmodules index 23acb95..10497d7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,4 +3,7 @@ url = https://github.com/adityatelange/hugo-PaperMod.git [submodule "themes/terminal"] path = themes/terminal - url = https://git.theoswalds.com/public/hugo-theme-terminal.git \ No newline at end of file + url = https://git.theoswalds.com/public/hugo-theme-terminal.git +[submodule "content"] + path = content + url = https://git.theoswalds.com/public/hugo-richard-posts.git diff --git a/content b/content new file mode 160000 index 0000000..da78743 --- /dev/null +++ b/content @@ -0,0 +1 @@ +Subproject commit da787437c2bed61961994552ed7b089691203fdb diff --git a/hugo.toml b/hugo.toml index 8b301cb..49d443f 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ -publishDir = '/public' +publishDir = './public' baseURL = 'https://blog.theoswalds.com/' languageCode = "en-us" # Add it only if you keep the theme in the `themes` directory. @@ -12,7 +12,7 @@ noClasses = false [params] # dir name of your main content (default is `content/posts`). # the list of set content will show up on your index page (baseurl). -contentTypeName = "posts" +contentTypeName = "tutorials" # if you set this to 0, only submenu trigger will be visible showMenuItems = 2