commit d3add70450beaa1d3860fd4e3833dcf8d0532f03 Author: Ategon Date: Mon Feb 12 22:03:43 2024 -0500 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..86c95ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# 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 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/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..3de90ce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ +--- +title: '{{ replace .File.ContentBaseName "-" " " | title }}' +date: {{ .Date }} +draft: true +--- diff --git a/content/archive.md b/content/archive.md new file mode 100644 index 0000000..d37c953 --- /dev/null +++ b/content/archive.md @@ -0,0 +1,6 @@ +--- +title: "Archive" +layout: "archives" +url: "/archive/" +summary: "archive" +--- diff --git a/content/posts/welcome-to-stacks.md b/content/posts/welcome-to-stacks.md new file mode 100644 index 0000000..876d5b6 --- /dev/null +++ b/content/posts/welcome-to-stacks.md @@ -0,0 +1,13 @@ +--- +title: 'Welcome to Stacks!' +date: 2024-02-12T21:15:13-05:00 +draft: true +author: 'Ategon' +categories: + - Stacks +--- +Stacks is the official blog for Programming.Dev! This is a place where we will share news, announcements, upgrades, etc. relating to any instances we host such as programming.dev (and the new instance coming soon). + +There should be many new releases coming out and being announced here over the next month as things that have been getting made start finishing up! + +An rss feed is available for inserting into your rss reader at http://stacks.programming.dev/index.xml diff --git a/content/search.md b/content/search.md new file mode 100644 index 0000000..d670fad --- /dev/null +++ b/content/search.md @@ -0,0 +1,8 @@ +--- +title: "Search" # in any language you want +layout: "search" # necessary for search +description: "Search the site for something" +placeholder: "enter text here..." +sumary: "search" +--- + diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..ab6397e --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,101 @@ +# Config +baseURL: https://stacks.programming.dev/ +languageCode: en-us +title: Stacks +theme: ["PaperMod"] +copyright: "© 2024 Programming.Dev" +defaultTheme: auto +contentDir: 'content' +outputs: + home: + - HTML + - RSS + - JSON + +# Menu +menu: + main: + - identifier: categories + name: Categories + url: /categories + weight: 40 + - identifier: tags + name: Tags + url: /tags + weight: 30 + - identifier: archives + name: Archives + url: /archive + weight: 10 + - identifier: search + name: Search + url: /search + weight: 20 + +params: + env: 'production' + + # General + ShowRssButtonInSectionTermList: true + ShowFullTextinRSS: true + + # Posts + showReadingTime: true + showToc: true + showBreadCrumbs: true + showCodeCopyButtons: true + showPostNavLinks: true + enableEmoji: true + + # Misc + images: ["logo.png"] + + # Label + label: + text: "Stacks" + icon: "/logo.png" + iconHeight: 35 + + # Home Page + homeInfoParams: + Title: 📚 Stacks + Content: Welcome to the official blog for Programming.Dev! Here we post things relating to our instances including announcements, release notes, community showcases, and more. + socialIcons: + - name: "GitHub" + url: "https://github.com/programming-dot-dev" + - name: "Discord" + url: "https://discord.gg/SnUk3bKkNC" + - name: "Matrix" + url: "https://matrix.to/#/#p.d:matrix.org" + - name: "Links" + url: "https://me.programming.dev" + + # Menu + menu: + main: + - identifier: categories + name: categories + url: /categories + weight: 10 + - identifier: tags + name: tags + url: /tags + weight: 20 + - identifier: archives + name: archives + url: /archives + weight: 30 + - identifier: search + name: Search + url: /search + weight: 25 + + # Search + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 0 + keys: ["title", "permalink", "summary", "content"] diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png new file mode 100755 index 0000000..98616ea Binary files /dev/null and b/static/android-chrome-192x192.png differ diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png new file mode 100755 index 0000000..24220d4 Binary files /dev/null and b/static/android-chrome-512x512.png differ diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png new file mode 100755 index 0000000..ea6b8d8 Binary files /dev/null and b/static/apple-touch-icon.png differ diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png new file mode 100755 index 0000000..c891623 Binary files /dev/null and b/static/favicon-16x16.png differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png new file mode 100755 index 0000000..bfae115 Binary files /dev/null and b/static/favicon-32x32.png differ diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100755 index 0000000..08ba6a0 Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/logo.png b/static/logo.png new file mode 100755 index 0000000..33cb5af Binary files /dev/null and b/static/logo.png differ diff --git a/static/site.webmanifest b/static/site.webmanifest new file mode 100755 index 0000000..45dc8a2 --- /dev/null +++ b/static/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/themes/PaperMod b/themes/PaperMod new file mode 160000 index 0000000..944ddc3 --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit 944ddc3c7e75b1287f15523902d10da0562dd2ac