config.toml 8.6 KB

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