Improve SEO content
This commit is contained in:
43
hugo.toml
43
hugo.toml
@@ -13,6 +13,32 @@ ignoreLogs = ["warning-goldmark-raw-html"]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
# SEO Configuration
|
||||
[params.seo]
|
||||
description = "Mistergeek - Tutoriels et guides en informatique"
|
||||
keywords = ["développement web", "technologies", "innovation", "solutions digitales", "mistergeek"]
|
||||
author = "Mistergeek"
|
||||
theme_color = "#007bff"
|
||||
default_image = "/assets/images/og-logo.png"
|
||||
logo = "/assets/images/logo.png"
|
||||
|
||||
# Social Media
|
||||
[params.seo.twitter]
|
||||
site = "@mistergeekfrance"
|
||||
creator = "@mistergeekfrance"
|
||||
|
||||
# Search Engine Verification
|
||||
# google_verification = "your-google-verification-code"
|
||||
# bing_verification = "your-bing-verification-code"
|
||||
# yandex_verification = "your-yandex-verification-code"
|
||||
|
||||
# Geo Location (if applicable)
|
||||
# [params.seo.geo]
|
||||
# region = "FR-IDF"
|
||||
# placename = "Paris"
|
||||
# latitude = "48.8566"
|
||||
# longitude = "2.3522"
|
||||
|
||||
# WordPress API Configuration
|
||||
[params.wordpress]
|
||||
apiUrl = "https://www.mistergeek.net/wp-json/wp/v2"
|
||||
@@ -31,3 +57,20 @@ ignoreLogs = ["warning-goldmark-raw-html"]
|
||||
[[build.cachebusters]]
|
||||
source = "assets/.*\\.(css|sass|scss)$"
|
||||
target = "css"
|
||||
|
||||
# Output formats for search index
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.JSON]
|
||||
mediaType = "application/json"
|
||||
baseName = "search-index"
|
||||
isPlainText = true
|
||||
notAlternative = true
|
||||
|
||||
# Search configuration
|
||||
[params.search]
|
||||
enabled = true
|
||||
minQueryLength = 2
|
||||
maxResults = 10
|
||||
|
||||
Reference in New Issue
Block a user