params.toml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. # SITE SETUP
  2. # Documentation: https://sourcethemes.com/academic/
  3. ############################
  4. ## Theme
  5. ############################
  6. # Choose a theme.
  7. # Latest themes (may require updating): https://sourcethemes.com/academic/themes/
  8. # Browse built-in themes in `themes/academic/data/themes/`
  9. # Browse user installed themes in `data/themes/`
  10. theme = "minimal"
  11. # Enable users to switch between day and night mode?
  12. day_night = true
  13. # Override the theme's font set (optional).
  14. # Latest font sets (may require updating): https://sourcethemes.com/academic/themes/
  15. # Browse built-in font sets in `themes/academic/data/fonts/`
  16. # Browse user installed font sets in `data/fonts/`
  17. font = ""
  18. # Choose a font size.
  19. # Sizes: XS (extra small), S (small), M (medium), L (large - DEFAULT), XL (extra large)
  20. font_size = "L"
  21. ############################
  22. ## Basic Info
  23. ############################
  24. # Website type
  25. # Improve how search engines understand your site.
  26. # For personal sites, choose "Person".
  27. # For organizations and projects, choose from https://schema.org/Organization#subtypes
  28. # E.g. Person, Organization, LocalBusiness, Project, EducationalOrganization
  29. site_type = "Person"
  30. # Local business type (optional)
  31. # If you entered "LocalBusiness" above, choose the type of business from https://schema.org/LocalBusiness#subtypes
  32. local_business_type = ""
  33. # Organization name (optional)
  34. # Enter an organization or project name. Defaults to the site title from `config.toml`.
  35. org_name = ""
  36. # Description for social sharing and search engines. If undefined, superuser role is used in place.
  37. description = ""
  38. ############################
  39. ## Site Features
  40. ############################
  41. # Enable source code highlighting? true/false
  42. # Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
  43. highlight = true
  44. highlight_languages = ["r"] # Add support for highlighting additional languages
  45. # highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/
  46. # Enable LaTeX math rendering? true/false
  47. # If false, you can enable math on a per page basis as needed.
  48. math = false
  49. # Enable diagram rendering? true/false
  50. # If false, you can enable diagrams on a per page basis as needed.
  51. diagram = false
  52. # Privacy pack
  53. # Show a cookie consent message to visitors
  54. # Anonymize IP in Google Analytics (if enabled)
  55. privacy_pack = false
  56. # Enable visitors to edit pages?
  57. # `repo` defines the repository URL. `editable` defines which page types can be edited.
  58. edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", content_dir = "", repo_branch = "master", editable = {docs = true, page = false, post = false}}
  59. ############################
  60. ## Contact details
  61. ##
  62. ## These details power the Contact widget (if enabled).
  63. ## Additionally, for organizations, these details may be used to enrich search engine results.
  64. ############################
  65. # Enter contact details (optional). To hide a field, clear it to "".
  66. email = "test@example.org"
  67. phone = "888 888 88 88"
  68. # Address
  69. # For country_code, use the 2-letter ISO code (see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 )
  70. address = {street = "450 Serra Mall", city = "Stanford", region = "CA", postcode = "94305", country = "United States", country_code = "US"}
  71. # Geographic coordinates
  72. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
  73. coordinates = {latitude = "37.4275", longitude = "-122.1697"}
  74. # Directions for visitors to locate you.
  75. directions = "Enter Building 1 and take the stairs to Office 200 on Floor 2"
  76. # Office hours
  77. # A list of your office hours. To remove, set to an empty list `[]`.
  78. office_hours = ["Monday 10:00 to 13:00", "Wednesday 09:00 to 10:00"]
  79. # Enter an optional link for booking appointments (e.g. calendly.com).
  80. appointment_url = "https://calendly.com"
  81. # Contact links
  82. # Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
  83. contact_links = [
  84. {icon = "twitter", icon_pack = "fab", name = "DM Me", link = "https://twitter.com/Twitter"},
  85. {icon = "skype", icon_pack = "fab", name = "Skype Me", link = "skype:echo123?call"},
  86. {icon = "keybase", icon_pack = "fab", name = "Chat on Keybase", link = "https://keybase.io/"},
  87. {icon = "comments", icon_pack = "fas", name = "Discuss on Forum", link = "https://discourse.gohugo.io"},
  88. # {icon = "telegram", icon_pack = "fab", name = "Telegram Me", link = "https://telegram.me/@Telegram"},
  89. ]
  90. ############################
  91. ## Social
  92. ############################
  93. # Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
  94. sharing_image = ""
  95. # Twitter username (without @). Used when a visitor shares your site on Twitter.
  96. twitter = ""
  97. ############################
  98. ## Regional Settings
  99. ############################
  100. # Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  101. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  102. date_format = "Jan 2, 2006"
  103. # Examples: "3:04 pm" or "15:04"
  104. time_format = "3:04 PM"
  105. # Address format (choose from the [address_formats] list below or add you own to the list).
  106. address_format = "en-us"
  107. ############################
  108. ## Advanced
  109. ############################
  110. # Main menu alignment (l = left, c = center, r = right) and logo options.
  111. main_menu = {align = "l", show_logo = true}
  112. # Show estimated reading time for posts? (true/false)
  113. reading_time = true
  114. # Display next/previous section pager? (true/false)
  115. section_pager = false
  116. docs_section_pager = true # Display pager in Docs layout (e.g. tutorials)?
  117. # Enable in-built social sharing buttons? (true/false)
  118. sharing = true
  119. # Show a copyright license from creativecommons.org in the site footer?
  120. # Page specific copyright licenses are also possible by adding this option to a page's front matter.
  121. copyright_license = {enable = false, allow_derivatives = false, share_alike = true, allow_commercial = false, notice = "This work is licensed under {license}"}
  122. # Link authors to their profile page? (true/false)
  123. link_authors = true
  124. # Abstract length (characters) in the Compact and Portfolio Card list views. Also, see `summaryLength` in `config.toml`.
  125. abstract_length = 135
  126. # Load JS plugins
  127. # E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
  128. plugins_js = []
  129. # Avatars.
  130. # An avatar is an image that appears next to a user's name.
  131. # An avatar can be uploaded as an image named `avatar` to each user's profile or fetched from Gravatar.com.
  132. [avatar]
  133. # Get user avatars from Gravatar.com? (true/false)
  134. gravatar = false
  135. # Choose a shape for avatar images. Options: circle, square.
  136. shape = "circle"
  137. # Available address formats.
  138. [address_formats]
  139. en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
  140. en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
  141. de = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  142. fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  143. zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
  144. # Configuration of publication pages.
  145. [publications]
  146. # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  147. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  148. date_format = "January 2006"
  149. # Citation style ("apa" or "mla")
  150. citation_style = "apa"
  151. # Configuration of project pages.
  152. [projects]
  153. # Views for associated content.
  154. # 1: List
  155. # 2: Compact
  156. # 3: Card
  157. # 4: Citation (publications only)
  158. post_view = 2
  159. publication_view = 2
  160. talk_view = 2
  161. ############################
  162. ## Comments
  163. ############################
  164. [comments]
  165. # Comment provider:
  166. # 0: Disabled
  167. # 1: Disqus (https://disqus.com)
  168. # 2: Commento (https://commento.io)
  169. engine = 0
  170. # Which page types are commentable?
  171. commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}
  172. # Configuration of Disqus.
  173. [comments.disqus]
  174. shortname = "" # Paste the shortname from your Disqus dashboard.
  175. show_count = true # Show comment count in page header? (true/false)
  176. # Configuration of Commento.
  177. [comments.commento]
  178. # If self-hosting Commento, enter its URL here (e.g. "https://commento.?.com"), otherwise leave empty.
  179. url = ""
  180. ############################
  181. ## Search
  182. ############################
  183. [search]
  184. # Search provider:
  185. # 0: No search engine
  186. # 1: Academic (built-in)
  187. # 2: Algolia (https://www.algolia.com)
  188. engine = 1
  189. # Configuration of Algolia search engine.
  190. # Paste the values from your Algolia dashboard.
  191. [search.algolia]
  192. app_id = ""
  193. api_key = ""
  194. index_name = ""
  195. show_logo = false
  196. ############################
  197. ## Maps
  198. ############################
  199. [map]
  200. # To show your address on a map in the Contact widget, enter your latitude and longitude (above)
  201. # and choose a map provider below.
  202. #
  203. # To use Google Maps, set `engine` to 1 and enter your API key that can be obtained here:
  204. # https://developers.google.com/maps/documentation/javascript/get-api-key
  205. # To use OpenStreetMap tiles, set `engine` to 2.
  206. # To use OpenStreetMap on a high traffic site, set `engine` to 3 and enter your API key that can be obtained here:
  207. # https://www.mapbox.com/studio/account/tokens
  208. #
  209. # Map provider:
  210. # 0: No map
  211. # 1: Google Maps
  212. # 2: OpenStreetMap (Mapnik)
  213. # 3: OpenStreetMap (Mapbox)
  214. engine = 2
  215. api_key = ""
  216. zoom = 15
  217. ############################
  218. ## Marketing
  219. ############################
  220. [marketing]
  221. google_analytics = ""
  222. google_tag_manager = ""
  223. ############################
  224. ## Content Management System
  225. ############################
  226. [cms]
  227. # See https://sourcethemes.com/academic/docs/install/#install-with-web-browser
  228. netlify_cms = true