params.toml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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. # Display a logo in navigation bar rather than title (optional).
  39. # To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
  40. logo = ""
  41. ############################
  42. ## Site Features
  43. ############################
  44. # Enable source code highlighting? true/false
  45. # Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
  46. highlight = true
  47. highlight_languages = ["r"] # Add support for highlighting additional languages
  48. # highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/
  49. # Enable LaTeX math rendering? true/false
  50. # If false, you can enable math on a per page basis as needed.
  51. math = false
  52. # Enable diagram rendering? true/false
  53. # If false, you can enable diagrams on a per page basis as needed.
  54. diagram = false
  55. # Privacy pack
  56. # Show a cookie consent message to visitors
  57. # Anonymize IP in Google Analytics (if enabled)
  58. privacy_pack = false
  59. # Enable visitors to edit pages?
  60. # `repo` defines the repository URL. `editable` defines which page types can be edited.
  61. edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", content_dir = "", repo_branch = "master", editable = {docs = true, page = false, post = false}}
  62. ############################
  63. ## Contact details
  64. ##
  65. ## These details power the Contact widget (if enabled).
  66. ## Additionally, for organizations, these details may be used to enrich search engine results.
  67. ############################
  68. # Enter contact details (optional). To hide a field, clear it to "".
  69. email = "test@example.org"
  70. phone = "888 888 88 88"
  71. # Address
  72. # For country_code, use the 2-letter ISO code (see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 )
  73. address = {street = "450 Serra Mall", city = "Stanford", region = "CA", postcode = "94305", country = "United States", country_code = "US"}
  74. # Geographic coordinates
  75. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
  76. coordinates = {latitude = "37.4275", longitude = "-122.1697"}
  77. # Directions for visitors to locate you.
  78. directions = "Enter Building 1 and take the stairs to Office 200 on Floor 2"
  79. # Office hours
  80. # A list of your office hours. To remove, set to an empty list `[]`.
  81. office_hours = ["Monday 10:00 to 13:00", "Wednesday 09:00 to 10:00"]
  82. # Enter an optional link for booking appointments (e.g. calendly.com).
  83. appointment_url = "https://calendly.com"
  84. # Contact links
  85. # Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
  86. contact_links = [
  87. {icon = "twitter", icon_pack = "fab", name = "DM Me", link = "https://twitter.com/Twitter"},
  88. {icon = "skype", icon_pack = "fab", name = "Skype Me", link = "skype:echo123?call"},
  89. {icon = "keybase", icon_pack = "fab", name = "Chat on Keybase", link = "https://keybase.io/"},
  90. {icon = "comments", icon_pack = "fas", name = "Discuss on Forum", link = "https://discourse.gohugo.io"},
  91. # {icon = "telegram", icon_pack = "fab", name = "Telegram Me", link = "https://telegram.me/@Telegram"},
  92. ]
  93. ############################
  94. ## Social
  95. ############################
  96. # Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
  97. sharing_image = ""
  98. # Twitter username (without @). Used when a visitor shares your site on Twitter.
  99. twitter = ""
  100. ############################
  101. ## Regional Settings
  102. ############################
  103. # Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  104. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  105. date_format = "Jan 2, 2006"
  106. # Examples: "3:04 pm" or "15:04"
  107. time_format = "3:04 PM"
  108. # Address format (choose from the [address_formats] list below or add you own to the list).
  109. address_format = "en-us"
  110. ############################
  111. ## Advanced
  112. ############################
  113. # Get user avatars from Gravatar.com? (true/false)
  114. gravatar = false
  115. # Main menu alignment (l = left, c = center, r = right) and logo options.
  116. main_menu = {align = "l", show_logo = true}
  117. # Show estimated reading time for posts? (true/false)
  118. reading_time = true
  119. # Display next/previous section pager? (true/false)
  120. section_pager = false
  121. docs_section_pager = true # Display pager in Docs layout (e.g. tutorials)?
  122. # Enable in-built social sharing buttons? (true/false)
  123. sharing = true
  124. # Link authors to their profile page? (true/false)
  125. link_authors = true
  126. # Load JS plugins
  127. # E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
  128. plugins_js = []
  129. # Available address formats.
  130. [address_formats]
  131. en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
  132. en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
  133. de = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  134. fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
  135. zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
  136. # Configuration of publication pages.
  137. [publications]
  138. # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  139. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  140. date_format = "January 2006"
  141. # Citation style ("apa" or "mla")
  142. citation_style = "apa"
  143. # Configuration of project pages.
  144. [projects]
  145. # Views for associated content.
  146. # 1: List
  147. # 2: Compact
  148. # 3: Card
  149. # 4: Citation (publications only)
  150. post_view = 2
  151. publication_view = 2
  152. talk_view = 2
  153. ############################
  154. ## Comments
  155. ############################
  156. [comments]
  157. # Comment provider:
  158. # 0: Disabled
  159. # 1: Disqus (https://disqus.com)
  160. # 2: Commento (https://commento.io)
  161. engine = 0
  162. # Which page types are commentable?
  163. commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}
  164. # Configuration of Disqus.
  165. [comments.disqus]
  166. shortname = "" # Paste the shortname from your Disqus dashboard.
  167. show_count = true # Show comment count in page header? (true/false)
  168. # Configuration of Commento.
  169. [comments.commento]
  170. # If self-hosting Commento, enter its URL here (e.g. "https://commento.?.com"), otherwise leave empty.
  171. url = ""
  172. ############################
  173. ## Search
  174. ############################
  175. [search]
  176. # Search provider:
  177. # 0: No search engine
  178. # 1: Academic (built-in)
  179. # 2: Algolia (https://www.algolia.com)
  180. engine = 1
  181. # Configuration of Algolia search engine.
  182. # Paste the values from your Algolia dashboard.
  183. [search.algolia]
  184. app_id = ""
  185. api_key = ""
  186. index_name = ""
  187. show_logo = false
  188. ############################
  189. ## Maps
  190. ############################
  191. [map]
  192. # To show your address on a map in the Contact widget, enter your latitude and longitude (above)
  193. # and choose a map provider below.
  194. #
  195. # To use Google Maps, set `engine` to 1 and enter your API key that can be obtained here:
  196. # https://developers.google.com/maps/documentation/javascript/get-api-key
  197. # To use OpenStreetMap tiles, set `engine` to 2.
  198. # To use OpenStreetMap on a high traffic site, set `engine` to 3 and enter your API key that can be obtained here:
  199. # https://www.mapbox.com/studio/account/tokens
  200. #
  201. # Map provider:
  202. # 0: No map
  203. # 1: Google Maps
  204. # 2: OpenStreetMap (Mapnik)
  205. # 3: OpenStreetMap (Mapbox)
  206. engine = 2
  207. api_key = ""
  208. zoom = 15
  209. ############################
  210. ## Marketing
  211. ############################
  212. [marketing]
  213. google_analytics = ""
  214. google_tag_manager = ""