Change exampleSite to import Paige
This commit is contained in:
4
.github/workflows/pages.yml
vendored
4
.github/workflows/pages.yml
vendored
@@ -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
|
||||
|
@@ -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
5
exampleSite/go.mod
Normal 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
2
exampleSite/go.sum
Normal 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=
|
Reference in New Issue
Block a user