Change exampleSite to import Paige

This commit is contained in:
Will Faught
2023-04-07 21:28:36 -07:00
parent 42351288ba
commit de6b112099
4 changed files with 12 additions and 3 deletions

View File

@@ -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

View File

@@ -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"

5
exampleSite/go.mod Normal file
View File

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

2
exampleSite/go.sum Normal file
View File

@@ -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=