config.toml 8.1 KB

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