2019-08-25 21:00:53 +02:00
baseURL = "https://example.com/"
2020-01-31 11:46:28 +01:00
# website language
languageCode = "en"
# [en, zh, ...] determines which i18n file to use
defaultContentLanguage = "en"
# website title
title = "LoveIt Theme"
# theme
theme = "LoveIt"
# whether to use git commit log to generate lastmod record
enableGitInfo = false
# whether to include chinese/japanese/korean
hasCJKLanguage = false
# default amount of posts in each pages
paginate = 12
# whether to use emoji code
enableEmoji = true
# whether to use robots.txt
enableRobotsTXT = true
# [UA-XXXXXXXX-X] google analytics code
googleAnalytics = ""
# copyright description used only for seo schema
2019-08-25 20:25:56 +02:00
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
2020-01-31 15:53:04 +01:00
# date format
dateFormatToUse = "2006-01-02"
2019-08-25 20:25:56 +02:00
2020-01-31 11:46:28 +01:00
# Markup related configuration in Hugo
2020-01-01 03:36:14 +01:00
[ markup ]
2020-01-31 11:46:28 +01:00
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
[ markup . highlight ]
codeFences = true
guessSyntax = true
lineNoStart = 1
lineNos = true
lineNumbersInTable = true
noClasses = false
style = "monokai"
tabWidth = 4
# Goldmark is from Hugo 0.60 the default library used for Markdown
[ markup . goldmark ]
[ markup . goldmark . renderer ]
unsafe = true
# Table Of Contents settings
[ markup . tableOfContents ]
startLevel = 2
endLevel = 6
2020-01-01 03:36:14 +01:00
2020-01-31 11:46:28 +01:00
# Author Info
[ author ]
name = "xxxx"
2019-08-25 20:25:56 +02:00
2020-01-31 11:46:28 +01:00
# Sitemap Info
[ sitemap ]
2019-08-25 20:25:56 +02:00
changefreq = "weekly"
2019-02-03 12:30:44 +01:00
filename = "sitemap.xml"
priority = 0.5
2020-01-31 11:46:28 +01:00
# Permalinks Info (https://gohugo.io/content-management/urls/#permalinks)
[ Permalinks ]
2019-11-20 08:58:41 +01:00
posts = ":year/:month/:filename"
2019-02-03 12:30:44 +01:00
2020-01-31 11:46:28 +01:00
# Menu Info
[ menu ]
2019-02-03 12:30:44 +01:00
[ [ menu . main ] ]
2019-08-25 20:25:56 +02:00
identifier = "posts"
name = "Posts"
2019-11-20 08:58:41 +01:00
url = "posts"
2019-02-03 12:30:44 +01:00
weight = 1
[ [ menu . main ] ]
2019-08-25 20:25:56 +02:00
identifier = "tags"
name = "Tags"
2019-11-20 08:58:41 +01:00
url = "tags"
2019-08-25 20:25:56 +02:00
weight = 2
[ [ menu . main ] ]
identifier = "categories"
2019-02-03 12:30:44 +01:00
name = "Categories"
2019-11-20 08:58:41 +01:00
url = "categories"
2019-02-03 12:30:44 +01:00
weight = 3
2019-02-25 00:43:14 +01:00
[ [ menu . main ] ]
2019-08-25 20:25:56 +02:00
identifier = "about"
2019-02-25 00:43:14 +01:00
name = "About"
2019-11-20 08:58:41 +01:00
url = "about"
2019-02-25 00:43:14 +01:00
weight = 4
2019-08-25 20:25:56 +02:00
[ [ menu . main ] ]
identifier = "zh"
2020-01-31 11:46:28 +01:00
name = '<i class="fas fa-language fa-fw" title="简体中文"></i>'
2019-08-25 20:25:56 +02:00
url = "https://hugo-loveit-zh.netlify.com"
weight = 5
2019-02-03 12:30:44 +01:00
[ params ]
2020-01-31 11:46:28 +01:00
# LoveIt theme version
version = "0.1.X"
# site description
description = "LoveIt Theme Demo"
# site keywords
keywords = [ "Theme" , "Hugo" ]
2019-08-25 20:25:56 +02:00
2020-01-31 11:46:28 +01:00
# Home Page Info
## [post, other] home mode
home_mode = "post"
## special amount of posts in each home post page
home_paginate = 6
## URL of avatar shown in home page
avatar = "images/avatar.png"
## subtitle shown in home page
subtitle = "A Clean, Elegant but Advanced Hugo Theme"
2019-08-25 20:25:56 +02:00
2020-01-31 11:46:28 +01:00
# whether to show social share links in post page
socialShare = true
2019-08-25 20:25:56 +02:00
2020-01-31 11:46:28 +01:00
# Footer CopyRight Info
## Site creation time
since = 2018
## ICP info only in China (HTML format is allowed)
icp = ""
## license info (HTML format is allowed)
2019-08-25 20:25:56 +02:00
license = '<a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a>'
2020-01-31 11:46:28 +01:00
# public git repo url to link lastmod git commit only then enableGitInfo is true
gitRepo = ""
# whether to show link to Raw Markdown content of the post
linkToMarkdown = true
2019-08-25 20:25:56 +02:00
2020-01-31 11:46:28 +01:00
# site verification code for Google/Bing/Yandex/Pinterest/Baidu
2019-08-25 20:25:56 +02:00
google_verification = ""
bing_verification = ""
yandex_verification = ""
pinterest_verification = ""
baidu_verification = ""
2020-01-31 11:46:28 +01:00
# CSS and JS Files CDN
[ params . cdn ]
## for example '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.1/css/all.min.css" integrity="sha256-fdcFNFiBMrNfWL6OcAGQz6jDgNTRxnrLEd4vJYFWScE=" crossorigin="anonymous">'
fontawesome_free_css = ''
2019-08-25 20:25:56 +02:00
animate_css = ''
gitalk_css = ''
gitalk_js = ''
valine_js = ''
jquery_js = ''
lazysizes_js = ''
smooth_scroll_js = ''
katex_css = ''
katex_js = ''
katex_auto_render_js = ''
mermaid_js = ''
echarts_js = ''
2019-11-20 08:58:41 +01:00
echarts_macarons_js = ''
2019-08-25 20:25:56 +02:00
typeit_js = ''
jquery_countdown_js = ''
aplayer_css = ''
aplayer_js = ''
meting_js = ''
2020-01-31 11:46:28 +01:00
# Gravatar Info for preferred avatar in home page
[ params . gravatar ]
2019-08-25 20:25:56 +02:00
email = ""
2020-01-31 11:46:28 +01:00
# Social Info in home page
[ params . social ]
2019-02-03 12:30:44 +01:00
GitHub = "xxxx"
2019-02-26 00:25:27 +01:00
Linkedin = "xxxx"
2019-02-03 12:30:44 +01:00
Twitter = "xxxx"
2019-03-14 00:29:11 +01:00
#Instagram = "xxxx"
2020-01-31 11:46:28 +01:00
Email = "xxxx@outlook.com"
2019-02-03 12:30:44 +01:00
Facebook = "xxxx"
2019-08-25 20:25:56 +02:00
Telegram = "xxxx"
2019-03-14 00:29:11 +01:00
#Medium = "xxxx"
#Gitlab = "xxxx"
#Youtubelegacy = "xxxx"
#Youtubecustom = "xxxx"
#Youtubechannel = "xxxx"
#Tumblr ="xxxx"
#Quora = "xxxx"
#Keybase = "xxxx"
#Pinterest = "xxxx"
#Reddit = "xxxx"
#Codepen = "xxxx"
2019-12-04 04:12:11 +01:00
#FreeCodeCamp = "xxxx"
2019-03-14 00:29:11 +01:00
#Bitbucket = "xxxx"
2019-08-25 20:25:56 +02:00
#Stackoverflow = "xxxx"
2019-03-14 00:29:11 +01:00
#Weibo = "xxxx"
#Odnoklassniki = "xxxx"
#VKontakte = "xxxx"
#Flickr = "xxxx"
2019-03-14 00:32:04 +01:00
#Xing = "xxxx"
#Snapchat = "xxxx"
#Soundcloud = "xxxx"
#Spotify = "xxxx"
#Bandcamp = "xxxx"
#Paypal = "xxxx"
#Fivehundredpx = "xxxx"
2019-03-14 11:13:40 +01:00
#Mix = "xxxx"
Added more social
Added more social links:
Goodreads, Lastfm, Foursquare, Hackernews, Kickstarter, Patreon, Steam, Twitch, Strava, Skype, Whatsapp
2019-03-14 15:45:24 +01:00
#Goodreads = "xxxx"
#Lastfm = "xxxx"
#Foursquare = "xxxx"
#Hackernews = "xxxx"
#Kickstarter = "xxxx"
#Patreon = "xxxx"
#Steam = "xxxx"
#Twitch = "xxxx"
#Strava = "xxxx"
#Skype = "xxxx"
#Whatsapp = "xxxx"
2019-03-17 01:45:35 +01:00
#Zhihu = "xxxx"
#Douban = "xxxx"
2019-03-18 20:10:49 +01:00
#Angellist = "xxxx"
#Slidershare = "xxxx"
#Jsfiddle = "xxxx"
#Deviantart = "xxxx"
#Behance = "xxxx"
#Dribble = "xxxx"
#Wordpress = "xxxx"
#Vine = "xxxx"
2019-03-24 08:37:58 +01:00
#Googlescholar = "xxxx"
#Researchgate = "xxxx"
2019-03-24 09:09:29 +01:00
#Mastodon = "xxxx"
2019-03-24 10:18:52 +01:00
#Thingiverse = "xxxx"
2020-01-02 13:47:18 +01:00
#Devto = "xxxx"
2019-03-14 00:32:04 +01:00
2020-01-31 11:46:28 +01:00
# Social Share Links in post page
[ params . share ]
2019-08-25 20:25:56 +02:00
enable = true
Twitter = true
Facebook = true
Reddit = true
#Linkedin = true
#Pinterest = true
#HackerNews = true
#Mix = true
#Tumblr = true
#VKontakte = true
#Weibo = true
2020-01-31 11:46:28 +01:00
# Publisher Info just for SEO
[ params . publisher ]
name = "xxxx"
2019-02-03 12:30:44 +01:00
[ params . publisher . logo ]
2019-11-20 08:58:41 +01:00
url = "logo.png"
2019-02-03 12:30:44 +01:00
width = 127
height = 40
2020-01-31 11:46:28 +01:00
# Website Log Info just for SEO
[ params . logo ]
2019-11-20 08:58:41 +01:00
url = "logo.png"
2019-02-03 12:30:44 +01:00
width = 127
height = 40
2020-01-31 11:46:28 +01:00
# Website Image Info just for SEO
[ params . image ]
2019-11-20 08:58:41 +01:00
url = "cover.png"
2019-02-03 12:30:44 +01:00
width = 800
height = 600
2019-03-15 10:15:32 +01:00
2020-01-31 11:46:28 +01:00
# Disqus Comment Config (https://disqus.com/)
[ params . disqus ]
# Disqus shortname to use Disqus in posts
shortname = ""
# Gittalk Comment Config (https://github.com/gitalk/gitalk)
[ params . gitalk ]
2019-08-25 20:25:56 +02:00
owner = ""
repo = ""
clientId = ""
clientSecret = ""
2020-01-31 11:46:28 +01:00
# Valine Comment Config (https://github.com/xCss/Valine)
[ params . valine ]
2019-08-25 20:25:56 +02:00
enable = false
appId = ""
appKey = ""
notify = false
verify = true
avatar = "mp"
placeholder = "Your comment ..."
visitor = true
recordIP = true
2020-01-29 15:16:50 +01:00
2020-01-31 11:46:28 +01:00
# Facebook Comment Config (https://developers.facebook.com/docs/plugins/comments)
[ params . facebook ]
2020-01-04 03:25:34 +01:00
enable = false
width = "100%"
numPosts = 10
appId = ""
languageCode = "en_US"
2019-08-25 20:25:56 +02:00
2020-01-31 11:46:28 +01:00
# Privacy Info (https://gohugo.io/about/hugo-and-gdpr/)
[ privacy ]
2019-08-25 20:25:56 +02:00
[ privacy . googleAnalytics ]
anonymizeIP = true
[ privacy . youtube ]
privacyEnhanced = true
2020-01-31 11:46:28 +01:00
# Options to make hugo output .md files.
[ mediaTypes ]
2019-08-25 20:25:56 +02:00
[ mediaTypes . "text/plain" ]
suffixes = [ "md" ]
2020-01-31 11:46:28 +01:00
# Options to make hugo output .md files.
[ outputFormats . MarkDown ]
2019-08-25 20:25:56 +02:00
mediaType = "text/plain"
isPlainText = true
isHTML = false
2020-01-31 11:46:28 +01:00
# Options to make hugo output files.
[ outputs ]
2019-08-25 20:25:56 +02:00
home = [ "HTML" , "RSS" ]
page = [ "HTML" , "MarkDown" ]
section = [ "HTML" , "RSS" ]
taxonomy = [ "HTML" , "RSS" ]
taxonomyTerm = [ "HTML" ]