try to remove some Hugo cruft from the generated HTML
This commit is contained in:
parent
45d004a594
commit
1dfd1bb7e9
5
.github/workflows/hugo.yaml
vendored
5
.github/workflows/hugo.yaml
vendored
@ -59,7 +59,10 @@ jobs:
|
||||
hugo \
|
||||
--gc \
|
||||
--minify \
|
||||
--baseURL "${{ steps.pages.outputs.base_url }}/"
|
||||
--baseURL "${{ steps.pages.outputs.base_url }}/"
|
||||
- name: Remove 'powered by...' from all footers
|
||||
run: find public -type f -name '*.html' -exec perl -0777 -i -pe 's|<footer[^>]*>.*?</footer>|<footer><span>© Ville Lindholm</span></footer>|gs' {} \;
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user