params.toml 5.2 KB

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