params.toml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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 = "E1479BFE2CB3BB387F25D7B4D0101C62400F5ADF"
  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. # Available address formats.
  46. [address_formats]
  47. en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
  48. en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
  49. de = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  50. fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  51. zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
  52. # Show estimated reading time for posts?
  53. reading_time = true
  54. # Display comment count? Requires commenting to be enabled.
  55. comment_count = true
  56. # Display section pager for posts?
  57. section_pager = false
  58. # Enable global LaTeX math rendering?
  59. # If false, you can enable it locally on a per page basis.
  60. math = true
  61. # Highlight.js options
  62. # highlight
  63. # Enable global source code highlighting? If false, you can
  64. # override it for a particular page in that page's preamble.
  65. #
  66. # Example: highlight = true
  67. #
  68. # highlight_languages
  69. # Add support for highlighting additional languages. Support for
  70. # languages mentioned here will be included in all pages.
  71. #
  72. # Example: highlight_languages = ["go", "lisp", "ocaml"]
  73. #
  74. # highlight_style
  75. # Choose a different CSS style for highlighting source
  76. # code. Setting this option in a page's preamble has no
  77. # effect.
  78. #
  79. # Example: highlight_style = "github-gist"
  80. #
  81. # For the list of supported languages and styles, see:
  82. # https://cdnjs.com/libraries/highlight.js/
  83. #
  84. # For more info on the highlighting options, see:
  85. # https://sourcethemes.com/academic/post/writing-markdown-latex/#highlighting-options
  86. highlight = true
  87. highlight_languages = [ "go", "python", "x86asm" ]
  88. # highlight_style = "github"
  89. # Enable native social sharing buttons?
  90. sharing = true
  91. # Link custom CSS and JS assets
  92. # (relative to /static/css and /static/js respectively)
  93. custom_css = []
  94. custom_js = []
  95. # Publication types.
  96. # Used to categorize publications.
  97. # The index of the publication type in the list is used as its unique numerical identifier.
  98. # The numeric ID is used in a publication's frontmatter to categorize it.
  99. # The language can be edited below.
  100. # For multi-lingual sites, copy this block to each language section at the end of this file.
  101. publication_types = [
  102. 'Uncategorized', # 0
  103. 'Conference proceedings', # 1
  104. 'Journal', # 2
  105. 'Work in progress', # 3
  106. 'Technical report', # 4
  107. 'Book', # 5
  108. 'Book chapter' # 6
  109. ]
  110. edit_page = {repo_url = "https://git.mengyan1223.wang/xry111/blog", repo_branch="master", editable = {}}
  111. # Configuration of talk pages.
  112. [talks]
  113. # Show talk time?
  114. time = true
  115. # Configuration of publication pages.
  116. [publications]
  117. # Date format (refer to Go's date format: http://fuckinggodateformat.com )
  118. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  119. date_format = "January, 2006"
  120. # Configuration of project pages.
  121. [params.projects]
  122. # List publications and talks related to the project?
  123. list_children = true
  124. # Publication list format.
  125. # 0 = Simple
  126. # 1 = Detailed
  127. # 2 = APA
  128. # 3 = MLA
  129. publication_format = 3
  130. [search]
  131. engine = 1
  132. [map]
  133. engine = 0
  134. map_api_key = ""
  135. latitude = "37.4275"
  136. longitude = "-122.1697"
  137. zoom = 15
  138. [comments]
  139. engine = 0
  140. commentable = {}
  141. [avatar]
  142. gravatar = false
  143. shape = "circle"