params.toml

The parameters in this file is used only in the zzo theme.

logoText

Logo text appears in the navigation bar.

1
logoText = "Zzo"
Zzo theme param - logoText

logoType

  • short: default. Treat the logo as a square.
  • long: Treat the logo as a rectangle.
1
logoType = "short"
Zzo theme param - logoType

description

Used for Search Engine Optimization(SEO)

1
description = "My Awesome Blog!"
Zzo theme param - description

useFaviconGenerator

Whether you want to use favicon-generator or not. See the favicon user guide if you want to set this param to true.

1
useFaviconGenerator = true
Zzo theme param - useFaviconGenerator

meta_image

When you want to share your blog posts to social media(Twitter, Facebook, Telegram, etc), your posts link can serve meta image as a link preview. See the meta image user guide.

The meta_image param uses a relative path for a static folder. So, if your meta image exists in root/static/images/meta/mymetaimage.jpg, meta_image value should be /images/meta/mymetaimage.jpg

1
meta_image = "/images/meta/mymetaimage.jpg"
Zzo theme param - meta_image

themeOptions

Color schemes that are used in this theme. We have 5 options. Delete some options if you don’t want to include in your blog.

  • hacker
  • light
  • dark
  • solarized
  • kimbie
1
themeOptions = ["light", "dark"]
Zzo theme param - themeOptions

notAllowedTypesInHome

For example, you probably don’t want to include contact page in your post list on the home page. Add some types that you don’t want to include. There are many types used in this theme.

  • about
  • archive
  • contact
  • talks
  • showcase
  • publication
  • presentation
  • resume
  • gallery
1
notAllowedTypesInHome = ["contact", "talks", "about", "showcase", "publication", "presentation", "resume"]
Zzo theme param - notAllowedTypesInHome

notAllowedTypesInHomeSidebar

Types that you don’t want to include on your home sidebar. See the type list here.

1
notAllowedTypesInHomeSidebar = ["about", "archive", "showcase", "gallery", "publication", "presentation", "resume"]
Zzo theme param - notAllowedTypesInHomeSidebar

notAllowedTypesInArchive

Types that you don’t want to include on your archive page. See the type list here.

1
notAllowedTypesInArchive = ["about", "talks", "showcase", "publication", "presentation", "resume"]
Zzo theme param - notAllowedTypesInArchive

notAllowedTypesInHomeFeed

Types that you don’t want to include on your RSS feed page. See the type list here.

1
notAllowedTypesInHomeFeed = ["about", "archive", "contact", "talks", "showcase", "publication", "presentation", "resume", "gallery"]
Zzo theme param - notAllowedTypesInHomeFeed

viewportSize

You can expand or narrow your blog page as a whole. There are 5 options.

  • widest
  • wider
  • wide
  • normal
  • narrow
1
viewportSize = "normal"
Zzo theme param - viewportSize
Zzo theme param - viewportSize

enableUiAnimation

Option for enabling or disabling UI animation when contents loaded.

1
enableUiAnimation = true
Zzo theme param - enableUiAnimation

hideSingleContentsWhenJSDisabled

If true, blog contents will be hidden when javascript disabled in a browser.

1
hideSingleContentsWhenJSDisabled = false
Zzo theme param - hideSingleContentsWhenJSDisabled

minItemsToShowInTagCloud

Option to hide a small number of tags(series, categories)

1
minItemsToShowInTagCloud = 1
Zzo theme param - minItemsToShowInTagCloud

enablePinnedPosts

When true, you can set pinned front-matter in a post. Pinned post appears on top of your post list.

1
enablePinnedPosts = true
Zzo theme param - enablePinnedPosts

enableAppbarSearchIcon

When true, the search icon will appear in the navigation bar

1
enableAppbarSearchIcon = true
Zzo theme param - enableAppbarSearchIcon

enableAppbarLangIcon

When true, the language icon will appear in the navigation bar

1
enableAppbarLangIcon = true
Zzo theme param - enableAppbarLangIcon

homeHeaderType

1
homeHeaderType = "text"
Zzo theme param - homeHeaderType

hideHomeHeaderWhenMobile

Hide home header when on mobile.

1
hideHomeHeaderWhenMobile = false
Zzo theme param - hideHomeHeaderWhenMobile

showMobileMenuTerms

When true, you can have a taxonomies menu on mobile.

1
showMobileMenuTerms = ["tags", "categories", "series"]
Zzo theme param - showMobileMenuTerms

enableBreadcrumb

1
enableBreadcrumb = true
Zzo theme param - enableBreadcrumb

enableSearch

Set to true if you want to enable the search feature.

1
enableSearch = true
Zzo theme param - enableSearch

enableSearchHighlight

When true, search text will be colorized.

1
enableSearchHighlight = true
Zzo theme param - enableSearchHighlight

enableGoToTop

1
enableGoToTop = true
Zzo theme param - enableGoToTop

enableWhoami

1
enableWhoami = true
Zzo theme param - enableWhoami

summaryShape

  • card
  • classic
  • compact
1
summaryShape = "classic"
Zzo theme param - summaryShape

searchResultPosition

  • side
  • main
1
searchResultPosition = "main"
Zzo theme param - searchResultPosition

archiveGroupByDate

  • “2006-01”: group by month
  • “2006”: group by year
1
archiveGroupByDate = "2006"
Zzo theme param - archiveGroupByDate

archivePaginate

A number of elements per page on the archive page.

1
archivePaginate = 20
Zzo theme param - archivePaginate

paginateWindow

Setting it to 1 gives 7 buttons, 2 gives 9, etc. If set 1: [1 … 4 5 6 … 356] [1 2 3 4 5 … 356] etc

