config.toml 8.3 KB

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