From 53457f9ec8506401d0af69a3384d8ff52d7b8c35 Mon Sep 17 00:00:00 2001 From: CrepeGoat Date: Sun, 17 Nov 2024 22:47:28 -0700 Subject: [PATCH] installed hugo & ran `hugo new site ___` --- .gitignore | 22 ++++++++++++++++++++++ archetypes/default.md | 5 +++++ hugo.toml | 3 +++ shell.nix | 8 ++++++++ 4 files changed, 38 insertions(+) create mode 100644 .gitignore create mode 100644 archetypes/default.md create mode 100644 hugo.toml create mode 100644 shell.nix diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5e567e7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# macOS system files +.DS_Store + +# Created by https://www.toptal.com/developers/gitignore/api/hugo +# Edit at https://www.toptal.com/developers/gitignore?templates=hugo + +### Hugo ### +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock + +# End of https://www.toptal.com/developers/gitignore/api/hugo \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..7e568b8 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,3 @@ +baseURL = 'https://example.org/' +languageCode = 'en-us' +title = 'My New Hugo Site' diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..06dfc88 --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +{ + pkgs ? import { }, +}: +pkgs.mkShell { + buildInputs = with pkgs; [ + hugo + ]; +}