diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..33723d2 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,14 @@ +name: Build blog +on: [push] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Install hugo + run: sudo apt install hugo + - name: Build blog + run: hugo + diff --git a/.gitea/workflows/hello.yaml b/.gitea/workflows/hello.yaml deleted file mode 100644 index c537cc6..0000000 --- a/.gitea/workflows/hello.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] - -jobs: - Explore-Gitea-Actions: - runs-on: ubuntu-latest - steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..56af776 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +public/ +*.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..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/content/posts/my-first-post.md b/content/posts/my-first-post.md new file mode 100644 index 0000000..e8289a8 --- /dev/null +++ b/content/posts/my-first-post.md @@ -0,0 +1,5 @@ ++++ +title = 'My First Post' +date = 2025-01-17T00:26:28+01:00 +draft = true ++++ diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..4660e00 --- /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..9f1f414 --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit 9f1f414be805a2f94e2f51bd4be2b365ff12386d