Skip to content

seo tools basic seo

Victor González-Pacheco edited this page Apr 17, 2025 · 1 revision

Basic SEO with Opengraph and Twitter Card

Basic Seo Module

Add the following code to your module list in the config/_default/module.toml file.

[[imports]]
path = "github.com/gethugothemes/hugo-modules/seo-tools/basic-seo"

Basic Seo Implementation

Call it, as a partial in your theme head.

<!-- opengraph -->
{{ partial "basic-seo.html" . }}

Add some following configuration to your config/_default/params.toml file.

# seo meta data for OpenGraph / Twitter Card
[metadata]
keywords = ["Boilerplate", "Hugo", "Themefisher", "GetHugoThemes"]
description = "This is default meta description"
author = "GetHugoThemes"
image = "images/website-thumb.png" # this image will be used as fallback if a page has no image of its own

Clone this wiki locally