Skip to content

jmooring/hosting-github-pages-hvm

Repository files navigation

Hosting Test - GitHub Pages with Hugo Version Manager

This is a test of hosting a Hugo site on GitHub Pages in conjunction with the Hugo Version Manager.

The version management logic is implemented in the GitHub Actions workflow. Specifically, it overrides the default HUGO_VERSION using the value found in the .hvm file if present. See the relevant lines below:

https://github.com/jmooring/hosting-github-pages-hvm/blob/main/.github/workflows/hugo.yaml#L55-L56

This site:

  1. Includes content from a Hugo module
  2. Transpiles Sass to CSS using Dart Sass
  3. Performs vendor prefixing of CSS rules using the postcss, postcss-cli, and autoprefixer Node.js packages
  4. Processes CSS files using the tailwindcss and @tailwindcss-cli Node.js packages
  5. Encodes images to the WebP format
  6. Includes a content file named hugö.md to verify that the Git core.quotepath setting is false 1

Footnotes

  1. See issue #9810. Git's core.quotepath setting is false if /tests/hugö has a non-zero "last modified" date.

About

This is a test of hosting a Hugo site on GitHub Pages in conjunction with Hugo Version Manager

Resources

License

Stars

Watchers

Forks

Contributors