Configuration Guide

There are hugo-theme-0x148 configuration files of this site:

config.toml file:

1
baseURL = "https://theme.0x148.com"
defaultContentLanguage = "en-us"
hasCJKLanguage = true
relativeURLs = true
paginate = 10

copyright = "Copyright (c) progamesigner."
enableRobotsTXT = true

pygmentsOptions = "linenos=table"
pygmentsUseClasses = true

[author]
    name = "Yang Sheng Han"
    email = "progamesigner@outlook.com"
    url = "https://progamesigner.com"

[params]
    comments = true
    toc = true

    mainSections = ["posts"]

    htmlModules = [
        "disqus",
        "google-analytics",
        "katex",
        "katex-auto-render",
        "katex-copy-tex"
    ]

[privacy]
[privacy.googleAnalytics]
    anonymizeIP = true
    respectDoNotTrack = true

[taxonomies]
    category = "categories"
    series = "series"
    tag = "tags"

languages.en-us.toml file:

1
languageCode = "en-US"
languageName = "English"
title = "Hugo 0x148 Theme"
description = "A theme for Hugo with customizations."
weight = 10

menus.en-us.toml file:

1
[[link]]
    title = "Website"
    name = "theme"
    url = "https://theme.0x148.com"
    weight = 0

[[link]]
    title = "GitHub"
    name = "github"
    url = "https://github.com/progamesigner/hugo-theme-0x148"
    weight = 10

[[share]]
    title = "Share with Facebook"
    name = "facebook"
    url = "https://www.facebook.com/sharer.php?u={url}"
    weight = 10

[[share]]
    title = "Tweet to Twitter"
    name = "twitter"
    url = "https://twitter.com/intent/tweet?url={url}&text={title}"
    weight = 20

[[share]]
    title = "Add to Trello card"
    name = "trello"
    url = "https://trello.com/add-card?source={base}&url={url}&name={title}&desc={description}"
    weight = 30

[[share]]
    title = "Save to Pocket"
    name = "pocket"
    url = "https://getpocket.com/edit?url={url}"
    weight = 40

[[share]]
    title = "Share with Email"
    name = "email"
    url = "mailto:?subject={title}&body={url}"
    weight = 50

Updating Guide

Updating Update theme via submodule 1 2 3 4 5 6 7 cd themes/hugo-theme-0x148 git checkout master git pull cd ../.. git add themes/hugo-theme-0x148 git commit -m "Update …

You have to accept cookie policy to use comment.