add search engine optimization to the website
All checks were successful
Hugo Publish CI / build-and-deploy (push) Successful in 25s

This commit is contained in:
Eric X. Liu 2024-11-11 02:36:39 +00:00
parent dfe3a7b0c8
commit f09740923b

View File

@ -1,4 +1,4 @@
title = "Eric's Personal Page"
title = "Eric X. Liu's Personal Page"
theme = ["hugo-cloak-email", "hugo-coder"]
languageCode = "en"
defaultcontentlanguage = "en"
@ -18,8 +18,8 @@ style = "github-dark"
[params] # theme parameters
author = "Eric X. Liu"
info = "Software & Performance Engineer @Google"
description = "Eric Liu's personal website"
keywords = "blog,developer,personal"
description = "Eric X. Liu - Software & Performance Engineer at Google. Sharing insights about software engineering, performance optimization, and tech industry experiences."
keywords = "software engineer, performance engineering, Google engineer, tech blog, software development, performance optimization, Eric Liu, engineering blog"
avatarurl = "images/gravatar.png"
hideFooter = false
hideCredits = true
@ -39,6 +39,40 @@ style = "github-dark"
# Custom JS
custom_js = []
# Add new SEO-related parameters
[params.seo]
# Enable OpenGraph for better social media sharing
opengraph = true
# Enable Twitter Cards
twitter_cards = true
# Your Twitter handle (optional)
# twitter_handle = "@yourtwitterhandle"
# Default image for social sharing
default_image = "images/gravatar.png"
# Site name for social sharing
site_name = "Eric X. Liu's Personal Page"
# Add structured data for Google Search
[params.schema]
type = "Person"
name = "Eric X. Liu"
description = "Software & Performance Engineer at Google"
sameAs = [
"https://www.linkedin.com/in/eric-x-liu-46648b93/",
"https://git.ericxliu.me/eric"
]
# Add robots.txt settings
[params.robots]
index = true
follow = true
# Add sitemap configuration
[sitemap]
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5
# Social links
[[params.social]]
name = "Git"