diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 717adcc1..8408de11 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -26,7 +26,7 @@ jobs: - name: Build run: | cd exampleSite - hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --themesDir ../.. + hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --theme paige --themesDir ../.. - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: @@ -45,7 +45,7 @@ jobs: # - name: Build # run: | # cd exampleSite - # hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --themesDir ../.. + # hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --theme paige --themesDir ../.. deploy: environment: name: github-pages diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 0118496b..12c4e6a7 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -57,6 +57,9 @@ markup: endlevel: 6 ordered: true startlevel: 2 +module: + imports: + - path: "github.com/willfaught/paige" outputs: home: - "html" @@ -75,6 +78,5 @@ taxonomies: category: "categories" series: "series" tag: "tags" -theme: "paige" timezone: "America/Los_Angeles" titlecasestyle: "Go" diff --git a/exampleSite/go.mod b/exampleSite/go.mod new file mode 100644 index 00000000..0b8ee9f0 --- /dev/null +++ b/exampleSite/go.mod @@ -0,0 +1,5 @@ +module github.com/willfaught/paige/exampleSite + +go 1.20 + +require github.com/willfaught/paige v0.55.0 // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum new file mode 100644 index 00000000..608eb8bf --- /dev/null +++ b/exampleSite/go.sum @@ -0,0 +1,2 @@ +github.com/willfaught/paige v0.55.0 h1:GAUyER1484ruKKKf/UCst480FQQIiEHiV5OPs0XTO5I= +github.com/willfaught/paige v0.55.0/go.mod h1:0Nt8ifl7UVYQIBaMtpZmg+BrQHHzFNqKcrBoA2Oo4/E=