config.toml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  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. [params]
  40. # AUTHOR SETUP
  41. # Your details.
  42. name = "Lena Smith"
  43. role = "Professor of Artificial Intelligence"
  44. # Organizations/Affiliations.
  45. # Separate multiple entries with a comma, using the form: `[ {name="Org1", url=""}, {name="Org2", url=""} ]`.
  46. organizations = [ { name = "Stanford University", url = "" } ]
  47. gravatar = false # Get your avatar from Gravatar.com? (true/false)
  48. avatar = "portrait.jpg" # Specify an avatar image (in `static/img/` folder) or delete value to disable avatar.
  49. # Details for the Contact Widget
  50. email = "test@example.org"
  51. address = "Building 1 Room 1, Stanford University, California, 90210, USA"
  52. office_hours = "Monday 10:00 to 13:00 or email for appointment"
  53. phone = "888 888 88 88"
  54. skype = "echo123"
  55. telegram = ""
  56. keybase = "" # Your keybase.io username.
  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. # Enable/disable map in Contact widget.
  61. # To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
  62. # a map provider below.
  63. # To use Google Maps, set `map = 1` and enter your API key that can be obtained here:
  64. # https://developers.google.com/maps/documentation/javascript/get-api-key
  65. # To use OpenStreetMap tiles, set `map = 2`.
  66. # To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
  67. # https://www.mapbox.com/studio/account/tokens
  68. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
  69. #
  70. # Map provider:
  71. # 0: No map
  72. # 1: Google Maps
  73. # 2: OpenStreetMap (Mapnik)
  74. # 3: OpenStreetMap (Mapbox)
  75. map = 0
  76. map_api_key = ""
  77. latitude = "37.4275"
  78. longitude = "-122.1697"
  79. zoom = 15
  80. # SITE SETUP
  81. # Color theme.
  82. # Choose from `default`, `ocean`, `forest`, `dark`, `apogee`, `1950s`, `coffee`, `cupcake`.
  83. color_theme = "default"
  84. # Font style.
  85. # Choose from `default`, `classic`, or `playfair`.
  86. font = "default"
  87. # Description for social sharing and search engines. If undefined, author role is used in place.
  88. description = ""
  89. # Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
  90. sharing_image = ""
  91. # Twitter username (without @). Used when a vistor shares your site on Twitter.
  92. twitter = ""
  93. # Diplay a logo in navigation bar rather than title (optional).
  94. # To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
  95. logo = ""
  96. # Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  97. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  98. date_format = "Jan 2, 2006"
  99. # Examples: "3:04 pm" or "15:04"
  100. time_format = "3:04 PM"
  101. # Show estimated reading time for posts?
  102. reading_time = true
  103. # Display comment count? Requires commenting to be enabled.
  104. comment_count = true
  105. # Display next/previous section pager?
  106. section_pager = false
  107. # Enable global LaTeX math rendering?
  108. # If false, you can enable it locally on a per page basis.
  109. math = false
  110. # Highlight.js options
  111. # highlight
  112. # Enable global source code highlighting? If false, you can
  113. # override it for a particular page in that page's preamble.
  114. #
  115. # Example: highlight = true
  116. #
  117. # highlight_languages
  118. # Add support for highlighting additional languages. Support for
  119. # languages mentioned here will be included in all pages.
  120. #
  121. # Example: highlight_languages = ["go", "lisp", "ocaml"]
  122. #
  123. # highlight_style
  124. # Choose a different CSS style for highlighting source
  125. # code. Setting this option in a page's preamble has no
  126. # effect.
  127. #
  128. # Example: highlight_style = "github-gist"
  129. #
  130. # For the list of supported languages and styles, see:
  131. # https://cdnjs.com/libraries/highlight.js/
  132. #
  133. # For more info on the highlighting options, see:
  134. # https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
  135. highlight = true
  136. highlight_languages = []
  137. # highlight_style = "github"
  138. # Enable native social sharing buttons?
  139. sharing = true
  140. # Privacy pack
  141. # Show a cookie consent message to visitors
  142. # Anonymize IP in Google Analytics (if enabled)
  143. privacy_pack = false
  144. # Link custom CSS and JS assets
  145. # (relative to /static/css and /static/js respectively)
  146. custom_css = []
  147. custom_js = []
  148. # Publication types.
  149. # Used to categorize publications.
  150. # The index of the publication type in the list is used as its unique numerical identifier.
  151. # The numeric ID is used in a publication's frontmatter to categorize it.
  152. # The language can be edited below.
  153. # For multilingual sites, `publication_types` can be copied to each language section at the end of this file and
  154. # translated.
  155. publication_types = [
  156. 'Uncategorized', # 0
  157. 'Conference paper', # 1
  158. 'Journal article', # 2
  159. 'Manuscript', # 3
  160. 'Report', # 4
  161. 'Book', # 5
  162. 'Book section' # 6
  163. ]
  164. # Configuration of talk pages.
  165. [params.talks]
  166. # Show talk time?
  167. time = true
  168. # Configuration of publication pages.
  169. [params.publications]
  170. # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  171. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  172. date_format = "January, 2006"
  173. # Configuration of project pages.
  174. [params.projects]
  175. # List publications and talks related to the project?
  176. list_children = true
  177. # Publication list format.
  178. # 0 = Simple
  179. # 1 = Detailed
  180. # 2 = APA
  181. # 3 = MLA
  182. # 4 = Stream
  183. publication_format = 4
  184. # Talk list format.
  185. # 0 = Simple
  186. # 1 = Detailed
  187. # 2 = Stream
  188. talk_format = 2
  189. # Social/Academic Networking
  190. #
  191. # Icon pack "fab" includes the following social network icons:
  192. #
  193. # twitter, weibo, linkedin, github, facebook, pinterest, google-plus,
  194. # youtube, instagram, soundcloud
  195. #
  196. # For email icon, use "fas" icon pack, "envelope" icon, and
  197. # "mailto:your@email.com" as the link.
  198. #
  199. # Full list: https://fontawesome.com/icons
  200. #
  201. # Icon pack "ai" includes the following academic icons:
  202. #
  203. # cv, google-scholar, arxiv, orcid, researchgate, mendeley
  204. #
  205. # Full list: https://jpswalsh.github.io/academicons/
  206. [[params.social]]
  207. icon = "envelope"
  208. icon_pack = "fas"
  209. link = "mailto:test@example.org"
  210. [[params.social]]
  211. icon = "twitter"
  212. icon_pack = "fab"
  213. link = "//twitter.com/GeorgeCushen"
  214. [[params.social]]
  215. icon = "google-scholar"
  216. icon_pack = "ai"
  217. link = "https://scholar.google.co.uk/citations?user=sIwtMXoAAAAJ"
  218. [[params.social]]
  219. icon = "github"
  220. icon_pack = "fab"
  221. link = "//github.com/gcushen"
  222. # Link to a PDF of your resume/CV from the About widget.
  223. # To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
  224. # [[params.social]]
  225. # icon = "cv"
  226. # icon_pack = "ai"
  227. # link = "files/cv.pdf"
  228. # Navigation Links
  229. # To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
  230. # desired widget in your `content/home/` folder.
  231. # The weight parameter defines the order that the links will appear in.
  232. [params.menus]
  233. # Align the main menu to the right of the page? (true/false)
  234. align_right = true
  235. [[menu.main]]
  236. name = "Home"
  237. url = "#about"
  238. weight = 1
  239. [[menu.main]]
  240. name = "Publications"
  241. url = "#publications_selected"
  242. weight = 2
  243. [[menu.main]]
  244. name = "Posts"
  245. url = "#posts"
  246. weight = 3
  247. [[menu.main]]
  248. name = "Projects"
  249. url = "#projects"
  250. weight = 4
  251. [[menu.main]]
  252. name = "Tutorials"
  253. url = "/tutorial/"
  254. weight = 5
  255. [[menu.main]]
  256. name = "Contact"
  257. url = "#contact"
  258. weight = 6
  259. # Link to a PDF of your resume/CV from the menu.
  260. # To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
  261. # [[menu.main]]
  262. # name = "CV"
  263. # url = "files/cv.pdf"
  264. # weight = 7
  265. # Search.
  266. [params.search]
  267. # Search provider:
  268. # 0: No search engine
  269. # 1: Built-in (Fuse)
  270. # 2: Algolia (https://www.algolia.com)
  271. engine = 1
  272. # Configuration of Algolia search engine.
  273. # Paste the values from your Algolia dashboard.
  274. [params.search.algolia]
  275. app_id = ""
  276. api_key = ""
  277. index_name = ""
  278. show_logo = false
  279. # Taxonomies.
  280. [taxonomies]
  281. tag = "tags"
  282. category = "categories"
  283. publication_type = "publication_types"
  284. # Languages
  285. # Create a [languages.X] block for each language you want, where X is the language ID.
  286. # Refer to https://sourcethemes.com/academic/docs/language/
  287. # Configure the English version of the website.
  288. [languages.en]
  289. languageCode = "en-us"
  290. # Uncomment the lines below to configure your website in a second language.
  291. #[languages.zh]
  292. # languageCode = "zh-Hans"
  293. # title = "Chinese website title..."
  294. # [languages.zh.params]
  295. # name = "Your name in Chinese..."
  296. # role = "Your role in Chinese..."
  297. # [[languages.zh.menu.main]]
  298. # name = "Wo"
  299. # url = "#about"
  300. # weight = 1