Skip to content

Commit d3ea863

Browse files
author
Splitter
committed
fix: links (cont.)
1 parent 9ccba82 commit d3ea863

File tree

9 files changed

+87
-17
lines changed

9 files changed

+87
-17
lines changed

.github/workflows/publish.yaml

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Deploy website to GitHub Pages
2+
3+
env:
4+
WC_HUGO_VERSION: '0.119.0'
5+
6+
on:
7+
# Trigger the workflow every time you push to the `main` branch
8+
push:
9+
branches: ["main"]
10+
# Allows you to run this workflow manually from the Actions tab on GitHub.
11+
workflow_dispatch:
12+
13+
# Provide permission to clone the repo and deploy it to GitHub Pages
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: false
22+
23+
jobs:
24+
# Build website
25+
build:
26+
if: github.repository_owner != 'HugoBlox'
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
with:
32+
# Fetch history for Hugo's .GitInfo and .Lastmod
33+
fetch-depth: 0
34+
- name: Setup Hugo
35+
uses: peaceiris/actions-hugo@v2
36+
with:
37+
hugo-version: ${{ env.WC_HUGO_VERSION }}
38+
extended: true
39+
- uses: actions/cache@v3
40+
with:
41+
path: /tmp/hugo_cache_runner/
42+
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }}
43+
restore-keys: |
44+
${{ runner.os }}-hugomod-
45+
- name: Setup Pages
46+
id: pages
47+
uses: actions/configure-pages@v3
48+
- name: Build with Hugo
49+
env:
50+
HUGO_ENVIRONMENT: production
51+
run: |
52+
echo "Hugo Cache Dir: $(hugo config | grep cachedir)"
53+
hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
54+
- name: Upload artifact
55+
uses: actions/upload-pages-artifact@v2
56+
with:
57+
path: ./public
58+
59+
# Deploy website to GitHub Pages hosting
60+
deploy:
61+
if: github.repository_owner != 'HugoBlox'
62+
environment:
63+
name: github-pages
64+
url: ${{ steps.deployment.outputs.page_url }}
65+
runs-on: ubuntu-latest
66+
needs: build
67+
steps:
68+
- name: Deploy to GitHub Pages
69+
id: deployment
70+
uses: actions/deploy-pages@v2

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ The **Markdown Slides** starter template empowers you to **easily create, share,
1313
The integrated [**Wowchemy**](https://hugoblox.com) website builder and CMS makes it easy to create a beautiful website for free. Edit your site in the CMS (or your favorite editor), generate it with [Hugo](https://github.com/gohugoio/hugo), and deploy with GitHub or Netlify. Customize anything on your site with widgets, light/dark themes, and language packs.
1414

1515
- 👉 [**Get Started**](https://hugoblox.com/hugo-themes/)
16-
- 📚 [View the **documentation**](https://hugoblox.com/docs/)
16+
- 📚 [View the **documentation**](https://docs.hugoblox.com/)
1717
- 💬 [Chat with the **Wowchemy research community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io)
1818
- ⬇️ **Automatically import citations from BibTeX** with the [Hugo Academic CLI](https://github.com/GetRD/academic-file-converter)
1919
- 🐦 Share your new site with the community: [@wowchemy](https://twitter.com/wowchemy) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithWowchemy](https://twitter.com/search?q=%23MadeWithWowchemy&src=typed_query)
2020
- 🗳 [Take the survey and help us improve #OpenSource](https://forms.gle/NioD9VhUg7PNmdCAA)
2121
- 🚀 [Contribute improvements](https://github.com/HugoBlox/hugo-blox-builder/blob/main/CONTRIBUTING.md) or [suggest improvements](https://github.com/HugoBlox/hugo-blox-builder/issues)
22-
- ⬆️ **Updating?** View the [Update Guide](https://hugoblox.com/docs/hugo-tutorials/update/) and [Release Notes](https://github.com/HugoBlox/hugo-blox-builder/releases)
22+
- ⬆️ **Updating?** View the [Update Guide](https://docs.hugoblox.com/hugo-tutorials/update/) and [Release Notes](https://github.com/HugoBlox/hugo-blox-builder/releases)
2323

2424
## We ask you, humbly, to support this open source movement
2525

config/_default/config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Configuration of Hugo
2-
# Guide: https://hugoblox.com/docs/getting-started/
2+
# Guide: https://docs.hugoblox.com/tutorial/
33
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings
44
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
55

@@ -21,7 +21,7 @@ removePathAccents: true
2121

2222
module:
2323
imports:
24-
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify-cms
24+
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-decap-cms
2525
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify
2626
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal
2727
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5

config/_default/params.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SITE SETUP
2-
# Guide: https://hugoblox.com/docs/getting-started/customization/
3-
# Documentation: https://hugoblox.com/docs/
2+
# Guide: https://docs.hugoblox.com/getting-started/customization/
3+
# Documentation: https://docs.hugoblox.com/
44
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
55

66
# Appearance

content/admin/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
# Generate Wowchemy CMS
3-
type: wowchemycms
2+
# Generate Decap CMS
3+
type: decap_cms
44
outputs:
5-
- wowchemycms_config
5+
- decap_cms_config
66
- HTML
77
---

content/home/slides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# An instance of the Pages widget.
3-
# Documentation: https://hugoblox.com/docs/page-builder/
3+
# Documentation: https://docs.hugoblox.com/page-builder/
44
widget: pages
55

66
# This file represents a page section.

content/home/tags.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# An instance of the Tag Cloud widget.
3-
# Docs: https://hugoblox.com/docs/page-builder/
3+
# Docs: https://docs.hugoblox.com/page-builder/
44
widget: tag_cloud
55

66
# This file represents a page section.

content/slides/example/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ slides:
1515

1616
# Create slides in Markdown with Wowchemy
1717

18-
[Wowchemy](https://hugoblox.com/) | [Documentation](https://hugoblox.com/docs/content/slides/)
18+
[Wowchemy](https://hugoblox.com/) | [Documentation](https://docs.hugoblox.com/content/slides/)
1919

2020
---
2121

@@ -168,4 +168,4 @@ Create `assets/css/reveal_custom.css` with:
168168

169169
[Ask](https://discord.gg/z8wNYzb)
170170

171-
[Documentation](https://hugoblox.com/docs/content/slides/)
171+
[Documentation](https://docs.hugoblox.com/content/slides/)

go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module github.com/wowchemy/starter-hugo-markdown-slides
33
go 1.15
44

55
require (
6-
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.2
7-
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.0.1-0.20231102163809-66b38685ac69
8-
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify-cms v1.0.1-0.20231102163809-66b38685ac69
9-
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal v0.0.0-20231102163809-66b38685ac69
6+
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.7-0.20231108143325-448ed0e3bd2b
7+
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-decap-cms v0.1.2-0.20231108143325-448ed0e3bd2b
8+
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
9+
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal v1.1.3-0.20231108143325-448ed0e3bd2b
1010
)

0 commit comments

Comments
 (0)