From 218054c48f90379adc554a8f2bce03d725b6d6e9 Mon Sep 17 00:00:00 2001 From: Ville Lindholm Date: Fri, 26 Jul 2024 12:43:20 +0300 Subject: [PATCH] first commit --- .gitignore | 72 +++++++++++++++++++++++++++++++++++++++++++ .gitmodules | 3 ++ README.md | 7 +++++ archetypes/default.md | 5 +++ hugo.toml | 4 +++ themes/PaperMod | 1 + 6 files changed, 92 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 README.md create mode 100644 archetypes/default.md create mode 100644 hugo.toml create mode 160000 themes/PaperMod diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a6efc4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,72 @@ +# Created by https://www.toptal.com/developers/gitignore/api/hugo,macos,visualstudiocode +# Edit at https://www.toptal.com/developers/gitignore?templates=hugo,macos,visualstudiocode + +### 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 + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# End of https://www.toptal.com/developers/gitignore/api/hugo,macos,visualstudiocode + diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..89af1b0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..b479444 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +You need Hugo to build this site: + +``` +$ brew install hugo +``` + +then use `hugo server` to run the dev server. 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/hugo.toml b/hugo.toml new file mode 100644 index 0000000..6895008 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,4 @@ +baseURL = 'https://example.org/' +languageCode = 'en-us' +title = 'My New Hugo Site' +theme = 'papermod' diff --git a/themes/PaperMod b/themes/PaperMod new file mode 160000 index 0000000..9ea3bb0 --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit 9ea3bb0e1f3aa06ed7715e73b5fabb36323f7267