config.toml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. # Configuration of Academic
  2. # Documentation: https://sourcethemes.com/academic/
  3. #
  4. # This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
  5. # Each configuration section is defined by a name in square brackets (e.g. `[outputs]`).
  6. # The URL of your website.
  7. # End your URL with a `/` trailing slash, e.g. `https://example.com/`.
  8. baseurl = "/"
  9. # Title of your site
  10. title = "Academic"
  11. # Your copyright notice - appears in site footer.
  12. # To display a copyright symbol, type `©`.
  13. copyright = "© 2018"
  14. theme = "academic"
  15. enableEmoji = true
  16. footnotereturnlinkcontents = "<sup>^</sup>"
  17. ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
  18. preserveTaxonomyNames = true
  19. paginate = 10
  20. # Enable comments by entering your Disqus shortname
  21. disqusShortname = ""
  22. # Enable analytics by entering your Google Analytics tracking ID
  23. googleAnalytics = ""
  24. # Default language to use (if you setup multilingual support)
  25. defaultContentLanguage = "en"
  26. hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
  27. defaultContentLanguageInSubdir = false
  28. # Get last modified date for content from Git?
  29. enableGitInfo = false
  30. [outputs]
  31. home = [ "HTML", "CSS", "RSS", "JSON" ]
  32. section = [ "HTML", "RSS" ]
  33. # Configure BlackFriday Markdown rendering.
  34. # See: https://gohugo.io/getting-started/configuration/#configure-blackfriday
  35. [blackfriday]
  36. hrefTargetBlank = true # `true` opens external links in a new tab.
  37. fractions = true # `false` disables smart fractions (e.g. 5/12 formatted as a fraction).
  38. smartypants = true # `false` disables all smart punctuation substitutions (e.g. smart quotes, dashes, fractions).
  39. extensions = ["backslashLineBreak"]
  40. [params]
  41. # SITE SETUP
  42. # Color theme.
  43. # Choose from `default`, `ocean`, `forest`, `dark`, `apogee`, `1950s`, `coffee`, `cupcake`.
  44. color_theme = "default"
  45. # Enable users to switch between day and night mode?
  46. day_night = true
  47. # Font style.
  48. # Choose from `default`, `classic`, or `playfair`.
  49. font = "default"
  50. # Description for social sharing and search engines. If undefined, author role is used in place.
  51. description = ""
  52. # Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
  53. sharing_image = ""
  54. # Twitter username (without @). Used when a vistor shares your site on Twitter.
  55. twitter = ""
  56. # Diplay a logo in navigation bar rather than title (optional).
  57. # To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
  58. logo = ""
  59. # Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  60. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  61. date_format = "Jan 2, 2006"
  62. # Examples: "3:04 pm" or "15:04"
  63. time_format = "3:04 PM"
  64. # Show estimated reading time for posts?
  65. reading_time = true
  66. # Display comment count? Requires commenting to be enabled.
  67. comment_count = true
  68. # Display next/previous section pager?
  69. section_pager = false
  70. # Enable global LaTeX math rendering?
  71. # If false, you can enable it locally on a per page basis.
  72. math = false
  73. # Highlight.js options
  74. # highlight
  75. # Enable global source code highlighting? If false, you can
  76. # override it for a particular page in that page's preamble.
  77. #
  78. # Example: highlight = true
  79. #
  80. # highlight_languages
  81. # Add support for highlighting additional languages. Support for
  82. # languages mentioned here will be included in all pages.
  83. #
  84. # Example: highlight_languages = ["go", "lisp", "ocaml"]
  85. #
  86. # highlight_style
  87. # Choose a different CSS style for highlighting source
  88. # code. Setting this option in a page's preamble has no
  89. # effect.
  90. #
  91. # Example: highlight_style = "github-gist"
  92. #
  93. # For the list of supported languages and styles, see:
  94. # https://cdnjs.com/libraries/highlight.js/
  95. #
  96. # For more info on the highlighting options, see:
  97. # https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
  98. highlight = true
  99. highlight_languages = []
  100. # highlight_style = "github"
  101. # Enable native social sharing buttons?
  102. sharing = true
  103. # Privacy pack
  104. # Show a cookie consent message to visitors
  105. # Anonymize IP in Google Analytics (if enabled)
  106. privacy_pack = false
  107. # Get user avatars from Gravatar.com? (true/false)
  108. gravatar = false
  109. # Link custom CSS and JS assets
  110. # (relative to /static/css and /static/js respectively)
  111. custom_css = []
  112. custom_js = []
  113. # Contact Widget setup
  114. email = "test@example.org"
  115. address = "Building 1 Room 1, Stanford University, California, 90210, USA"
  116. # Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
  117. office_hours = """Monday 10:00 to 13:00<br>
  118. Wednesday 09:00 to 10:00<br>
  119. Otherwise email to book an appointment"""
  120. phone = "888 888 88 88"
  121. skype = "echo123"
  122. telegram = ""
  123. keybase = "" # Your keybase.io username.
  124. # Enter an optional link for booking appointments (e.g. calendly.com).
  125. appointment_url = ""
  126. # Discussion link (e.g. link to a forum, mailing list, or chat).
  127. # Uncomment line below to use.
  128. # discussion = { name = "Discuss", url = "https://discourse.gohugo.io" }
  129. # Enable/disable map in Contact widget.
  130. # To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
  131. # a map provider below.
  132. # To use Google Maps, set `map = 1` and enter your API key that can be obtained here:
  133. # https://developers.google.com/maps/documentation/javascript/get-api-key
  134. # To use OpenStreetMap tiles, set `map = 2`.
  135. # To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
  136. # https://www.mapbox.com/studio/account/tokens
  137. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
  138. #
  139. # Map provider:
  140. # 0: No map
  141. # 1: Google Maps
  142. # 2: OpenStreetMap (Mapnik)
  143. # 3: OpenStreetMap (Mapbox)
  144. map = 0
  145. map_api_key = ""
  146. latitude = "37.4275"
  147. longitude = "-122.1697"
  148. zoom = 15
  149. # Publication types.
  150. # Used to categorize publications.
  151. # The index of the publication type in the list is used as its unique numerical identifier.
  152. # The numeric ID is used in a publication's frontmatter to categorize it.
  153. # The language can be edited below.
  154. # For multilingual sites, `publication_types` can be copied to each language section at the end of this file and
  155. # translated.
  156. publication_types = [
  157. 'Uncategorized', # 0
  158. 'Conference paper', # 1
  159. 'Journal article', # 2
  160. 'Manuscript', # 3
  161. 'Report', # 4
  162. 'Book', # 5
  163. 'Book section' # 6
  164. ]
  165. # Configuration of talk pages.
  166. [params.talks]
  167. # Show talk time?
  168. time = true
  169. # Configuration of publication pages.
  170. [params.publications]
  171. # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  172. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  173. date_format = "January, 2006"
  174. # Configuration of project pages.
  175. [params.projects]
  176. # List publications and talks related to the project?
  177. list_children = true
  178. # Post list format.
  179. # 0 = Simple
  180. # 1 = Detailed
  181. # 2 = Stream
  182. post_format = 2
  183. # Publication list format.
  184. # 0 = Simple
  185. # 1 = Detailed
  186. # 2 = APA
  187. # 3 = MLA
  188. # 4 = Stream
  189. publication_format = 4
  190. # Talk list format.
  191. # 0 = Simple
  192. # 1 = Detailed
  193. # 2 = Stream
  194. talk_format = 2
  195. # Navigation Links
  196. # To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
  197. # desired widget in your `content/home/` folder.
  198. # The weight parameter defines the order that the links will appear in.
  199. [params.menus]
  200. # Align the main menu to the right of the page? (true/false)
  201. align_right = true
  202. [[menu.main]]
  203. name = "Home"
  204. url = "#about"
  205. weight = 1
  206. [[menu.main]]
  207. name = "Publications"
  208. url = "#publications_featured"
  209. weight = 2
  210. [[menu.main]]
  211. name = "Posts"
  212. url = "#posts"
  213. weight = 3
  214. [[menu.main]]
  215. name = "Projects"
  216. url = "#projects"
  217. weight = 4
  218. [[menu.main]]
  219. name = "Tutorials"
  220. url = "/tutorial/"
  221. weight = 5
  222. [[menu.main]]
  223. name = "Contact"
  224. url = "#contact"
  225. weight = 6
  226. # Link to a PDF of your resume/CV from the menu.
  227. # To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
  228. # [[menu.main]]
  229. # name = "CV"
  230. # url = "files/cv.pdf"
  231. # weight = 7
  232. # Search.
  233. [params.search]
  234. # Search provider:
  235. # 0: No search engine
  236. # 1: Built-in (Fuse)
  237. # 2: Algolia (https://www.algolia.com)
  238. engine = 1
  239. # Configuration of Algolia search engine.
  240. # Paste the values from your Algolia dashboard.
  241. [params.search.algolia]
  242. app_id = ""
  243. api_key = ""
  244. index_name = ""
  245. show_logo = false
  246. # Taxonomies.
  247. [taxonomies]
  248. tag = "tags"
  249. category = "categories"
  250. publication_type = "publication_types"
  251. author = "authors"
  252. # Languages
  253. # Create a [languages.X] block for each language you want, where X is the language ID.
  254. # Refer to https://sourcethemes.com/academic/docs/language/
  255. # Configure the English version of the website.
  256. [languages.en]
  257. languageCode = "en-us"
  258. # Uncomment the lines below to configure your website in a second language.
  259. #[languages.zh]
  260. # languageCode = "zh-Hans"
  261. # title = "Chinese website title..."
  262. # [languages.zh.params]
  263. # description = "Site description in Chinese..."
  264. # [[languages.zh.menu.main]]
  265. # name = "Wo"
  266. # url = "#about"
  267. # weight = 1