From 65b9e19e494e2fd75b76c3dd20410c21f2038fd9 Mon Sep 17 00:00:00 2001 From: Jelly Terra Date: Tue, 11 Jun 2024 13:35:46 +0000 Subject: [PATCH] 2024.06.12 Adapt to Pagine v2 --- .github/workflows/pagine.yml | 4 ++-- docs/unit.toml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 docs/unit.toml diff --git a/.github/workflows/pagine.yml b/.github/workflows/pagine.yml index c67c97c..9759055 100644 --- a/.github/workflows/pagine.yml +++ b/.github/workflows/pagine.yml @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Pagine - run: go install github.com/webpagine/pagine/cmd/pagine@latest + run: go install github.com/webpagine/pagine/v2/cmd/pagine@latest - name: Checkout uses: actions/checkout@v4 @@ -54,4 +54,4 @@ jobs: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/docs/unit.toml b/docs/unit.toml new file mode 100644 index 0000000..83eb3a1 --- /dev/null +++ b/docs/unit.toml @@ -0,0 +1,4 @@ +[[unit]] +template = "genesis:post" +output = "/index.html" +define = { title = "Documentation", content = "../README.md" }