params.toml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. # Color theme.
  2. # Choose from `default`, `ocean`, `forest`, `coffee`, `dark`, or `1950s`.
  3. theme = "minimal"
  4. # Font style.
  5. # Choose from `default`, `classic`, or `playfair`.
  6. font = ""
  7. font_size = "L"
  8. main_menu = {align = "r", show_logo = true}
  9. email = "xry111@mengyan1223.wang"
  10. gnupg_key = "12E9D32E766A57DC069D76B0D95E4716CCBB34DC"
  11. address = {street = "266 Xifeng Rd.", city="Xi'an", region="Shaanxi", postcode="710126", country="China", country_code="CN"}
  12. office_hours = ""
  13. phone = ""
  14. skype = ""
  15. telegram = ""
  16. # Enable Keybase in Contact widget by entering your keybase.io username.
  17. keybase = ""
  18. # Discussion link (e.g. link to a forum, mailing list, or chat).
  19. # Uncomment line below to use.
  20. # discussion = { name = "Discuss", url = "https://discourse.gohugo.io" }
  21. # Diplay a logo in navigation bar rather than title (optional).
  22. # To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
  23. logo = ""
  24. # Enable/disable map in Contact widget.
  25. # To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
  26. # a map provider below.
  27. # To use Google Maps, set `map = 1` and enter your API key that can be obtained here:
  28. # https://developers.google.com/maps/documentation/javascript/get-api-key
  29. # To use OpenStreetMap tiles, set `map = 2`.
  30. # To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
  31. # https://www.mapbox.com/studio/account/tokens
  32. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
  33. #
  34. # Map provider:
  35. # 0: No map
  36. # 1: Google Maps
  37. # 2: OpenStreetMap (Mapnik)
  38. # 3: OpenStreetMap (Mapbox)
  39. # Date and time format (refer to Go's date format: http://fuckinggodateformat.com )
  40. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  41. date_format = "Jan 2, 2006"
  42. # Examples: "3:04 pm" or "15:04"
  43. time_format = "3:04 PM"
  44. address_format = "en-us"
  45. # Show estimated reading time for posts?
  46. reading_time = true
  47. # Display comment count? Requires commenting to be enabled.
  48. comment_count = true
  49. # Display section pager for posts?
  50. section_pager = false
  51. # Enable global LaTeX math rendering?
  52. # If false, you can enable it locally on a per page basis.
  53. math = true
  54. # Highlight.js options
  55. # highlight
  56. # Enable global source code highlighting? If false, you can
  57. # override it for a particular page in that page's preamble.
  58. #
  59. # Example: highlight = true
  60. #
  61. # highlight_languages
  62. # Add support for highlighting additional languages. Support for
  63. # languages mentioned here will be included in all pages.
  64. #
  65. # Example: highlight_languages = ["go", "lisp", "ocaml"]
  66. #
  67. # highlight_style
  68. # Choose a different CSS style for highlighting source
  69. # code. Setting this option in a page's preamble has no
  70. # effect.
  71. #
  72. # Example: highlight_style = "github-gist"
  73. #
  74. # For the list of supported languages and styles, see:
  75. # https://cdnjs.com/libraries/highlight.js/
  76. #
  77. # For more info on the highlighting options, see:
  78. # https://sourcethemes.com/academic/post/writing-markdown-latex/#highlighting-options
  79. highlight = true
  80. highlight_languages = [ "go", "python", "x86asm" ]
  81. # highlight_style = "github"
  82. # Enable native social sharing buttons?
  83. sharing = true
  84. # Link custom CSS and JS assets
  85. # (relative to /static/css and /static/js respectively)
  86. custom_css = []
  87. custom_js = []
  88. # Publication types.
  89. # Used to categorize publications.
  90. # The index of the publication type in the list is used as its unique numerical identifier.
  91. # The numeric ID is used in a publication's frontmatter to categorize it.
  92. # The language can be edited below.
  93. # For multi-lingual sites, copy this block to each language section at the end of this file.
  94. publication_types = [
  95. 'Uncategorized', # 0
  96. 'Conference proceedings', # 1
  97. 'Journal', # 2
  98. 'Work in progress', # 3
  99. 'Technical report', # 4
  100. 'Book', # 5
  101. 'Book chapter' # 6
  102. ]
  103. edit_page = {repo_url = "https://git.mengyan1223.wang/xry111/blog", repo_branch="master", editable = {}}
  104. # Configuration of talk pages.
  105. [talks]
  106. # Show talk time?
  107. time = true
  108. # Configuration of publication pages.
  109. [publications]
  110. # Date format (refer to Go's date format: http://fuckinggodateformat.com )
  111. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  112. date_format = "January, 2006"
  113. # Configuration of project pages.
  114. [params.projects]
  115. # List publications and talks related to the project?
  116. list_children = true
  117. # Publication list format.
  118. # 0 = Simple
  119. # 1 = Detailed
  120. # 2 = APA
  121. # 3 = MLA
  122. publication_format = 3
  123. [search]
  124. engine = 1
  125. [map]
  126. engine = 0
  127. map_api_key = ""
  128. latitude = "37.4275"
  129. longitude = "-122.1697"
  130. zoom = 15
  131. [comments]
  132. engine = 0
  133. commentable = {}
  134. [avatar]
  135. gravatar = false
  136. shape = "circle"
  137. # Available address formats.
  138. [address_formats]
  139. en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
  140. en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
  141. de = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  142. fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  143. zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
  144. [cms]
  145. # See https://sourcethemes.com/academic/docs/install/#install-with-web-browser
  146. netlify_cms = false