From a9274fe5406872ea7b7c7e4949664f065d63fd64 Mon Sep 17 00:00:00 2001 From: Carl Tibule Date: Sat, 24 Aug 2024 22:06:23 -0500 Subject: [PATCH] Initial commit. With test pages --- .gitignore | 1 + .gitmodules | 3 ++ MyPlayground/.hugo_build.lock | 0 MyPlayground/archetypes/default.md | 5 ++ MyPlayground/content/archive/testarchive.md | 8 ++++ MyPlayground/content/posts/helloworld.md | 8 ++++ MyPlayground/content/posts/konnichiwa.md | 8 ++++ MyPlayground/content/search.md | 7 +++ MyPlayground/hugo.toml | 51 +++++++++++++++++++++ MyPlayground/themes/PaperMod | 1 + Readme.md | 0 11 files changed, 92 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 MyPlayground/.hugo_build.lock create mode 100644 MyPlayground/archetypes/default.md create mode 100644 MyPlayground/content/archive/testarchive.md create mode 100644 MyPlayground/content/posts/helloworld.md create mode 100644 MyPlayground/content/posts/konnichiwa.md create mode 100644 MyPlayground/content/search.md create mode 100644 MyPlayground/hugo.toml create mode 160000 MyPlayground/themes/PaperMod create mode 100644 Readme.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d70ebaa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a1dd5a1 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "MyPlayground/themes/PaperMod"] + path = MyPlayground/themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/MyPlayground/.hugo_build.lock b/MyPlayground/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/MyPlayground/archetypes/default.md b/MyPlayground/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/MyPlayground/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/MyPlayground/content/archive/testarchive.md b/MyPlayground/content/archive/testarchive.md new file mode 100644 index 0000000..a336988 --- /dev/null +++ b/MyPlayground/content/archive/testarchive.md @@ -0,0 +1,8 @@ ++++ +title = 'Test Archive' +date = 2024-08-21T21:11:06-05:00 +tags = ["testing"] ++++ + +This is a test archive post + diff --git a/MyPlayground/content/posts/helloworld.md b/MyPlayground/content/posts/helloworld.md new file mode 100644 index 0000000..6499c9e --- /dev/null +++ b/MyPlayground/content/posts/helloworld.md @@ -0,0 +1,8 @@ ++++ +title = 'Hello World' +date = 2024-08-24T21:11:06-05:00 +tags = ["testing", "english"] ++++ + +This is a test. Lorem ipsum dolor + diff --git a/MyPlayground/content/posts/konnichiwa.md b/MyPlayground/content/posts/konnichiwa.md new file mode 100644 index 0000000..164ab74 --- /dev/null +++ b/MyPlayground/content/posts/konnichiwa.md @@ -0,0 +1,8 @@ ++++ +title = 'こんにちは!' +date = 2024-08-24T21:11:06-05:00 +tags = ["testing", "japanese"] ++++ + +このページはテストです。アメリカや!ハーロ + diff --git a/MyPlayground/content/search.md b/MyPlayground/content/search.md new file mode 100644 index 0000000..519cff3 --- /dev/null +++ b/MyPlayground/content/search.md @@ -0,0 +1,7 @@ +--- +title: "Search" # in any language you want +layout: "search" # necessary for search +# url: "/archive" +# description: "Description for Search" +summary: "search" +--- diff --git a/MyPlayground/hugo.toml b/MyPlayground/hugo.toml new file mode 100644 index 0000000..eef023e --- /dev/null +++ b/MyPlayground/hugo.toml @@ -0,0 +1,51 @@ +baseURL = 'https://myplayground.ctibule.ca/' +languageCode = 'en-us' +title = "Carl's Playground" +theme = 'PaperMod' +enableEmoji = true + +[params] +env = "production" + + [params.homeInfoParams] + Title = "Welcome in :wave:" + Content = "Enjoy my ramblings!" + + [[params.socialIcons]] + name = "gitea" + url = "https://gitea.iwanaga.moe" + + [[params.socialIcons]] + name = "linkedin" + url = "https://www.linkedin.com/in/carltibule/" + +[[menu.main]] +identifier = "search" +name = "Search" +url = "/search/" +weight = 10 + +[[menu.main]] +identifier = "categories" +name = "Categories" +url = "/categories/" +weight = 20 + +[[menu.main]] +identifier = "tags" +name = "Tags" +url = "/tags/" +weight = 30 + +[[menu.main]] +identifier = "archive" +name = "Archive" +url = "/archive/" +weight = 40 + +[outputs] +home = [ "HTML", "RSS", "JSON" ] + +[taxonomies] + tag = "tags" + category = "categories" \ No newline at end of file diff --git a/MyPlayground/themes/PaperMod b/MyPlayground/themes/PaperMod new file mode 160000 index 0000000..58c4841 --- /dev/null +++ b/MyPlayground/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit 58c4841c26325eaa788d9b13e65d5dfc95d9367c diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..e69de29