add search engine optimization to the website
All checks were successful
Hugo Publish CI / build-and-deploy (push) Successful in 25s
All checks were successful
Hugo Publish CI / build-and-deploy (push) Successful in 25s
This commit is contained in:
parent
dfe3a7b0c8
commit
f09740923b
40
config.toml
40
config.toml
@ -1,4 +1,4 @@
|
|||||||
title = "Eric's Personal Page"
|
title = "Eric X. Liu's Personal Page"
|
||||||
theme = ["hugo-cloak-email", "hugo-coder"]
|
theme = ["hugo-cloak-email", "hugo-coder"]
|
||||||
languageCode = "en"
|
languageCode = "en"
|
||||||
defaultcontentlanguage = "en"
|
defaultcontentlanguage = "en"
|
||||||
@ -18,8 +18,8 @@ style = "github-dark"
|
|||||||
[params] # theme parameters
|
[params] # theme parameters
|
||||||
author = "Eric X. Liu"
|
author = "Eric X. Liu"
|
||||||
info = "Software & Performance Engineer @Google"
|
info = "Software & Performance Engineer @Google"
|
||||||
description = "Eric Liu's personal website"
|
description = "Eric X. Liu - Software & Performance Engineer at Google. Sharing insights about software engineering, performance optimization, and tech industry experiences."
|
||||||
keywords = "blog,developer,personal"
|
keywords = "software engineer, performance engineering, Google engineer, tech blog, software development, performance optimization, Eric Liu, engineering blog"
|
||||||
avatarurl = "images/gravatar.png"
|
avatarurl = "images/gravatar.png"
|
||||||
hideFooter = false
|
hideFooter = false
|
||||||
hideCredits = true
|
hideCredits = true
|
||||||
@ -39,6 +39,40 @@ style = "github-dark"
|
|||||||
# Custom JS
|
# Custom JS
|
||||||
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
|
# Social links
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "Git"
|
name = "Git"
|
||||||
|
Loading…
Reference in New Issue
Block a user