In Front Matter section for each post, you should add title and description for SEO, example:
title: "Getting Started with AMP"
description: "Getting started with AMP. Implement these key steps to get up and running with AMP"
The title is the H1 tag on HTML page, and <title> in head section.
The description is the meta tag for description <meta name="description" content=""> in head section.
Take a look inside the exampleSite at config.toml and update by your own:
# Base config for your site
baseURL = "http://localhost:1313/" # Your domain
languageCode = "en-us"
title = "Hugo LAMP" # Default site title
theme = "hugo-lamp"
googleAnalytics = "UA-XXXXXXXX-X" # Google Analytics UA number
For more details, take a look on official document for taxonomies
tag = "tags"
category = "categories"
subtitle = "Light responsive AMP theme"
author = "Huy Nguyen" # Your name
logo = "/img/avatar.jpg" # Logo
description = "A light responsive Hugo AMP theme for blogger" # Meta description tag
paginate = 10
# SEO configs
seotitle = "Hugo Blog Title (SEO Version)" # Overwrite site title for SEO purpose
googleSiteVerification = "google_site_verification_code" # Google Webmaster
msValidate = "bing_site_verification_code" # Bing Webmaster
Currently only support Google Adsense as usual, maybe implement amp-auto-ads for future.
# Google Adsense
adsensePublisher = "ca-pub-XXX" # Required if you want to include Google Adsense
adsenseSlot = "XXX" # Required slot to display ads
adsenseSlotSticky = "XXX" # Enables sticky ads feature, value maybe the same with adsenseSlot, remove if you don't want display sticky ads