|
@@ -8,9 +8,6 @@ ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
|
|
|
preserveTaxonomyNames = true
|
|
|
paginate = 10
|
|
|
|
|
|
-# Enable comments by entering your Disqus shortname
|
|
|
-disqusShortname = ""
|
|
|
-
|
|
|
# Enable analytics by entering your Google Analytics tracking ID
|
|
|
googleAnalytics = ""
|
|
|
|
|
@@ -22,9 +19,20 @@ defaultContentLanguageInSubdir = false
|
|
|
enableGitInfo = true
|
|
|
|
|
|
[outputs]
|
|
|
- home = [ "HTML", "RSS", "JSON" ]
|
|
|
+ home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
|
|
|
section = [ "HTML", "RSS" ]
|
|
|
|
|
|
+[mediaTypes."application/manifest+json"]
|
|
|
+ suffixes = ["webmanifest"]
|
|
|
+
|
|
|
+[outputFormats.WebAppManifest]
|
|
|
+ mediaType = "application/manifest+json"
|
|
|
+ rel = "manifest"
|
|
|
+
|
|
|
+# Enable comments by entering your Disqus shortname
|
|
|
+disqusShortname = ""
|
|
|
+
|
|
|
+
|
|
|
# Configure BlackFriday Markdown rendering.
|
|
|
# See: https://gohugo.io/readfiles/bfconfig/
|
|
|
[blackfriday]
|
|
@@ -35,17 +43,18 @@ enableGitInfo = true
|
|
|
[params]
|
|
|
# Color theme.
|
|
|
# Choose from `default`, `ocean`, `forest`, `coffee`, `dark`, or `1950s`.
|
|
|
- color_theme = "default"
|
|
|
+ theme = "minimal"
|
|
|
|
|
|
# Font style.
|
|
|
# Choose from `default`, `classic`, or `playfair`.
|
|
|
- font = "default"
|
|
|
+ font = ""
|
|
|
+ font_size = "L"
|
|
|
|
|
|
gravatar = false # Get your avatar from Gravatar.com? (true/false)
|
|
|
avatar = "portrait.jpg" # Specify an avatar image (in `static/img/` folder) or delete value to disable avatar.
|
|
|
email = "xry111@mengyan1223.wang"
|
|
|
gnupg_key = "E1479BFE2CB3BB387F25D7B4D0101C62400F5ADF"
|
|
|
- address = "G-213, Xidian University (South Campus) \n No. 266 Xifeng Rd., Xi'an"
|
|
|
+ address = {street = "266 Xifeng Rd.", city="Xi'an", region="Shaanxi", postcode="710126", country="China", country_code="CN"}
|
|
|
office_hours = ""
|
|
|
phone = ""
|
|
|
skype = ""
|
|
@@ -77,11 +86,6 @@ enableGitInfo = true
|
|
|
# 1: Google Maps
|
|
|
# 2: OpenStreetMap (Mapnik)
|
|
|
# 3: OpenStreetMap (Mapbox)
|
|
|
- map = 0
|
|
|
- map_api_key = ""
|
|
|
- latitude = "37.4275"
|
|
|
- longitude = "-122.1697"
|
|
|
- zoom = 15
|
|
|
|
|
|
# Date and time format (refer to Go's date format: http://fuckinggodateformat.com )
|
|
|
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
|
|
@@ -155,6 +159,8 @@ enableGitInfo = true
|
|
|
'Book chapter' # 6
|
|
|
]
|
|
|
|
|
|
+ edit_page = {repo_url = "https://git.mengyan1223.wang/xry111/blog", repo_branch="master", editable = {}}
|
|
|
+
|
|
|
# Configuration of talk pages.
|
|
|
[params.talks]
|
|
|
# Show talk time?
|
|
@@ -227,3 +233,14 @@ enableGitInfo = true
|
|
|
# Configure the English version of the website.
|
|
|
[Languages.en]
|
|
|
languageCode = "en-us"
|
|
|
+
|
|
|
+[params.map]
|
|
|
+ engine = 0
|
|
|
+ map_api_key = ""
|
|
|
+ latitude = "37.4275"
|
|
|
+ longitude = "-122.1697"
|
|
|
+ zoom = 15
|
|
|
+
|
|
|
+[params.comments]
|
|
|
+ engine = 0
|
|
|
+ commentable = {}
|