diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..8392d15 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..51edd47 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/gokarna"] + path = themes/gokarna + url = https://github.com/526avijitgupta/gokarna.git diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..baeb3f0 --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1696193975, + "narHash": "sha256-mnQjUcYgp9Guu3RNVAB2Srr1TqKcPpRXmJf4LJk6KRY=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "fdd898f8f79e8d2f99ed2ab6b3751811ef683242", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..2dd9e54 --- /dev/null +++ b/flake.nix @@ -0,0 +1,29 @@ +{ + description = "notohh.dev flake"; + + inputs = { + nixpkgs = { + url = "github:nixos/nixpkgs/nixos-unstable"; + }; + }; + outputs = { + self, + nixpkgs, + ... + }: let + system = "x86_64-linux"; + pkgs = import nixpkgs { + inherit system; + }; + in { + devShells.${system}.default = pkgs.mkShell { + name = "notohh.dev"; + packages = with pkgs; [ + nil + git + alejandra + hugo + ]; + }; + }; +} diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..cd66b63 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,41 @@ +baseURL = "https://notohh.dev/" +defaultContentLanguage = "en" +languageCode = "en" + +title = "notohh" + +theme = "gokarna" + +enableRobotsTXT = true + +[menu] + [[menu.main]] + identifier = "status" + name = "status" + url = "https://status.flake.sh/status/kumo" + pre = "" + weight = 1 + + [[menu.main]] + identifier = "about" + name = "about" + url = "/about/" + weight = 2 + + [[menu.main]] + identifier = "projects" + name = "projects" + url = "/projects/" + weight = 3 + +[params] + avatarURL = "/images/pfp.jpg" + avatarSize = "size-m" + accentColor = "#08F" + socialIcons = [ + {name = "github", url = "https://github.com/"}, + {name = "twitter", url = "https://twitter.com/notohhh"}, + {name = "twitch", url = "https://www.twitch.tv/notohh"}, + {name = "discord", url = "https://discord.com/users/155965294429470720"} + ] + pygmentsStyle = "catppuccin-mocha" \ No newline at end of file diff --git a/static/icons/last-fm.svg b/static/icons/last-fm.svg new file mode 100644 index 0000000..4811d72 --- /dev/null +++ b/static/icons/last-fm.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/static/images/pfp.jpg b/static/images/pfp.jpg new file mode 100644 index 0000000..5dff37e Binary files /dev/null and b/static/images/pfp.jpg differ diff --git a/themes/gokarna b/themes/gokarna new file mode 160000 index 0000000..9d9e752 --- /dev/null +++ b/themes/gokarna @@ -0,0 +1 @@ +Subproject commit 9d9e7521f1ba1273a547603ceb971c2847389f77