From 73cbda64944d40b474130a740f3a6718e444d6ea Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Wed, 13 Oct 2021 20:17:54 -0500 Subject: [PATCH 1/3] Initialize Hugo site --- .gitmodules | 3 +++ archetypes/default.md | 6 ++++++ config.toml | 9 +++++++++ {about => content/about}/index.html | 0 {about => content/about}/skills/index.html | 0 .../competitive-programming}/index.html | 0 {contact => content/contact}/index.html | 0 {contact => content/contact}/ta180m.asc | 0 {fun => content/fun}/books/index.html | 0 {fun => content/fun}/dodecahedra/0001-0240.mkv | Bin .../1024px-Dodecahedron.svg-adjusted.png | Bin .../1024px-Dodecahedron.svg-adjusted.xcf | Bin .../fun}/dodecahedra/1024px-Dodecahedron.svg.jpg | Bin .../fun}/dodecahedra/1024px-Dodecahedron.svg.png | Bin {fun => content/fun}/dodecahedra/1365-1024.jpg | Bin {fun => content/fun}/dodecahedra/Dodecahedron-0.png | Bin {fun => content/fun}/dodecahedra/Dodecahedron-6.png | Bin {fun => content/fun}/dodecahedra/Dodecahedron.gif | Bin {fun => content/fun}/dodecahedra/Dodecahedron.jpg | Bin {fun => content/fun}/dodecahedra/Dodecahedron.svg | 0 {fun => content/fun}/dodecahedra/dodecahedron.blend | Bin .../fun}/dodecahedra/dodecahedron.blend1 | Bin {fun => content/fun}/dodecahedra/index.html | 0 {fun => content/fun}/dodecahedra/inverted.png | Bin .../dodecahedra/origami-dodecahedron-adjusted.png | Bin .../dodecahedra/origami-dodecahedron-adjusted.webp | Bin .../dodecahedra/origami-dodecahedron-adjusted.xcf | Bin .../dodecahedra/origami-dodecahedron-cropped.jpg | Bin .../fun}/dodecahedra/origami-dodecahedron.jpg | Bin {fun => content/fun}/dodecahedra/out.gif | Bin {fun => content/fun}/dodecahedra/render-cropped.png | Bin .../fun}/dodecahedra/render-cropped.webp | Bin {fun => content/fun}/dodecahedra/render-small.gif | Bin {fun => content/fun}/dodecahedra/render.gif | Bin {fun => content/fun}/dodecahedra/render.png | Bin {fun => content/fun}/games/index.html | 0 {fun => content/fun}/hate/index.html | 0 {fun => content/fun}/index.html | 0 {fun => content/fun}/software/index.html | 0 themes/gokarna | 1 + 40 files changed, 19 insertions(+) create mode 100644 archetypes/default.md create mode 100644 config.toml rename {about => content/about}/index.html (100%) rename {about => content/about}/skills/index.html (100%) rename {competitive-programming => content/competitive-programming}/index.html (100%) rename {contact => content/contact}/index.html (100%) rename {contact => content/contact}/ta180m.asc (100%) rename {fun => content/fun}/books/index.html (100%) rename {fun => content/fun}/dodecahedra/0001-0240.mkv (100%) rename {fun => content/fun}/dodecahedra/1024px-Dodecahedron.svg-adjusted.png (100%) rename {fun => content/fun}/dodecahedra/1024px-Dodecahedron.svg-adjusted.xcf (100%) rename {fun => content/fun}/dodecahedra/1024px-Dodecahedron.svg.jpg (100%) rename {fun => content/fun}/dodecahedra/1024px-Dodecahedron.svg.png (100%) rename {fun => content/fun}/dodecahedra/1365-1024.jpg (100%) rename {fun => content/fun}/dodecahedra/Dodecahedron-0.png (100%) rename {fun => content/fun}/dodecahedra/Dodecahedron-6.png (100%) rename {fun => content/fun}/dodecahedra/Dodecahedron.gif (100%) rename {fun => content/fun}/dodecahedra/Dodecahedron.jpg (100%) rename {fun => content/fun}/dodecahedra/Dodecahedron.svg (100%) rename {fun => content/fun}/dodecahedra/dodecahedron.blend (100%) rename {fun => content/fun}/dodecahedra/dodecahedron.blend1 (100%) rename {fun => content/fun}/dodecahedra/index.html (100%) rename {fun => content/fun}/dodecahedra/inverted.png (100%) rename {fun => content/fun}/dodecahedra/origami-dodecahedron-adjusted.png (100%) rename {fun => content/fun}/dodecahedra/origami-dodecahedron-adjusted.webp (100%) rename {fun => content/fun}/dodecahedra/origami-dodecahedron-adjusted.xcf (100%) rename {fun => content/fun}/dodecahedra/origami-dodecahedron-cropped.jpg (100%) rename {fun => content/fun}/dodecahedra/origami-dodecahedron.jpg (100%) rename {fun => content/fun}/dodecahedra/out.gif (100%) rename {fun => content/fun}/dodecahedra/render-cropped.png (100%) rename {fun => content/fun}/dodecahedra/render-cropped.webp (100%) rename {fun => content/fun}/dodecahedra/render-small.gif (100%) rename {fun => content/fun}/dodecahedra/render.gif (100%) rename {fun => content/fun}/dodecahedra/render.png (100%) rename {fun => content/fun}/games/index.html (100%) rename {fun => content/fun}/hate/index.html (100%) rename {fun => content/fun}/index.html (100%) rename {fun => content/fun}/software/index.html (100%) create mode 160000 themes/gokarna diff --git a/.gitmodules b/.gitmodules index 35a8f3f0..db40a56f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "blog"] path = blog url = ../blog.git +[submodule "themes/gokarna"] + path = themes/gokarna + url = https://github.com/526avijitgupta/gokarna.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 00000000..00e77bd7 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 00000000..816a1205 --- /dev/null +++ b/config.toml @@ -0,0 +1,9 @@ +baseURL = 'http://example.org/' +languageCode = 'en-us' +title = 'Some Random Website' +theme = 'gokarna' + +[params] + avatarURL = '/fun/dodecahedra/render-cropped.png' + description = 'Hello!' + accentColor = '#00dd42' diff --git a/about/index.html b/content/about/index.html similarity index 100% rename from about/index.html rename to content/about/index.html diff --git a/about/skills/index.html b/content/about/skills/index.html similarity index 100% rename from about/skills/index.html rename to content/about/skills/index.html diff --git a/competitive-programming/index.html b/content/competitive-programming/index.html similarity index 100% rename from competitive-programming/index.html rename to content/competitive-programming/index.html diff --git a/contact/index.html b/content/contact/index.html similarity index 100% rename from contact/index.html rename to content/contact/index.html diff --git a/contact/ta180m.asc b/content/contact/ta180m.asc similarity index 100% rename from contact/ta180m.asc rename to content/contact/ta180m.asc diff --git a/fun/books/index.html b/content/fun/books/index.html similarity index 100% rename from fun/books/index.html rename to content/fun/books/index.html diff --git a/fun/dodecahedra/0001-0240.mkv b/content/fun/dodecahedra/0001-0240.mkv similarity index 100% rename from fun/dodecahedra/0001-0240.mkv rename to content/fun/dodecahedra/0001-0240.mkv diff --git a/fun/dodecahedra/1024px-Dodecahedron.svg-adjusted.png b/content/fun/dodecahedra/1024px-Dodecahedron.svg-adjusted.png similarity index 100% rename from fun/dodecahedra/1024px-Dodecahedron.svg-adjusted.png rename to content/fun/dodecahedra/1024px-Dodecahedron.svg-adjusted.png diff --git a/fun/dodecahedra/1024px-Dodecahedron.svg-adjusted.xcf b/content/fun/dodecahedra/1024px-Dodecahedron.svg-adjusted.xcf similarity index 100% rename from fun/dodecahedra/1024px-Dodecahedron.svg-adjusted.xcf rename to content/fun/dodecahedra/1024px-Dodecahedron.svg-adjusted.xcf diff --git a/fun/dodecahedra/1024px-Dodecahedron.svg.jpg b/content/fun/dodecahedra/1024px-Dodecahedron.svg.jpg similarity index 100% rename from fun/dodecahedra/1024px-Dodecahedron.svg.jpg rename to content/fun/dodecahedra/1024px-Dodecahedron.svg.jpg diff --git a/fun/dodecahedra/1024px-Dodecahedron.svg.png b/content/fun/dodecahedra/1024px-Dodecahedron.svg.png similarity index 100% rename from fun/dodecahedra/1024px-Dodecahedron.svg.png rename to content/fun/dodecahedra/1024px-Dodecahedron.svg.png diff --git a/fun/dodecahedra/1365-1024.jpg b/content/fun/dodecahedra/1365-1024.jpg similarity index 100% rename from fun/dodecahedra/1365-1024.jpg rename to content/fun/dodecahedra/1365-1024.jpg diff --git a/fun/dodecahedra/Dodecahedron-0.png b/content/fun/dodecahedra/Dodecahedron-0.png similarity index 100% rename from fun/dodecahedra/Dodecahedron-0.png rename to content/fun/dodecahedra/Dodecahedron-0.png diff --git a/fun/dodecahedra/Dodecahedron-6.png b/content/fun/dodecahedra/Dodecahedron-6.png similarity index 100% rename from fun/dodecahedra/Dodecahedron-6.png rename to content/fun/dodecahedra/Dodecahedron-6.png diff --git a/fun/dodecahedra/Dodecahedron.gif b/content/fun/dodecahedra/Dodecahedron.gif similarity index 100% rename from fun/dodecahedra/Dodecahedron.gif rename to content/fun/dodecahedra/Dodecahedron.gif diff --git a/fun/dodecahedra/Dodecahedron.jpg b/content/fun/dodecahedra/Dodecahedron.jpg similarity index 100% rename from fun/dodecahedra/Dodecahedron.jpg rename to content/fun/dodecahedra/Dodecahedron.jpg diff --git a/fun/dodecahedra/Dodecahedron.svg b/content/fun/dodecahedra/Dodecahedron.svg similarity index 100% rename from fun/dodecahedra/Dodecahedron.svg rename to content/fun/dodecahedra/Dodecahedron.svg diff --git a/fun/dodecahedra/dodecahedron.blend b/content/fun/dodecahedra/dodecahedron.blend similarity index 100% rename from fun/dodecahedra/dodecahedron.blend rename to content/fun/dodecahedra/dodecahedron.blend diff --git a/fun/dodecahedra/dodecahedron.blend1 b/content/fun/dodecahedra/dodecahedron.blend1 similarity index 100% rename from fun/dodecahedra/dodecahedron.blend1 rename to content/fun/dodecahedra/dodecahedron.blend1 diff --git a/fun/dodecahedra/index.html b/content/fun/dodecahedra/index.html similarity index 100% rename from fun/dodecahedra/index.html rename to content/fun/dodecahedra/index.html diff --git a/fun/dodecahedra/inverted.png b/content/fun/dodecahedra/inverted.png similarity index 100% rename from fun/dodecahedra/inverted.png rename to content/fun/dodecahedra/inverted.png diff --git a/fun/dodecahedra/origami-dodecahedron-adjusted.png b/content/fun/dodecahedra/origami-dodecahedron-adjusted.png similarity index 100% rename from fun/dodecahedra/origami-dodecahedron-adjusted.png rename to content/fun/dodecahedra/origami-dodecahedron-adjusted.png diff --git a/fun/dodecahedra/origami-dodecahedron-adjusted.webp b/content/fun/dodecahedra/origami-dodecahedron-adjusted.webp similarity index 100% rename from fun/dodecahedra/origami-dodecahedron-adjusted.webp rename to content/fun/dodecahedra/origami-dodecahedron-adjusted.webp diff --git a/fun/dodecahedra/origami-dodecahedron-adjusted.xcf b/content/fun/dodecahedra/origami-dodecahedron-adjusted.xcf similarity index 100% rename from fun/dodecahedra/origami-dodecahedron-adjusted.xcf rename to content/fun/dodecahedra/origami-dodecahedron-adjusted.xcf diff --git a/fun/dodecahedra/origami-dodecahedron-cropped.jpg b/content/fun/dodecahedra/origami-dodecahedron-cropped.jpg similarity index 100% rename from fun/dodecahedra/origami-dodecahedron-cropped.jpg rename to content/fun/dodecahedra/origami-dodecahedron-cropped.jpg diff --git a/fun/dodecahedra/origami-dodecahedron.jpg b/content/fun/dodecahedra/origami-dodecahedron.jpg similarity index 100% rename from fun/dodecahedra/origami-dodecahedron.jpg rename to content/fun/dodecahedra/origami-dodecahedron.jpg diff --git a/fun/dodecahedra/out.gif b/content/fun/dodecahedra/out.gif similarity index 100% rename from fun/dodecahedra/out.gif rename to content/fun/dodecahedra/out.gif diff --git a/fun/dodecahedra/render-cropped.png b/content/fun/dodecahedra/render-cropped.png similarity index 100% rename from fun/dodecahedra/render-cropped.png rename to content/fun/dodecahedra/render-cropped.png diff --git a/fun/dodecahedra/render-cropped.webp b/content/fun/dodecahedra/render-cropped.webp similarity index 100% rename from fun/dodecahedra/render-cropped.webp rename to content/fun/dodecahedra/render-cropped.webp diff --git a/fun/dodecahedra/render-small.gif b/content/fun/dodecahedra/render-small.gif similarity index 100% rename from fun/dodecahedra/render-small.gif rename to content/fun/dodecahedra/render-small.gif diff --git a/fun/dodecahedra/render.gif b/content/fun/dodecahedra/render.gif similarity index 100% rename from fun/dodecahedra/render.gif rename to content/fun/dodecahedra/render.gif diff --git a/fun/dodecahedra/render.png b/content/fun/dodecahedra/render.png similarity index 100% rename from fun/dodecahedra/render.png rename to content/fun/dodecahedra/render.png diff --git a/fun/games/index.html b/content/fun/games/index.html similarity index 100% rename from fun/games/index.html rename to content/fun/games/index.html diff --git a/fun/hate/index.html b/content/fun/hate/index.html similarity index 100% rename from fun/hate/index.html rename to content/fun/hate/index.html diff --git a/fun/index.html b/content/fun/index.html similarity index 100% rename from fun/index.html rename to content/fun/index.html diff --git a/fun/software/index.html b/content/fun/software/index.html similarity index 100% rename from fun/software/index.html rename to content/fun/software/index.html diff --git a/themes/gokarna b/themes/gokarna new file mode 160000 index 00000000..6e56aa84 --- /dev/null +++ b/themes/gokarna @@ -0,0 +1 @@ +Subproject commit 6e56aa84c0fb327af530631ee5e47b61b9bbe9f6 From e41b799fda23e579f75645c52ff553f02b257a06 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Wed, 13 Oct 2021 20:45:22 -0500 Subject: [PATCH 2/3] Start configuring Hugo site --- config.toml | 31 +++++++++++++++++++++++++++++++ static/icons/codeforces.svg | 1 + static/icons/gitea.svg | 1 + static/icons/github.svg | 1 + static/icons/mastodon.svg | 1 + static/icons/matrix.svg | 1 + static/icons/protonmail.svg | 1 + 7 files changed, 37 insertions(+) create mode 100644 static/icons/codeforces.svg create mode 100644 static/icons/gitea.svg create mode 100644 static/icons/github.svg create mode 100644 static/icons/mastodon.svg create mode 100644 static/icons/matrix.svg create mode 100644 static/icons/protonmail.svg diff --git a/config.toml b/config.toml index 816a1205..a9032de9 100644 --- a/config.toml +++ b/config.toml @@ -3,7 +3,38 @@ languageCode = 'en-us' title = 'Some Random Website' theme = 'gokarna' +[menu] + [[menu.main]] + identifier = 'blog' + name = 'Blog' + url = '/blog/' + weight = 1 + [[menu.main]] + identifier = 'projects' + name = 'Projects' + url = '/projects/' + weight = 2 + [[menu.main]] + identifier = 'tags' + name = 'Tags' + url = '/tags/' + weight = 3 + [[menu.main]] + identifier = 'github' + url = 'https://github.com/Ta180m/ta180m.github.io' + pre = '' + weight = 4 + [params] avatarURL = '/fun/dodecahedra/render-cropped.png' description = 'Hello!' accentColor = '#00dd42' + #footer = 'Made with ❤️ by Ta180m' + socialIcons = [ + {name = 'protonmail', url = 'mailto:ta180m@pm.me'}, + {name = 'matrix', url = 'https://matrix.to/#/@ta180m:exozy.me'}, + {name = 'mastodon', usrl = 'https://social.exozy.me/@ta180m'}, + {name = 'gitea', url = 'https://git.exozy.me/Ta180m/'}, + {name = 'github', url = 'https://github.com/Ta180m/'}, + {name = 'codeforces', url = 'https://codeforces.com/profile/Ta180m'}, + ] diff --git a/static/icons/codeforces.svg b/static/icons/codeforces.svg new file mode 100644 index 00000000..8e66761c --- /dev/null +++ b/static/icons/codeforces.svg @@ -0,0 +1 @@ +Codeforces \ No newline at end of file diff --git a/static/icons/gitea.svg b/static/icons/gitea.svg new file mode 100644 index 00000000..d870f719 --- /dev/null +++ b/static/icons/gitea.svg @@ -0,0 +1 @@ +Gitea \ No newline at end of file diff --git a/static/icons/github.svg b/static/icons/github.svg new file mode 100644 index 00000000..538ec5bf --- /dev/null +++ b/static/icons/github.svg @@ -0,0 +1 @@ +GitHub \ No newline at end of file diff --git a/static/icons/mastodon.svg b/static/icons/mastodon.svg new file mode 100644 index 00000000..19141c72 --- /dev/null +++ b/static/icons/mastodon.svg @@ -0,0 +1 @@ +Mastodon \ No newline at end of file diff --git a/static/icons/matrix.svg b/static/icons/matrix.svg new file mode 100644 index 00000000..bb182177 --- /dev/null +++ b/static/icons/matrix.svg @@ -0,0 +1 @@ +Matrix \ No newline at end of file diff --git a/static/icons/protonmail.svg b/static/icons/protonmail.svg new file mode 100644 index 00000000..6df8b104 --- /dev/null +++ b/static/icons/protonmail.svg @@ -0,0 +1 @@ +ProtonMail \ No newline at end of file From f748b99897cbd9cf44845b7664d8edfbfba9715b Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Wed, 13 Oct 2021 20:46:04 -0500 Subject: [PATCH 3/3] Remove .vscode folder --- .vscode/settings.json | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 04ebd336..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "editor.wordWrap": "on" -} \ No newline at end of file