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 + ]; +}