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

Compress HTML by default #107

Merged
merged 5 commits into from
Apr 12, 2024
Merged

Compress HTML by default #107

merged 5 commits into from
Apr 12, 2024

Conversation

curt-mitch-census
Copy link
Member

@curt-mitch-census curt-mitch-census commented Apr 10, 2024

Pull Request

Description

Compresses HTML by default using the layout plugin jekyll-compress-html to increase page load performance.

See https://www.digitalocean.com/community/tutorials/jekyll-compress-html.

Related Issue

Partially addresses #106

Changes Made

  • Add compression plugin to _layout folder
  • Add front-matter to default.html to compress all HTML by default
  • Add compression settings to config.yml based on DigitalOcean tutorial linked above
  • Comment-out news page for now to prevent loading empty page build

Checklist

  • I have read the CONTRIBUTING.md document.
  • My code follows the project's coding standards.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.
  • I have updated the documentation accordingly.
  • The title of my pull request is a short description of the changes.
  • My pull request is assigned to the appropriate milestone.

@curt-mitch-census curt-mitch-census merged commit a326f51 into master Apr 12, 2024
5 checks passed
@curt-mitch-census curt-mitch-census deleted the compress-html branch April 12, 2024 19:16
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.

1 participant