config.toml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. baseurl = "https://bf.mengyan1223.wang/blog/" # End your URL with a `/` trailing slash, e.g. `https://example.com/`.
  2. title = "Xry111's Blog"
  3. copyright = "© 2017-2018 Xi Ruoyao"
  4. theme = "academic"
  5. enableEmoji = true
  6. footnotereturnlinkcontents = "<sup>^</sup>"
  7. ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
  8. preserveTaxonomyNames = true
  9. paginate = 10
  10. # Enable comments by entering your Disqus shortname
  11. disqusShortname = ""
  12. # Enable analytics by entering your Google Analytics tracking ID
  13. googleAnalytics = ""
  14. # Default language to use (if you setup multilingual support)
  15. defaultContentLanguage = "en"
  16. hasCJKLanguage = true
  17. defaultContentLanguageInSubdir = false
  18. enableGitInfo = true
  19. [outputs]
  20. home = [ "HTML", "CSS", "RSS", "search" ]
  21. section = [ "HTML", "RSS" ]
  22. [outputFormats.search]
  23. baseName = "search"
  24. isPlainText = true
  25. mediaType = "application/json"
  26. notAlternative = true
  27. # Configure BlackFriday Markdown rendering.
  28. # See: https://gohugo.io/readfiles/bfconfig/
  29. [blackfriday]
  30. hrefTargetBlank = true # `true` opens external links in a new tab.
  31. fractions = true # `false` disables smart fractions (e.g. 5/12 formatted as a fraction).
  32. smartypants = true # `false` disables all smart punctuation substitutions (e.g. smart quotes, dashes, fractions).
  33. [params]
  34. # Color theme.
  35. # Choose from `default`, `ocean`, `forest`, `coffee`, `dark`, or `1950s`.
  36. color_theme = "default"
  37. # Font style.
  38. # Choose from `default`, `classic`, or `playfair`.
  39. font = "default"
  40. # Your details.
  41. name = "Xi Ruoyao"
  42. role = "Student"
  43. # Organizations/Affiliations.
  44. # Separate multiple entries with a comma, using the form: `[ {name="Org1", url=""}, {name="Org2", url=""} ]`.
  45. organizations = [ { name = "School of Aerospace and Technology", url = "http://sast.xidian.edu.cn" }, {name = "Laboratory of ACM/ICPC", url="http://acm.xidian.edu.cn" } ]
  46. gravatar = false # Get your avatar from Gravatar.com? (true/false)
  47. avatar = "portrait.jpg" # Specify an avatar image (in `static/img/` folder) or delete value to disable avatar.
  48. email = "xry111@mengyan1223.wang"
  49. address = "G213, Xidian University (South Campus)"
  50. office_hours = ""
  51. phone = ""
  52. skype = ""
  53. telegram = ""
  54. # Enable Keybase in Contact widget by entering your keybase.io username.
  55. keybase = ""
  56. # Discussion link (e.g. link to a forum, mailing list, or chat).
  57. # Uncomment line below to use.
  58. # discussion = { name = "Discuss", url = "https://discourse.gohugo.io" }
  59. # Diplay a logo in navigation bar rather than title (optional).
  60. # To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
  61. logo = ""
  62. # Enable/disable map in Contact widget.
  63. # To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
  64. # a map provider below.
  65. # To use Google Maps, set `map = 1` and enter your API key that can be obtained here:
  66. # https://developers.google.com/maps/documentation/javascript/get-api-key
  67. # To use OpenStreetMap tiles, set `map = 2`.
  68. # To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
  69. # https://www.mapbox.com/studio/account/tokens
  70. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
  71. #
  72. # Map provider:
  73. # 0: No map
  74. # 1: Google Maps
  75. # 2: OpenStreetMap (Mapnik)
  76. # 3: OpenStreetMap (Mapbox)
  77. map = 0
  78. map_api_key = ""
  79. latitude = "37.4275"
  80. longitude = "-122.1697"
  81. zoom = 15
  82. # Date and time format (refer to Go's date format: http://fuckinggodateformat.com )
  83. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  84. date_format = "Jan 2, 2006"
  85. # Examples: "3:04 pm" or "15:04"
  86. time_format = "3:04 PM"
  87. # Show estimated reading time for posts?
  88. reading_time = true
  89. # Display comment count? Requires commenting to be enabled.
  90. comment_count = true
  91. # Display section pager for posts?
  92. section_pager = false
  93. # Enable global LaTeX math rendering?
  94. # If false, you can enable it locally on a per page basis.
  95. math = true
  96. # Highlight.js options
  97. # highlight
  98. # Enable global source code highlighting? If false, you can
  99. # override it for a particular page in that page's preamble.
  100. #
  101. # Example: highlight = true
  102. #
  103. # highlight_languages
  104. # Add support for highlighting additional languages. Support for
  105. # languages mentioned here will be included in all pages.
  106. #
  107. # Example: highlight_languages = ["go", "lisp", "ocaml"]
  108. #
  109. # highlight_style
  110. # Choose a different CSS style for highlighting source
  111. # code. Setting this option in a page's preamble has no
  112. # effect.
  113. #
  114. # Example: highlight_style = "github-gist"
  115. #
  116. # For the list of supported languages and styles, see:
  117. # https://cdnjs.com/libraries/highlight.js/
  118. #
  119. # For more info on the highlighting options, see:
  120. # https://sourcethemes.com/academic/post/writing-markdown-latex/#highlighting-options
  121. highlight = true
  122. highlight_languages = [ "go", "python" ]
  123. # highlight_style = "github"
  124. # Enable native social sharing buttons?
  125. sharing = true
  126. # Link custom CSS and JS assets
  127. # (relative to /static/css and /static/js respectively)
  128. custom_css = []
  129. custom_js = []
  130. # Publication types.
  131. # Used to categorize publications.
  132. # The index of the publication type in the list is used as its unique numerical identifier.
  133. # The numeric ID is used in a publication's frontmatter to categorize it.
  134. # The language can be edited below.
  135. # For multi-lingual sites, copy this block to each language section at the end of this file.
  136. publication_types = [
  137. 'Uncategorized', # 0
  138. 'Conference proceedings', # 1
  139. 'Journal', # 2
  140. 'Work in progress', # 3
  141. 'Technical report', # 4
  142. 'Book', # 5
  143. 'Book chapter' # 6
  144. ]
  145. # Configuration of talk pages.
  146. [params.talks]
  147. # Show talk time?
  148. time = true
  149. # Configuration of publication pages.
  150. [params.publications]
  151. # Date format (refer to Go's date format: http://fuckinggodateformat.com )
  152. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  153. date_format = "January, 2006"
  154. # Configuration of project pages.
  155. [params.projects]
  156. # List publications and talks related to the project?
  157. list_children = true
  158. # Publication list format.
  159. # 0 = Simple
  160. # 1 = Detailed
  161. # 2 = APA
  162. # 3 = MLA
  163. publication_format = 3
  164. # Social/Academic Networking
  165. #
  166. # Icon pack "fa" includes the following social network icons:
  167. #
  168. # twitter, weibo, linkedin, github, facebook, pinterest, google-plus,
  169. # youtube, instagram, soundcloud
  170. #
  171. # For email icon, use "fa" icon pack, "envelope" icon, and
  172. # "mailto:your@email.com" as the link.
  173. #
  174. # Full list: https://fortawesome.github.io/Font-Awesome/icons/
  175. #
  176. # Icon pack "ai" includes the following academic network icons:
  177. #
  178. # google-scholar, arxiv, orcid, researchgate, mendeley
  179. #
  180. # Full list: https://jpswalsh.github.io/academicons/
  181. [[params.social]]
  182. icon = "envelope"
  183. icon_pack = "fa"
  184. link = "mailto:xry111@mengyan1223.wang"
  185. [[params.social]]
  186. icon = "researchgate"
  187. icon_pack = "ai"
  188. link = "//www.researchgate.net/profile/Xi_Ruoyao"
  189. [[params.social]]
  190. icon = "github"
  191. icon_pack = "fa"
  192. link = "//github.com/xry111"
  193. [[params.social]]
  194. icon = "gitlab"
  195. icon_pack = "fa"
  196. link = "//gitlab.com/xry111"
  197. # Navigation Links
  198. # To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
  199. # desired widget in your `content/home/` folder.
  200. # The weight parameter defines the order that the links will appear in.
  201. [params.menus]
  202. # Align the main menu to the right of the page? (true/false)
  203. align_right = true
  204. [[menu.main]]
  205. name = "Home"
  206. url = "#about"
  207. weight = 1
  208. [[menu.main]]
  209. name = "Publications"
  210. url = "#publications_selected"
  211. weight = 2
  212. [[menu.main]]
  213. name = "Posts"
  214. url = "#posts"
  215. weight = 3
  216. [[menu.main]]
  217. name = "Projects"
  218. url = "#projects"
  219. weight = 4
  220. [[menu.main]]
  221. name = "Contact"
  222. url = "#contact"
  223. weight = 6
  224. [[menu.main]]
  225. name = "Search"
  226. url = "#search"
  227. weight = 10
  228. [params.search]
  229. engine = 1
  230. # Taxonomies.
  231. [taxonomies]
  232. tag = "tags"
  233. category = "categories"
  234. publication_type = "publication_types"
  235. # Languages
  236. # Create a [languages.X] block for each language you want, where X is the language ID.
  237. # Configure the English version of the website.
  238. [Languages.en]
  239. languageCode = "en-us"