Files
HugoBlox-kit/modules/blox-seo
Filip Vukelic ec9127eaf8 feat: support Hugo v0.133+ by removing deprecated Hugo variable (#3137)
`site.GoogleAnalytics` variable is deprecated since Hugo ~v0.133 (a warning was shown since v0.120.0+) and Hugo now introduced a breaking change without any backwards compatibility causing all existing sites to break. Theis Hugo variable would need to be changed to `site.Config.Services.GoogleAnalytics.ID`, however that then breaks compatibility with all the sites on earlier Hugo versions. Thus, omit fetching this configuration variable since it should be set via the dedicated Analytics sections in `params.yaml` anyway.
2024-09-02 00:00:03 +01:00
..
2023-11-07 23:09:38 +00:00
2023-11-07 23:09:38 +00:00
2023-11-08 14:17:30 +00:00
2023-11-09 14:58:28 +00:00

blox-seo

A Hugo plugin for Search Engine Optimisation (SEO), site verification, and analytics.

Install

The blox-bootstrap module will automatically include the SEO module in your site so you don't have to.

Otherwise, if you are not using the blox-bootstrap module, you can get SEO features for your Hugo site by following the guide below:

  1. Add the module to your config/_default/config.yaml:

    module:
      imports:
        - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-seo
    
  2. If you're not using the blox-bootstrap module, load the SEO module in your site's <head> with:

    {{ partial "blox_seo" . }}
    

Usage

View the documentation