All checks were successful
Hugo Publish CI / build-and-deploy (push) Successful in 18s
188 lines
5.5 KiB
TOML
188 lines
5.5 KiB
TOML
title = "Eric X. Liu's Personal Page"
|
|
theme = ["hugo-cloak-email", "hugo-coder"]
|
|
languageCode = "en"
|
|
defaultcontentlanguage = "en"
|
|
|
|
pygmentsstyle = "bw"
|
|
pygmentscodefences = true
|
|
pygmentscodefencesguesssyntax = true
|
|
enableEmoji = true
|
|
enableTwemoji = true
|
|
enableGitInfo = true
|
|
enableRobotsTXT = true
|
|
|
|
# Disqus comments configuration
|
|
[services]
|
|
[services.disqus]
|
|
shortname = "ericxliu-me"
|
|
|
|
# Goldmark configuration for Obsidian compatibility
|
|
[markup]
|
|
defaultMarkdownHandler = "goldmark"
|
|
|
|
[markup.goldmark]
|
|
[markup.goldmark.extensions]
|
|
# Enable definition lists (useful for Obsidian-style definitions)
|
|
definitionList = true
|
|
# Enable footnotes (common in Obsidian)
|
|
footnote = true
|
|
# Enable linkification
|
|
linkify = true
|
|
# Enable strikethrough
|
|
strikethrough = true
|
|
# Enable tables
|
|
table = true
|
|
# Enable task lists (checkboxes)
|
|
taskList = true
|
|
# Enable typographer for better typography
|
|
[markup.goldmark.extensions.typographer]
|
|
disable = false
|
|
# Enable math via passthrough for LaTeX
|
|
[markup.goldmark.extensions.passthrough]
|
|
enable = true
|
|
[markup.goldmark.extensions.passthrough.delimiters]
|
|
# Block math delimiters
|
|
block = [["$$", "$$"], ["\\[", "\\]"]]
|
|
# Inline math delimiters
|
|
inline = [["$", "$"], ["\\(", "\\)"]]
|
|
# Enable extra extensions for better compatibility
|
|
[markup.goldmark.extensions.extras]
|
|
[markup.goldmark.extensions.extras.subscript]
|
|
enable = true
|
|
[markup.goldmark.extensions.extras.superscript]
|
|
enable = true
|
|
[markup.goldmark.extensions.extras.mark]
|
|
enable = true
|
|
[markup.goldmark.extensions.extras.insert]
|
|
enable = true
|
|
[markup.goldmark.extensions.extras.delete]
|
|
enable = true
|
|
|
|
[markup.goldmark.parser]
|
|
# Enable attributes for better styling
|
|
[markup.goldmark.parser.attribute]
|
|
block = true
|
|
title = true
|
|
# Auto-generate heading IDs
|
|
autoHeadingID = true
|
|
autoHeadingIDType = "github"
|
|
# Don't wrap standalone images in paragraphs (better for Obsidian compatibility)
|
|
wrapStandAloneImageWithinParagraph = false
|
|
|
|
[markup.goldmark.renderer]
|
|
# Allow unsafe HTML (needed for some Obsidian features)
|
|
unsafe = true
|
|
|
|
[markup.highlight]
|
|
style = "github-dark"
|
|
|
|
# Table of contents configuration (compatible with Obsidian heading structure)
|
|
[markup.tableOfContents]
|
|
startLevel = 1
|
|
endLevel = 6
|
|
ordered = false
|
|
|
|
[params] # theme parameters
|
|
author = "Eric X. Liu"
|
|
info = "Software & Performance Engineer @Google"
|
|
description = "Eric X. Liu - Software & Performance Engineer at Google. Sharing insights about software engineering, performance optimization, tech industry experiences, mountain biking adventures, Jeep overlanding, and outdoor activities."
|
|
keywords = "software engineer, performance engineering, Google engineer, tech blog, software development, performance optimization, Eric Liu, engineering blog, mountain biking, Jeep enthusiast, overlanding, camping, outdoor adventures"
|
|
avatarurl = "images/gravatar.png"
|
|
hideFooter = false
|
|
hideCredits = true
|
|
hideCopyright = false
|
|
since = 2016
|
|
rtl= false
|
|
commit="https://git.ericxliu.me/eric/ericxliu-me/commit"
|
|
colorscheme = "auto"
|
|
hideColorSchemeToggle = false
|
|
|
|
# Series see also post count
|
|
maxSeeAlsoItems = 5
|
|
|
|
# Custom CSS
|
|
custom_css = []
|
|
|
|
# Custom JS
|
|
custom_js = []
|
|
|
|
# Enable math rendering (for LaTeX support including $$$$ blocks)
|
|
math = true
|
|
|
|
# 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 sitemap configuration
|
|
[sitemap]
|
|
changefreq = "weekly"
|
|
filename = "sitemap.xml"
|
|
priority = 0.5
|
|
|
|
# Social links
|
|
[[params.social]]
|
|
name = "Git"
|
|
icon = "fa-brands fa-git fa-2x"
|
|
weight = 1
|
|
url = "https://git.ericxliu.me/eric"
|
|
[[params.social]]
|
|
name = "linkedin"
|
|
icon = "fa-brands fa-linkedin fa-2x"
|
|
weight = 2
|
|
url = "https://www.linkedin.com/in/eric-x-liu-46648b93/"
|
|
[[params.social]]
|
|
name = "Personal email"
|
|
icon = "fa fa-envelope fa-2x"
|
|
weight = 3
|
|
|
|
# Menu links
|
|
[languages]
|
|
[languages.en]
|
|
languagename = "English"
|
|
[[languages.en.menu.main]]
|
|
name = "Posts"
|
|
weight = 1
|
|
url = "/posts/"
|
|
[[languages.en.menu.main]]
|
|
name = "Chat"
|
|
weight = 2
|
|
url = "https://chat.ericxliu.me"
|
|
[[languages.en.menu.main]]
|
|
name = "Git"
|
|
weight = 3
|
|
url = "https://git.ericxliu.me/user/oauth2/Authenitk"
|
|
[[languages.en.menu.main]]
|
|
name = "Coder"
|
|
weight = 4
|
|
url = "https://coder.ericxliu.me/api/v2/users/oidc/callback"
|
|
[[languages.en.menu.main]]
|
|
name = "|"
|
|
weight = 10
|
|
[[languages.en.menu.main]]
|
|
name = "Sign in"
|
|
weight = 11
|
|
url = "https://sso.ericxliu.me"
|
|
|
|
# Cloudflare Web Analytics configuration
|
|
[params.cloudflare]
|
|
token = "987638e636ce4dbb932d038af74c17d1"
|