From 227d46b72fcfb53544e6a290e583d304729f4f31 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 6 Nov 2026 14:59:58 -0700 Subject: [PATCH] Initial commit --- .gitignore | 5 ++++ .gitmodules | 3 +++ LICENSE | 18 +++++++++++++ README.md | 3 +++ archetypes/default.md | 5 ++++ content/_index.md | 9 +++++++ hugo.yml | 61 +++++++++++++++++++++++++++++++++++++++++++ run.sh | 3 +++ themes/PaperMod | 1 + 9 files changed, 108 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 LICENSE create mode 100644 README.md create mode 100644 archetypes/default.md create mode 100644 content/_index.md create mode 100644 hugo.yml create mode 100755 run.sh create mode 160000 themes/PaperMod diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b759df --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# Generated HTML Content +public + +# Build Content +*.lock 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/LICENSE b/LICENSE new file mode 100644 index 0000000..f58d265 --- /dev/null +++ b/LICENSE @@ -0,0 +1,18 @@ +MIT License + +Copyright (c) 2025 me + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the "Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO +EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..c466bbb --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# template-mit + +Template with MIT license, protected `main` branch, and available `dev` branch. \ 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/content/_index.md b/content/_index.md new file mode 100644 index 0000000..54a463b --- /dev/null +++ b/content/_index.md @@ -0,0 +1,9 @@ +--- +--- +# Home Page + +Content about this website. + +## Subsection + +Details on what this subsection is about. diff --git a/hugo.yml b/hugo.yml new file mode 100644 index 0000000..c6b7d5e --- /dev/null +++ b/hugo.yml @@ -0,0 +1,61 @@ +baseURL: 'https://example.org/' +locale: 'en-US' +label: 'English' + +title: 'Example Hugo Site' +subtitle: "Templae site by Hyperling for copying and creating new projects with ease." +author: Chad Michael Greenwood (Hyperling) +email: me@hyperling.com + +markup: + goldmark: + # Allow direct HTML. + renderer: + unsafe: true + + # Prevent URLs from becoming links which open in the same tab. + extensions: + linkify: false + + tableOfContents: + endLevel: 4 + ordered: false + startLevel: 2 + +### Theming ### + +theme: ["PaperMod"] + +# Enable PaperMod's Search # +outputs: + home: + - HTML + - RSS + - JSON + +### Params ### + +params: + colorScheme: "auto" + disableThemeToggle: false + + label: + text: "Example Site" + icon: "/favicon.svg" + iconHeight: 32 + + ## Search - Optional ## + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 0 + keys: ["title", "permalink", "summary", "content"] + + # Metadata mostly used in document's head. + description: "Hugo template created as an example site. Contains all necesary components to get off the ground with making a Hugo website rather than creating a blank project, importing a theme, enabling the theme, starting some content, etc. Compiles and runs right off the bat so that you know you have all necessary components." + keywords: ["example, site, hugo, template, hyperling, hypervegan, test, project, easy, complete, finished, simple"] + images: [""] + author: Chad Michael Greenwood (Hyperling) diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..cb2505a --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +hugo server -D diff --git a/themes/PaperMod b/themes/PaperMod new file mode 160000 index 0000000..1181196 --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit 118119693d8b5ac211b939775678310973bcb232