Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SITE] move to hugo builtin minify #14592

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

toshywoshy
Copy link
Contributor

  • move to use hugo-extened minify function
  • add rawhtml shortcode for non-interpreated html/js code this provides the ability to have real raw code that hugo does nto interpretate
  • move several markdown content with mixed html/js to raw to prevent minify failure
    • content/events/2019-geneva/newsletter.md
    • content/events/2023-detroit/welcome.md
  • remove unused file to prevent wrong interpretation
    • content/events/2024-kansas-city/program/placeholder-ignite.md
  • remove nodejs and gulp from gh action workflow
  • add configuration for proper minifying
  • update workflow to use new hugo options syntax to enable minify

* move to use hugo-extened minify function
* add `rawhtml` shortcode for non-interpreated html/js code
  this provides the ability to have real raw code that hugo does nto
  interpretate
* move several markdown content with mixed html/js to raw to prevent
  minify failure
    * content/events/2019-geneva/newsletter.md
    * content/events/2023-detroit/welcome.md
* remove unused file to prevent wrong interpretation
    * content/events/2024-kansas-city/program/placeholder-ignite.md
* remove nodejs and gulp from gh action workflow
* add configuration for proper minifying
* update workflow to use new hugo options syntax to enable minify

Signed-off-by: Toshaan Bharvani <[email protected]>
@toshywoshy toshywoshy requested review from a team as code owners September 17, 2024 22:11
Copy link

netlify bot commented Sep 17, 2024

Deploy Preview for devopsdays-web ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 50405c3
🔍 Latest deploy log https://app.netlify.com/sites/devopsdays-web/deploys/66e9fe7d65073c0008e2a049
😎 Deploy Preview https://deploy-preview-14592--devopsdays-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mattstratton
Copy link
Member

one thing of note - the minify that happens in the pipeline is not actually minifying the deploys, that was basically a cheap and easy way for me to make sure that people had valid HTML in their files :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants