Files
ericxliu-me/config.toml
Eric Liu b19b045fc0
All checks were successful
Hugo Publish CI / build-and-deploy (push) Successful in 20s
feat: Replace "Open Source Contributor" with "DIY Overlander & Rock Crawler" in author info.
2025-12-20 11:03:18 -08:00

237 lines
7.0 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

title = "Eric X. Liu's Personal Page"
baseURL = "https://ericxliu.me/"
theme = ["hugo-cloak-email", "hugo-coder"]
languageCode = "en"
defaultcontentlanguage = "en"
pygmentsstyle = "bw"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true
enableEmoji = true
enableTwemoji = true
enableGitInfo = true
enableRobotsTXT = true
[taxonomies]
category = "categories"
series = "series"
tag = "tags"
author = "authors"
# 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", "DIY Overlander & Rock Crawler", "Tech Enthusiast"]
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
# AdSense Configuration
[params.adsense]
client = "ca-pub-3972604619956476"
# 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
# If you want to implement a Content-Security-Policy, add this section
[params.csp]
childsrc = ["'self'"]
fontsrc = ["'self'", "https://fonts.gstatic.com", "https://cdn.jsdelivr.net/"]
formaction = ["'self'"]
framesrc = ["'self'", "https://www.youtube.com"]
imgsrc = ["'self'"]
objectsrc = ["'none'"]
stylesrc = [
"'self'",
"'unsafe-inline'",
"https://fonts.googleapis.com/",
"https://cdn.jsdelivr.net/",
]
scriptsrc = [
"'self'",
"'unsafe-inline'",
"https://www.google-analytics.com",
"https://cdn.jsdelivr.net/",
"https://pagead2.googlesyndication.com",
"https://static.cloudflareinsights.com",
"https://unpkg.com",
]
prefetchsrc = ["'self'"]
# connect-src directive defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource
connectsrc = ["'self'", "https://www.google-analytics.com", "https://pagead2.googlesyndication.com", "https://cloudflareinsights.com", "ws://localhost:1313", "ws://localhost:*", "wss://localhost:*"]
# 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
[[params.social]]
name = "RSS"
icon = "fa-solid fa-rss fa-2x"
weight = 6
url = "https://ericxliu.me/index.xml"
rel = "alternate"
type = "application/rss+xml"
# 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 = "About"
weight = 5
url = "/about/"
[[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"