Change exampleSite to import Paige

master
Will Faught 2 years ago
parent 42351288ba
commit de6b112099

@ -26,7 +26,7 @@ jobs:
- name: Build - name: Build
run: | run: |
cd exampleSite 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 - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1
with: with:
@ -45,7 +45,7 @@ jobs:
# - name: Build # - name: Build
# run: | # run: |
# cd exampleSite # 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: deploy:
environment: environment:
name: github-pages name: github-pages

@ -57,6 +57,9 @@ markup:
endlevel: 6 endlevel: 6
ordered: true ordered: true
startlevel: 2 startlevel: 2
module:
imports:
- path: "github.com/willfaught/paige"
outputs: outputs:
home: home:
- "html" - "html"
@ -75,6 +78,5 @@ taxonomies:
category: "categories" category: "categories"
series: "series" series: "series"
tag: "tags" tag: "tags"
theme: "paige"
timezone: "America/Los_Angeles" timezone: "America/Los_Angeles"
titlecasestyle: "Go" titlecasestyle: "Go"

@ -0,0 +1,5 @@
module github.com/willfaught/paige/exampleSite
go 1.20
require github.com/willfaught/paige v0.55.0 // indirect

@ -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=
Loading…
Cancel
Save