1
paginateWindow = 1
Zzo theme param - paginateWindow

talksPaginate

A number of elements per page on the talks page.

1
talksPaginate = 5
Zzo theme param - talksPaginate

talksGroupByDate

  • “2006-01”: group by month
  • “2006”: group by year
1
talksGroupByDate = "2006"
Zzo theme param - talksGroupByDate

pubPaginate

A number of elements per page on the publication page.

1
pubPaginate = 20
Zzo theme param - pubPaginate

myname

Used for bio, whoami component

1
myname = "choi"
Zzo theme param - myname

email

Used for bio, whoami component

1
email = "example@gmail.com"
Zzo theme param - email

whoami

Used for bio, whoami component

1
whoami = "📚Learner🤓Nerd🌐Web Developer"
Zzo theme param - whoami

bioImageUrl

Used for bio, whoami component. This param is for an external image link.

1
bioImageUrl = "https://..."
Zzo theme param - bioImageUrl

useGravatar

Used for bio, whoami component. When true, the email param also needs to be correct.

1
useGravatar = false
Zzo theme param - useGravatar

location

Used for bio, whoami component

1
location = "Seoul, Korea"
Zzo theme param - location

organization

Used for bio, whoami component

1
organization = "Hugo"
Zzo theme param - organization

Used for bio, whoami component

1
link = "https://zzossig.io"
Zzo theme param - link

enableBio

1
enableBio = true
Zzo theme param - enableBio

enableSidebar

1
enableSidebar = true
Zzo theme param - enableSidebar

enableSidebarTags

1
enableSidebarTags = true
Zzo theme param - enableSidebarTags

enableSidebarSeries

1
enableSidebarSeries = true
Zzo theme param - enableSidebarSeries

enableSidebarCategories

1
enableSidebarCategories = true
Zzo theme param - enableSidebarCategories

enableHomeSidebarTitles

1
enableHomeSidebarTitles = true
Zzo theme param - enableHomeSidebarTitles

enableListSidebarTitles

1
enableListSidebarTitles = true
Zzo theme param - enableListSidebarTitles

enableToc

Completely remove the table of contents(TOC).

1
enableToc = true
Zzo theme param - enableToc

hideToc

Hide table of contents(TOC) temporary.

1
hideToc = false
Zzo theme param - hideToc

tocFolding

When true, TOC will be folding dynamically.

1
tocFolding = true
Zzo theme param - tocFolding

tocPosition

  • inner
  • outer
1
tocPosition = "outer"
Zzo theme param - tocPosition

enableTocSwitch

1
enableTocSwitch = true
Zzo theme param - enableTocSwitch

itemsPerCategory

1
itemsPerCategory = 5
Zzo theme param - itemsPerCategory

sidebarPosition

1
sidebarPosition = "right"
Zzo theme param - sidebarPosition

showPoweredBy

1
showPoweredBy = true
Zzo theme param - showPoweredBy
1
showFeedLinks = true
Zzo theme param - showFeedLinks
1
showSocialLinks = true
Zzo theme param - showSocialLinks

enableLangChange

1
enableLangChange = true
Zzo theme param - enableLangChange

enableThemeChange

1
enableThemeChange = true
Zzo theme param - enableThemeChange

googleTagManager

1
googleTagManager = "" # GTM-XXXXXX

baiduAnalytics

1
baiduAnalytics = ""

enableBusuanzi

1
enableBusuanzi = false
Zzo theme param - enableBusuanzi

busuanziSiteUV

1
busuanziSiteUV = true
Zzo theme param - busuanziSiteUV

busuanziSitePV

1
busuanziSitePV = true
Zzo theme param - busuanziSitePV

busuanziPagePV

1
busuanziPagePV = true
Zzo theme param - busuanziPagePV

updatePeriod

RSS update period

  • hourly
  • daily
  • weekly
  • monthly
  • yearly
1
updatePeriod = "monthly"

enableComment

Supported comment services

  • disqus
  • commento
  • gitment
  • utterances
  • gitalk
  • valine
  • changyan
  • livere
  • isso
1
enableComment = false
Zzo theme param - enableComment

socialOptions

If set, social icons will show up

  • email
  • phone
  • facebook
  • twitter
  • github
  • stack-overflow
  • instagram
  • google-plus
  • youtube
  • medium
  • tumblr
  • linkedin
  • pinterest
  • stack-exchange
  • telegram
  • steam
  • weibo
  • douban
  • csdn
  • gitlab
  • mastodon
  • jianshu
  • zhihu
  • signal
  • whatsapp
  • matrix
  • xmpp
  • dev-to
  • gitea
  • google-scholar
  • twitch
1
2
[socialOptions]
  email = "mailto:your@email.com"
Zzo theme param - socialOptions
Zzo theme param - socialOptions

donationOptions

  • enable: If set, the donation button will appear at the end of the post.
  • alipay: Alipay QR Code image (example path: images/donation/alipay-qrcode.png) and put your file at root/static/images/donation/
  • wechat: Wechat pay QR Code image (example path: same as above)
  • paypal: Paypal URL
  • patreon: Patreon URL
  • bitcoin: example path: images/donation/bitcoin-code-image.png
1
2
3
4
5
6
7
[donationOptions]
  enable = false
  alipay = ""
  wechat = ""
  bitcoin = ""
  paypal = ""
  patreon = ""
Zzo theme param - donationOptions

share

If set, the social media button will appear at the end of the post.

  • facebook
  • twitter
  • reddit
  • linkedin
  • tumblr
  • weibo
  • douban
  • line
  • whatsapp
  • telegram
1
2
3
4
5
[[share]]
  name = "facebook"
[[share]]
  name = "twitter"
  username = ""
Zzo theme param - share