params.toml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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 global 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 global LaTeX math rendering?
  26. # If false, you can enable it locally on a per page basis.
  27. math = false
  28. # Privacy pack
  29. # Show a cookie consent message to visitors
  30. # Anonymize IP in Google Analytics (if enabled)
  31. privacy_pack = false
  32. # Enable visitors to edit pages?
  33. # `repo` defines the repository URL. `editable` defines which page types can be edited.
  34. edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", editable = {docs = true}}
  35. # Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  36. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  37. date_format = "Jan 2, 2006"
  38. # Examples: "3:04 pm" or "15:04"
  39. time_format = "3:04 PM"
  40. ############################
  41. ## Contact Widget setup ##
  42. ############################
  43. # Enter contact details (optional). To hide a field, clear it to "".
  44. email = "test@example.org"
  45. phone = "888 888 88 88"
  46. address = "Building 1 Room 1, Stanford University, California, 90210, USA"
  47. # Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
  48. office_hours = """Monday 10:00 to 13:00<br>
  49. Wednesday 09:00 to 10:00"""
  50. # Enter an optional link for booking appointments (e.g. calendly.com).
  51. appointment_url = "https://calendly.com"
  52. # Contact links
  53. # Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
  54. contact_links = [
  55. {icon = "twitter", icon_pack = "fab", name = "DM Me", link = "https://twitter.com/Twitter"},
  56. {icon = "skype", icon_pack = "fab", name = "Skype Me", link = "skype:echo123?call"},
  57. {icon = "keybase", icon_pack = "fab", name = "Chat on Keybase", link = "https://keybase.io/"},
  58. {icon = "comments", icon_pack = "fas", name = "Discuss on Forum", link = "https://discourse.gohugo.io"},
  59. # {icon = "telegram", icon_pack = "fab", name = "Telegram Me", link = "https://telegram.me/@Telegram"},
  60. ]
  61. # Display a map.
  62. # To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
  63. # a map provider below.
  64. # To use Google Maps, set `map = 1` and enter your API key that can be obtained here:
  65. # https://developers.google.com/maps/documentation/javascript/get-api-key
  66. # To use OpenStreetMap tiles, set `map = 2`.
  67. # To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
  68. # https://www.mapbox.com/studio/account/tokens
  69. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
  70. #
  71. # Map provider:
  72. # 0: No map
  73. # 1: Google Maps
  74. # 2: OpenStreetMap (Mapnik)
  75. # 3: OpenStreetMap (Mapbox)
  76. map = 2
  77. map_api_key = ""
  78. latitude = "37.4275"
  79. longitude = "-122.1697"
  80. zoom = 15
  81. ############################
  82. ## Plugins ##
  83. ############################
  84. # Load CSS and JS plugins
  85. # E.g. To load `/assets/css/custom.css`, set `plugins_css = ["custom"]`.
  86. # E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
  87. plugins_css = []
  88. plugins_js = []
  89. ############################
  90. ## Advanced options ##
  91. ############################
  92. # Get user avatars from Gravatar.com? (true/false)
  93. gravatar = false
  94. # Align the main menu to the right of the page? (true/false)
  95. menu_align_right = false
  96. # Show estimated reading time for posts? (true/false)
  97. reading_time = true
  98. # Display comment count (if commenting enabled in config.toml)? (true/false)
  99. comment_count = true
  100. # Display next/previous section pager? (true/false)
  101. section_pager = false
  102. docs_section_pager = true # Display pager in Docs layout (e.g. tutorials)?
  103. # Enable in-built social sharing buttons? (true/false)
  104. sharing = true
  105. # Configuration of publication pages.
  106. [publications]
  107. # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
  108. # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
  109. date_format = "January 2006"
  110. # Citation style ("apa" or "mla")
  111. citation_style = "apa"
  112. # Configuration of project pages.
  113. [projects]
  114. # Views for associated content.
  115. # 1: List
  116. # 2: Compact
  117. # 3: Card
  118. # 4: Citation (publications only)
  119. post_view = 2
  120. publication_view = 2
  121. talk_view = 2
  122. # Search.
  123. [search]
  124. # Search provider:
  125. # 0: No search engine
  126. # 1: Academic (built-in)
  127. # 2: Algolia (https://www.algolia.com)
  128. engine = 1
  129. # Configuration of Algolia search engine.
  130. # Paste the values from your Algolia dashboard.
  131. [search.algolia]
  132. app_id = ""
  133. api_key = ""
  134. index_name = ""
  135. show_logo = false