params.toml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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. # Link authors to their profile page? (true/false)
  120. link_authors = true
  121. # Load JS plugins
  122. # E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
  123. plugins_js = []
  124. # Avatars.
  125. # An avatar is an image that appears next to a user's name.
  126. # An avatar can be uploaded as an image named `avatar` to each user's profile or fetched from Gravatar.com.
  127. [avatar]
  128. # Get user avatars from Gravatar.com? (true/false)
  129. gravatar = false
  130. # Choose a shape for avatar images. Options: circle, square.
  131. shape = "circle"
  132. # Available address formats.
  133. [address_formats]
  134. en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
  135. en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
  136. de = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  137. fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  138. zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
  139. # Configuration of publication pages.
  140. [publications]
  141. # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  142. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  143. date_format = "January 2006"
  144. # Citation style ("apa" or "mla")
  145. citation_style = "apa"
  146. # Configuration of project pages.
  147. [projects]
  148. # Views for associated content.
  149. # 1: List
  150. # 2: Compact
  151. # 3: Card
  152. # 4: Citation (publications only)
  153. post_view = 2
  154. publication_view = 2
  155. talk_view = 2
  156. ############################
  157. ## Comments
  158. ############################
  159. [comments]
  160. # Comment provider:
  161. # 0: Disabled
  162. # 1: Disqus (https://disqus.com)
  163. # 2: Commento (https://commento.io)
  164. engine = 0
  165. # Which page types are commentable?
  166. commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}
  167. # Configuration of Disqus.
  168. [comments.disqus]
  169. shortname = "" # Paste the shortname from your Disqus dashboard.
  170. show_count = true # Show comment count in page header? (true/false)
  171. # Configuration of Commento.
  172. [comments.commento]
  173. # If self-hosting Commento, enter its URL here (e.g. "https://commento.?.com"), otherwise leave empty.
  174. url = ""
  175. ############################
  176. ## Search
  177. ############################
  178. [search]
  179. # Search provider:
  180. # 0: No search engine
  181. # 1: Academic (built-in)
  182. # 2: Algolia (https://www.algolia.com)
  183. engine = 1
  184. # Configuration of Algolia search engine.
  185. # Paste the values from your Algolia dashboard.
  186. [search.algolia]
  187. app_id = ""
  188. api_key = ""
  189. index_name = ""
  190. show_logo = false
  191. ############################
  192. ## Maps
  193. ############################
  194. [map]
  195. # To show your address on a map in the Contact widget, enter your latitude and longitude (above)
  196. # and choose a map provider below.
  197. #
  198. # To use Google Maps, set `engine` to 1 and enter your API key that can be obtained here:
  199. # https://developers.google.com/maps/documentation/javascript/get-api-key
  200. # To use OpenStreetMap tiles, set `engine` to 2.
  201. # To use OpenStreetMap on a high traffic site, set `engine` to 3 and enter your API key that can be obtained here:
  202. # https://www.mapbox.com/studio/account/tokens
  203. #
  204. # Map provider:
  205. # 0: No map
  206. # 1: Google Maps
  207. # 2: OpenStreetMap (Mapnik)
  208. # 3: OpenStreetMap (Mapbox)
  209. engine = 2
  210. api_key = ""
  211. zoom = 15
  212. ############################
  213. ## Marketing
  214. ############################
  215. [marketing]
  216. google_analytics = ""
  217. google_tag_manager = ""