Skip to content

Commit

Permalink
Add "paper" theme
Browse files Browse the repository at this point in the history
  • Loading branch information
canxerian committed Jul 15, 2024
1 parent d058cc8 commit 3e79a40
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/paper"]
path = themes/paper
url = https://github.com/nanxiaobei/hugo-paper
65 changes: 63 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,64 @@
baseURL = 'https://example.org/'
baseURL = 'https://canxerian.com/'
languageCode = 'en-us'
title = 'My New Hugo Site'
title = 'Canxerian software dev blog'
theme = 'paper'

# disqusShortname = 'YOUR_DISQUS_SHORTNAME' # use disqus comments

[params]
# color style
color = 'light' # linen, wheat, gray, light

# header social icons
github = 'canxerian' # github.com/YOUR_GITHUB_ID
linkedin = 'canxerian' # linkedin.com/in/YOUR_LINKEDIN_ID
# twitter = 'YOUR_TWITTER_ID' # twitter.com/YOUR_TWITTER_ID
# instagram = 'YOUR_INSTAGRAM_ID' # instagram.com/YOUR_INSTAGRAM_ID
# mastodon = 'YOUR_MASTODON_LINK' # e.g. 'https://mastodon.instance/@xxx'
# threads = '@YOUR_THREADS_ID' # threads.net/@YOUR_THREADS_ID
# rss = true # show rss icon

# home page profile
avatar = '[email protected]' # gravatar email or image url
name = 'Mark Nguyen'
bio = 'Software engineering advice'


# misc
# disableHLJS = true # disable highlight.js
# disablePostNavigation = true # disable post navigation
# monoDarkIcon = true # show monochrome dark mode icon
# gravatarCdn = 'GRAVATAR_CDN_LINK' # e.g. 'https://cdn.v2ex.com/gravatar/'
# math = true # enable KaTeX math typesetting globally
# localKatex = false # use local KaTeX js/css instead of CDN
# graphCommentId = "YOUR_GRAPH_COMMENT_ID" # use graph comment (disqus alternative)
# favicon = "favicon.ico" # customize the default favicon
# appleTouchIcon = "apple-touch-icon.png" # customize the default Apple touch icon

# giscus
# [params.giscus]
# repo = 'YOUR_GISCUS_REPO' # see https://giscus.app for more details
# repoId = 'YOUR_GISCUS_REPO_ID'
# category = 'YOUR__GISCUS_CATEGORY'
# categoryId = 'YOUR_GISCUS_CATEGORY_ID'
# mapping = 'pathname'
# theme = 'light'
# lang = 'zh-CN'
[menu]

[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
weight = 10
[[menu.main]]
identifier = "contact"
name = "Contact"
url = "/contact/"
weight = 10


[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
1 change: 1 addition & 0 deletions themes/paper
Submodule paper added at 41c806

0 comments on commit 3e79a40

Please sign in to comment.