diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 09c6de2f..22df6489 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -30,7 +30,7 @@ jobs: - name: Set Hugo up uses: peaceiris/actions-hugo@v2 with: - hugo-version: '0.119.0' + hugo-version: '0.147.1' extended: true # Prevent error building site: POSTCSS: failed to transform, see https://gohugo.io/troubleshooting/faq/#i-get-this-feature-is-not-available-in-your-current-hugo-version - name: Clean public dir diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 323a7462..5d26c77c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: - name: Set Hugo up uses: peaceiris/actions-hugo@v2 with: - hugo-version: '0.119.0' + hugo-version: '0.147.1' extended: true # Prevent error building site: POSTCSS: failed to transform, see https://gohugo.io/troubleshooting/faq/#i-get-this-feature-is-not-available-in-your-current-hugo-version - name: Build with Hugo run: npm run build diff --git a/README.md b/README.md index e9e68ad2..3a536e8c 100644 --- a/README.md +++ b/README.md @@ -10,15 +10,25 @@ Pages and sections are ordered on the “end user” to “core team member” s ### Dependencies -This website is built using [Hugo](https://gohugo.io), a static website editor, and uses [Node.js](https://nodejs.org). +#### Hugo -To build it, [install Hugo](https://gohugo.io/getting-started/installing/) (>= v0.114.0) and [Node.js](https://nodejs.org), and then: +[Install Hugo](https://gohugo.io/getting-started/installing/) in version `0.147.1` edition `extended`. + +##### With Homebrew + +1. Add Open Terms Archive homebrew tap: `brew tap OpenTermsArchive/homebrew-tap https://github.com/OpenTermsArchive/homebrew-tap` +2. Install Hugo: `brew install hugo@0.147.1` + +See [Open Terms Archive homebrew tap](https://github.com/OpenTermsArchive/homebrew-tap) for more information. + +#### Node.js and npm dependencies + +[Install Node.js](https://nodejs.org), then install npm dependencies with the following commands: ```sh git clone https://github.com/OpenTermsArchive/docs cd docs npm install -hugo ``` ## Usage diff --git a/netlify.toml b/netlify.toml index 1820af35..70fc7754 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,4 +7,4 @@ [context.deploy-preview.environment] HUGO_ENV = "preview" - HUGO_VERSION = "0.119.0" + HUGO_VERSION = "0.147.1" diff --git a/themes/opentermsarchive/layouts/partials/head.html b/themes/opentermsarchive/layouts/partials/head.html index c32a9c4a..b18f04ee 100644 --- a/themes/opentermsarchive/layouts/partials/head.html +++ b/themes/opentermsarchive/layouts/partials/head.html @@ -1,7 +1,7 @@