params.toml 6.2 KB

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