params.toml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. main_menu = {align = "r", show_logo = true}
  2. # Enable Keybase in Contact widget by entering your keybase.io username.
  3. keybase = ""
  4. # Discussion link (e.g. link to a forum, mailing list, or chat).
  5. # Uncomment line below to use.
  6. # discussion = { name = "Discuss", url = "https://discourse.gohugo.io" }
  7. # Diplay a logo in navigation bar rather than title (optional).
  8. # To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
  9. logo = ""
  10. # Enable/disable map in Contact widget.
  11. # To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
  12. # a map provider below.
  13. # To use Google Maps, set `map = 1` and enter your API key that can be obtained here:
  14. # https://developers.google.com/maps/documentation/javascript/get-api-key
  15. # To use OpenStreetMap tiles, set `map = 2`.
  16. # To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
  17. # https://www.mapbox.com/studio/account/tokens
  18. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
  19. #
  20. # Map provider:
  21. # 0: No map
  22. # 1: Google Maps
  23. # 2: OpenStreetMap (Mapnik)
  24. # 3: OpenStreetMap (Mapbox)
  25. # Date and time format (refer to Go's date format: http://fuckinggodateformat.com )
  26. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  27. date_format = "Jan 2, 2006"
  28. # Examples: "3:04 pm" or "15:04"
  29. time_format = "3:04 PM"
  30. address_format = "en-us"
  31. # Show estimated reading time for posts?
  32. reading_time = true
  33. # Display comment count? Requires commenting to be enabled.
  34. comment_count = true
  35. # Display section pager for posts?
  36. section_pager = false
  37. # Link custom CSS and JS assets
  38. # (relative to /static/css and /static/js respectively)
  39. custom_css = []
  40. custom_js = []
  41. # Publication types.
  42. # Used to categorize publications.
  43. # The index of the publication type in the list is used as its unique numerical identifier.
  44. # The numeric ID is used in a publication's frontmatter to categorize it.
  45. # The language can be edited below.
  46. # For multi-lingual sites, copy this block to each language section at the end of this file.
  47. publication_types = [
  48. 'Uncategorized', # 0
  49. 'Conference proceedings', # 1
  50. 'Journal', # 2
  51. 'Work in progress', # 3
  52. 'Technical report', # 4
  53. 'Book', # 5
  54. 'Book chapter' # 6
  55. ]
  56. edit_page = {repo_url = "https://git.mengyan1223.wang/xry111/blog", repo_branch="master", editable = {}}
  57. [features]
  58. math = { enable = true }
  59. search = { provider = 'wowchemy' }
  60. # Configuration of talk pages.
  61. [talks]
  62. # Show talk time?
  63. time = true
  64. # Configuration of publication pages.
  65. [publications]
  66. # Date format (refer to Go's date format: http://fuckinggodateformat.com )
  67. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  68. date_format = "January, 2006"
  69. # Configuration of project pages.
  70. [params.projects]
  71. # List publications and talks related to the project?
  72. list_children = true
  73. # Publication list format.
  74. # 0 = Simple
  75. # 1 = Detailed
  76. # 2 = APA
  77. # 3 = MLA
  78. publication_format = 3
  79. [search]
  80. engine = 1
  81. [map]
  82. engine = 0
  83. map_api_key = ""
  84. latitude = "37.4275"
  85. longitude = "-122.1697"
  86. zoom = 15
  87. [comments]
  88. engine = 0
  89. commentable = {}
  90. [avatar]
  91. gravatar = false
  92. shape = "circle"
  93. # Available address formats.
  94. [address_formats]
  95. en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
  96. en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
  97. de = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  98. fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  99. zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
  100. [cms]
  101. # See https://sourcethemes.com/academic/docs/install/#install-with-web-browser
  102. netlify_cms = false
  103. [appearance]
  104. theme_day = 'minimal'
  105. theme_night = 'minimal'
  106. font = 'native'
  107. font_size = 'L'
  108. [header.navbar]
  109. align = 'r'
  110. show_search = true
  111. [footer.copyright]
  112. notice = 'Copyright (C) 2017-2022 Xi Ruoyao. This work is licensed under {license}'
  113. [footer.copyright.license]
  114. enable = true
  115. allow_derivatives = false
  116. share_alike = false
  117. allow_commercial = false