config.toml 8.4 KB

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