Browse Source

update dependencies

I think maybe I'll need a full rewrite of configuration...
Xi Ruoyao 2 years ago
parent
commit
4f0b5687f0
5 changed files with 35 additions and 65 deletions
  1. 1 1
      .hugo_version
  2. 0 1
      config/_default/config.toml
  3. 23 53
      config/_default/params.toml
  4. 10 9
      content/home/contact.md
  5. 1 1
      themes/wowchemy

+ 1 - 1
.hugo_version

@@ -1 +1 @@
-0.89.2
+0.93.0

+ 0 - 1
config/_default/config.toml

@@ -1,6 +1,5 @@
 baseurl = "https://bf.mengyan1223.wang/blog/"  # End your URL with a `/` trailing slash, e.g. `https://example.com/`.
 title = "Xry111's Blog"
-copyright = "© 2017-2021 Xi Ruoyao"
 theme = "wowchemy"
 enableEmoji = true
 footnotereturnlinkcontents = "<sup>^</sup>"

+ 23 - 53
config/_default/params.toml

@@ -1,22 +1,5 @@
-# Color theme.
-#   Choose from `default`, `ocean`, `forest`, `coffee`, `dark`, or `1950s`.
-theme = "minimal"
-
-# Font style.
-#   Choose from `default`, `classic`, or `playfair`.
-font = ""
-font_size = "L"
-
 main_menu = {align = "r", show_logo = true}
 
-email = "xry111@mengyan1223.wang"
-gnupg_key = "12E9D32E766A57DC069D76B0D95E4716CCBB34DC"
-address = {street = "266 Xifeng Rd.", city="Xi'an", region="Shaanxi", postcode="710126", country="China", country_code="CN"}
-office_hours = ""
-phone = ""
-skype = ""
-telegram = ""
-
 # Enable Keybase in Contact widget by entering your keybase.io username.
 keybase = ""
 
@@ -60,42 +43,6 @@ comment_count = true
 # Display section pager for posts?
 section_pager = false
 
-# Enable global LaTeX math rendering?
-#   If false, you can enable it locally on a per page basis.
-math = true
-
-# Highlight.js options
-#   highlight
-#     Enable global source code highlighting?  If false, you can
-#     override it for a particular page in that page's preamble.
-#
-#     Example: highlight = true
-#
-#   highlight_languages
-#     Add support for highlighting additional languages. Support for
-#     languages mentioned here will be included in all pages.
-#
-#     Example: highlight_languages = ["go", "lisp", "ocaml"]
-#
-#   highlight_style
-#     Choose a different CSS style for highlighting source
-#     code. Setting this option in a page's preamble has no
-#     effect.
-#
-#     Example: highlight_style = "github-gist"
-#
-#   For the list of supported languages and styles, see:
-#   https://cdnjs.com/libraries/highlight.js/
-#
-#   For more info on the highlighting options, see:
-#   https://sourcethemes.com/academic/post/writing-markdown-latex/#highlighting-options
-highlight = true
-highlight_languages = [ "go", "python", "x86asm" ]
-# highlight_style = "github"
-
-# Enable native social sharing buttons?
-sharing = true
-
 # Link custom CSS and JS assets
 #   (relative to /static/css and /static/js respectively)
 custom_css = []
@@ -119,6 +66,10 @@ publication_types = [
 
 edit_page = {repo_url = "https://git.mengyan1223.wang/xry111/blog", repo_branch="master", editable = {}}
 
+[features]
+math = { enable = true }
+search = { provider = 'wowchemy' }
+
 # Configuration of talk pages.
 [talks]
   # Show talk time?
@@ -171,3 +122,22 @@ edit_page = {repo_url = "https://git.mengyan1223.wang/xry111/blog", repo_branch=
 [cms]
   # See https://sourcethemes.com/academic/docs/install/#install-with-web-browser
   netlify_cms = false
+
+[appearance]
+  theme_day = 'minimal'
+  theme_night = 'minimal'
+  font = 'native'
+  font_size = 'L'
+
+[header.navbar]
+  align = 'r'
+  show_search = true
+
+[footer.copyright]
+  notice = 'Copyright (C) 2017-2022 Xi Ruoyao.  This work is licensed under {license}'
+
+[footer.copyright.license]
+enable = true
+allow_derivatives = false
+share_alike = false
+allow_commercial = false

+ 10 - 9
content/home/contact.md

@@ -1,16 +1,17 @@
 +++
-# Contact widget.
 widget = "contact"
-active = true
-
+headless = "true"
 title = "Contact"
 subtitle = ""
-
-# Order that this section will appear in.
 weight = 70
+active = true
 
-# Automatically link email and phone?
-autolink = true
-
+content.email = "xry111@mengyan1223.wang"
+content.address.street = "266 Xifeng Road"
+content.address.city = "Xi'an"
+content.address.region = 'Shaanxi'
+content.address.postcode = '710126'
+content.address.country = 'China'
+content.address.country_code = 'CN'
+content.gnupg_key = '12E9D32E766A57DC069D76B0D95E4716CCBB34DC'
 +++
-

+ 1 - 1
themes/wowchemy

@@ -1 +1 @@
-Subproject commit e5a22e2a5d2e96aac10e22d612f7214fc8b78e96
+Subproject commit ac4debd065dc8e0b653c5df235fa4736539f60e4