summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2026-01-27 21:44:06 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2026-01-27 21:44:06 +0100
commit28876feb0ce5ea339fe0cb775751890f3ac339d3 (patch)
tree79e0c44b1c6fe42b7fda4a22bbc875e7069bc839
parent7e75874291051572b7ba105c9e137f5ca68dd870 (diff)
Add Hugo site with PaperMod theme for Witryna testingmain
Set up a basic Hugo site with sample posts and witryna.yaml configuration for testing the Witryna deployment tool. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
-rw-r--r--.gitignore20
-rw-r--r--.gitmodules3
-rw-r--r--archetypes/default.md5
-rw-r--r--content/posts/hello-world.md21
-rw-r--r--content/posts/second-post.md15
-rw-r--r--hugo.toml20
m---------themes/PaperMod0
-rw-r--r--witryna.yaml4
8 files changed, 74 insertions, 14 deletions
diff --git a/.gitignore b/.gitignore
index 0299c7e..14ea4dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1,7 @@
-# ---> 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
+# Hugo build output
+public/
+resources/
+# OS files
+.DS_Store
+Thumbs.db
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..25b6752
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,5 @@
++++
+date = '{{ .Date }}'
+draft = true
+title = '{{ replace .File.ContentBaseName "-" " " | title }}'
++++
diff --git a/content/posts/hello-world.md b/content/posts/hello-world.md
new file mode 100644
index 0000000..b4d8d53
--- /dev/null
+++ b/content/posts/hello-world.md
@@ -0,0 +1,21 @@
++++
+date = '2026-01-27T21:41:59+01:00'
+draft = false
+title = 'Hello World'
+summary = 'A test post for the Witryna deployment tool.'
++++
+
+This is a sample blog post for testing the Witryna static site deployment tool.
+
+## What is Witryna?
+
+Witryna is a minimalist Git-based static site deployment orchestrator that:
+
+- Listens for webhook triggers
+- Pulls Git repositories
+- Runs containerized build commands
+- Publishes static assets via atomic symlink switching
+
+## Testing
+
+This Hugo site using the PaperMod theme serves as a test subject for Witryna deployments.
diff --git a/content/posts/second-post.md b/content/posts/second-post.md
new file mode 100644
index 0000000..2d347e6
--- /dev/null
+++ b/content/posts/second-post.md
@@ -0,0 +1,15 @@
++++
+date = '2026-01-27T21:42:00+01:00'
+draft = false
+title = 'Another Test Post'
+summary = 'Additional content for testing purposes.'
++++
+
+This is another sample post to ensure the site has multiple pages for testing.
+
+## Features to Test
+
+- Homepage listing
+- Post navigation
+- Theme rendering
+- Build output generation
diff --git a/hugo.toml b/hugo.toml
new file mode 100644
index 0000000..a55de6f
--- /dev/null
+++ b/hugo.toml
@@ -0,0 +1,20 @@
+baseURL = 'https://example.org/'
+languageCode = 'en-us'
+title = 'Witryna Test Site'
+theme = 'PaperMod'
+
+[params]
+ env = "production"
+ description = "A test Hugo site for Witryna deployment testing"
+ author = "Test Author"
+ showReadingTime = true
+ showShareButtons = false
+ showPostNavLinks = true
+
+[params.homeInfoParams]
+ Title = "Witryna Test Site"
+ Content = "A simple Hugo site for testing the Witryna deployment tool."
+
+[[params.socialIcons]]
+ name = "github"
+ url = "https://github.com/"
diff --git a/themes/PaperMod b/themes/PaperMod
new file mode 160000
+Subproject 3bb0ca281fd17eff8e3489011a444f326d7c4c7
diff --git a/witryna.yaml b/witryna.yaml
new file mode 100644
index 0000000..2f82826
--- /dev/null
+++ b/witryna.yaml
@@ -0,0 +1,4 @@
+# Witryna deployment configuration
+image: "hugomods/hugo:exts"
+command: "hugo --minify"
+public: "public"