params.toml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. # SITE SETUP
  2. # Documentation: https://sourcethemes.com/academic/
  3. # Choose a theme.
  4. # Latest themes (may require updating): https://sourcethemes.com/academic/themes/
  5. # Browse built-in themes in `themes/academic/data/themes/`
  6. # Browse user installed themes in `data/themes/`
  7. theme = "minimal"
  8. # Enable users to switch between day and night mode?
  9. day_night = true
  10. # Override the theme's font set (optional).
  11. # Latest font sets (may require updating): https://sourcethemes.com/academic/themes/
  12. # Browse built-in font sets in `themes/academic/data/fonts/`
  13. # Browse user installed font sets in `data/fonts/`
  14. font = ""
  15. # Choose a font size.
  16. # Sizes: XS (extra small), S (small), M (medium), L (large - DEFAULT), XL (extra large)
  17. font_size = "L"
  18. # Description for social sharing and search engines. If undefined, superuser role is used in place.
  19. description = ""
  20. # Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
  21. sharing_image = ""
  22. # Twitter username (without @). Used when a visitor shares your site on Twitter.
  23. twitter = ""
  24. # Display a logo in navigation bar rather than title (optional).
  25. # To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
  26. logo = ""
  27. # Enable source code highlighting? true/false
  28. # Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
  29. highlight = true
  30. highlight_languages = ["r"] # Add support for highlighting additional languages
  31. # highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/
  32. # Enable LaTeX math rendering? true/false
  33. # If false, you can enable math on a per page basis as needed.
  34. math = false
  35. # Enable diagram rendering? true/false
  36. # If false, you can enable diagrams on a per page basis as needed.
  37. diagram = false
  38. # Privacy pack
  39. # Show a cookie consent message to visitors
  40. # Anonymize IP in Google Analytics (if enabled)
  41. privacy_pack = false
  42. # Enable visitors to edit pages?
  43. # `repo` defines the repository URL. `editable` defines which page types can be edited.
  44. edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", repo_branch = "master", editable = {docs = true, page = false, post = false}}
  45. # Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  46. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  47. date_format = "Jan 2, 2006"
  48. # Examples: "3:04 pm" or "15:04"
  49. time_format = "3:04 PM"
  50. ############################
  51. ## Contact Widget setup ##
  52. ############################
  53. # Enter contact details (optional). To hide a field, clear it to "".
  54. email = "test@example.org"
  55. phone = "888 888 88 88"
  56. address = "Building 1 Room 1, Stanford University, California, 90210, USA"
  57. # Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
  58. office_hours = """Monday 10:00 to 13:00<br>
  59. Wednesday 09:00 to 10:00"""
  60. # Enter an optional link for booking appointments (e.g. calendly.com).
  61. appointment_url = "https://calendly.com"
  62. # Contact links
  63. # Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
  64. contact_links = [
  65. {icon = "twitter", icon_pack = "fab", name = "DM Me", link = "https://twitter.com/Twitter"},
  66. {icon = "skype", icon_pack = "fab", name = "Skype Me", link = "skype:echo123?call"},
  67. {icon = "keybase", icon_pack = "fab", name = "Chat on Keybase", link = "https://keybase.io/"},
  68. {icon = "comments", icon_pack = "fas", name = "Discuss on Forum", link = "https://discourse.gohugo.io"},
  69. # {icon = "telegram", icon_pack = "fab", name = "Telegram Me", link = "https://telegram.me/@Telegram"},
  70. ]
  71. # Display a map.
  72. # To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
  73. # a map provider below.
  74. # To use Google Maps, set `map = 1` and enter your API key that can be obtained here:
  75. # https://developers.google.com/maps/documentation/javascript/get-api-key
  76. # To use OpenStreetMap tiles, set `map = 2`.
  77. # To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
  78. # https://www.mapbox.com/studio/account/tokens
  79. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
  80. #
  81. # Map provider:
  82. # 0: No map
  83. # 1: Google Maps
  84. # 2: OpenStreetMap (Mapnik)
  85. # 3: OpenStreetMap (Mapbox)
  86. map = 2
  87. map_api_key = ""
  88. latitude = "37.4275"
  89. longitude = "-122.1697"
  90. zoom = 15
  91. # Address line delimiter
  92. # Popular separators are ", " (comma), "<br>" (new line), " " (space)
  93. address_delimiter = ", "
  94. ############################
  95. ## Plugins ##
  96. ############################
  97. # Load CSS and JS plugins
  98. # E.g. To load `/assets/css/custom.css`, set `plugins_css = ["custom"]`.
  99. # E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
  100. plugins_css = []
  101. plugins_js = []
  102. ############################
  103. ## Advanced options ##
  104. ############################
  105. # Get user avatars from Gravatar.com? (true/false)
  106. gravatar = false
  107. # Align the main menu to the right of the page? (true/false)
  108. menu_align_right = false
  109. # Show estimated reading time for posts? (true/false)
  110. reading_time = true
  111. # Display next/previous section pager? (true/false)
  112. section_pager = false
  113. docs_section_pager = true # Display pager in Docs layout (e.g. tutorials)?
  114. # Enable in-built social sharing buttons? (true/false)
  115. sharing = true
  116. # Configuration of publication pages.
  117. [publications]
  118. # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  119. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  120. date_format = "January 2006"
  121. # Citation style ("apa" or "mla")
  122. citation_style = "apa"
  123. # Configuration of project pages.
  124. [projects]
  125. # Views for associated content.
  126. # 1: List
  127. # 2: Compact
  128. # 3: Card
  129. # 4: Citation (publications only)
  130. post_view = 2
  131. publication_view = 2
  132. talk_view = 2
  133. # Comments.
  134. [comments]
  135. # Comment provider:
  136. # 0: Disabled
  137. # 1: Disqus (https://disqus.com)
  138. # 2: Commento (https://commento.io)
  139. engine = 0
  140. # Which page types are commentable?
  141. commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}
  142. # Configuration of Disqus.
  143. [comments.disqus]
  144. shortname = "" # Paste the shortname from your Disqus dashboard.
  145. show_count = true # Show comment count in page header? (true/false)
  146. # Search.
  147. [search]
  148. # Search provider:
  149. # 0: No search engine
  150. # 1: Academic (built-in)
  151. # 2: Algolia (https://www.algolia.com)
  152. engine = 1
  153. # Configuration of Algolia search engine.
  154. # Paste the values from your Algolia dashboard.
  155. [search.algolia]
  156. app_id = ""
  157. api_key = ""
  158. index_name = ""
  159. show_logo = false