Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wowchemy/starter-academic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGeorge Cushen <gcushen@users.noreply.github.com>2019-01-20 16:08:23 +0300
committerGeorge Cushen <gcushen@users.noreply.github.com>2019-01-20 16:08:23 +0300
commite9c47d97ce6adca5a05695f3cdf2cc8ec4a00044 (patch)
treed30a43b0c0583ec52d99258090eb22aaa24a7095 /config
parent5e0c2eb4f2224ece1d0889f38fc5b3038a68a82b (diff)
theme: update and upgrade to Academic v4 dev
Diffstat (limited to 'config')
-rw-r--r--config/_default/config.toml62
-rw-r--r--config/_default/languages.toml18
-rw-r--r--config/_default/menus.toml41
-rw-r--r--config/_default/params.toml178
4 files changed, 299 insertions, 0 deletions
diff --git a/config/_default/config.toml b/config/_default/config.toml
new file mode 100644
index 00000000..44fec97c
--- /dev/null
+++ b/config/_default/config.toml
@@ -0,0 +1,62 @@
+# Configuration of Academic
+# Documentation: https://sourcethemes.com/academic/
+#
+# This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
+# Each configuration section is defined by a name in square brackets (e.g. `[outputs]`).
+
+# Title of your site
+title = "Academic"
+
+# The URL of your site.
+# End your URL with a `/` trailing slash, e.g. `https://example.com/`.
+baseurl = "/"
+
+# Enter a copyright notice to display in the site footer.
+# To display a copyright symbol, type `&copy;`.
+copyright = ""
+
+# Enable analytics by entering your Google Analytics tracking ID
+googleAnalytics = ""
+
+# Enable comments by entering your Disqus shortname
+disqusShortname = ""
+
+############################
+## Advanced options below ##
+############################
+
+# Name of Academic theme folder in `themes/`.
+theme = "academic"
+
+# Get last modified date for content from Git?
+enableGitInfo = false
+
+# Default language to use (if you setup multilingual support)
+defaultContentLanguage = "en"
+hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
+defaultContentLanguageInSubdir = false
+
+paginate = 10 # Number of items per page in paginated lists.
+enableEmoji = true
+footnotereturnlinkcontents = "<sup>^</sup>"
+ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
+preserveTaxonomyNames = true
+
+[outputs]
+ home = [ "HTML", "CSS", "RSS", "JSON" ]
+ section = [ "HTML", "RSS" ]
+
+# Configure BlackFriday Markdown rendering.
+# See: https://gohugo.io/getting-started/configuration/#configure-blackfriday
+[blackfriday]
+ hrefTargetBlank = true # `true` opens external links in a new tab. See https://github.com/gohugoio/hugo/issues/2424
+ angledQuotes = false
+ latexDashes = true
+ extensions = ["backslashLineBreak"]
+
+# Taxonomies.
+[taxonomies]
+ tag = "tags"
+ category = "categories"
+ publication_type = "publication_types"
+ author = "authors"
diff --git a/config/_default/languages.toml b/config/_default/languages.toml
new file mode 100644
index 00000000..7e9925df
--- /dev/null
+++ b/config/_default/languages.toml
@@ -0,0 +1,18 @@
+# Languages
+# Create a `[X]` block for each language you want, where X is the language ID.
+# Refer to https://sourcethemes.com/academic/docs/language/
+
+# Configure the English version of the site.
+[en]
+ languageCode = "en-us"
+
+# Uncomment the lines below to configure your website in a second language.
+#[zh]
+# languageCode = "zh-Hans"
+# title = "Chinese website title..."
+# [languages.zh.params]
+# description = "Site description in Chinese..."
+# [[languages.zh.menu.main]]
+# name = "Wo"
+# url = "#about"
+# weight = 1
diff --git a/config/_default/menus.toml b/config/_default/menus.toml
new file mode 100644
index 00000000..ae68c22d
--- /dev/null
+++ b/config/_default/menus.toml
@@ -0,0 +1,41 @@
+# Navigation Links
+# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
+# desired widget in your `content/home/` folder.
+# The weight parameter defines the order that the links will appear in.
+
+[[main]]
+ name = "Home"
+ url = "#about"
+ weight = 1
+
+[[main]]
+ name = "Publications"
+ url = "#publications_featured"
+ weight = 2
+
+[[main]]
+ name = "Posts"
+ url = "#posts"
+ weight = 3
+
+[[main]]
+ name = "Projects"
+ url = "#projects"
+ weight = 4
+
+[[main]]
+ name = "Tutorials"
+ url = "/tutorial/"
+ weight = 5
+
+[[main]]
+ name = "Contact"
+ url = "#contact"
+ weight = 6
+
+# Link to a PDF of your resume/CV from the menu.
+# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
+# [[main]]
+# name = "CV"
+# url = "files/cv.pdf"
+# weight = 7
diff --git a/config/_default/params.toml b/config/_default/params.toml
new file mode 100644
index 00000000..10984abf
--- /dev/null
+++ b/config/_default/params.toml
@@ -0,0 +1,178 @@
+# SITE SETUP
+# Documentation: https://sourcethemes.com/academic/
+
+# Color theme.
+# Choose from `default`, `ocean`, `forest`, `dark`, `apogee`, `1950s`, `coffee`, `cupcake`.
+color_theme = "default"
+# Enable users to switch between day and night mode?
+day_night = true
+
+# Font style.
+# Choose from `default`, `classic`, or `playfair`.
+font = "default"
+
+# Description for social sharing and search engines. If undefined, superuser role is used in place.
+description = ""
+
+# Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
+sharing_image = ""
+
+# Twitter username (without @). Used when a vistor shares your site on Twitter.
+twitter = ""
+
+# Diplay a logo in navigation bar rather than title (optional).
+# To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
+logo = ""
+
+# Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
+# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
+date_format = "Jan 2, 2006"
+# Examples: "3:04 pm" or "15:04"
+time_format = "3:04 PM"
+
+# Show estimated reading time for posts?
+reading_time = true
+
+# Display comment count? Requires commenting to be enabled.
+comment_count = true
+
+# Display next/previous section pager?
+section_pager = false
+
+# Enable global LaTeX math rendering?
+# If false, you can enable it locally on a per page basis.
+math = false
+
+# Enable global source code highlighting? true/false
+# Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
+highlight = true
+# highlight_languages = ["r"] # Add support for highlighting additional languages
+# highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/
+
+# Enable native social sharing buttons?
+sharing = true
+
+# Privacy pack
+# Show a cookie consent message to visitors
+# Anonymize IP in Google Analytics (if enabled)
+privacy_pack = false
+
+# Get user avatars from Gravatar.com? (true/false)
+gravatar = false
+
+# Contact Widget setup
+ email = "test@example.org"
+ address = "Building 1 Room 1, Stanford University, California, 90210, USA"
+ # Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
+ office_hours = """Monday 10:00 to 13:00<br>
+ Wednesday 09:00 to 10:00<br>
+ Otherwise email to book an appointment"""
+ phone = "888 888 88 88"
+ skype = "echo123"
+ telegram = ""
+ keybase = "" # Your keybase.io username.
+
+ # Enter an optional link for booking appointments (e.g. calendly.com).
+ appointment_url = ""
+
+ # Discussion link (e.g. link to a forum, mailing list, or chat).
+ # Uncomment line below to use.
+ # discussion = { name = "Discuss", url = "https://discourse.gohugo.io" }
+
+ # Enable/disable map in Contact widget.
+ # To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
+ # a map provider below.
+ # To use Google Maps, set `map = 1` and enter your API key that can be obtained here:
+ # https://developers.google.com/maps/documentation/javascript/get-api-key
+ # To use OpenStreetMap tiles, set `map = 2`.
+ # To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
+ # https://www.mapbox.com/studio/account/tokens
+ # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
+ #
+ # Map provider:
+ # 0: No map
+ # 1: Google Maps
+ # 2: OpenStreetMap (Mapnik)
+ # 3: OpenStreetMap (Mapbox)
+ map = 0
+ map_api_key = ""
+ latitude = "37.4275"
+ longitude = "-122.1697"
+ zoom = 15
+
+# Publication types.
+# Used to categorize publications.
+# The index of the publication type in the list is used as its unique numerical identifier.
+# The numeric ID is used in a publication's frontmatter to categorize it.
+# The language can be edited below.
+# For multilingual sites, `publication_types` can be copied to each language section at the end of this file and
+# translated.
+publication_types = [
+ 'Uncategorized', # 0
+ 'Conference paper', # 1
+ 'Journal article', # 2
+ 'Manuscript', # 3
+ 'Report', # 4
+ 'Book', # 5
+ 'Book section' # 6
+]
+
+# Align the main menu to the right of the page? (true/false)
+menu_align_right = true
+
+# Link custom CSS and JS assets
+# (relative to /static/css and /static/js respectively)
+custom_css = []
+custom_js = []
+
+# Configuration of talk pages.
+[talks]
+ # Show talk time?
+ time = true
+
+# Configuration of publication pages.
+[publications]
+ # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
+ # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
+ date_format = "January, 2006"
+
+# Configuration of project pages.
+[projects]
+ # List publications and talks related to the project?
+ list_children = true
+
+ # Post list format.
+ # 0 = Simple
+ # 1 = Detailed
+ # 2 = Stream
+ post_format = 2
+
+ # Publication list format.
+ # 0 = Simple
+ # 1 = Detailed
+ # 2 = APA
+ # 3 = MLA
+ # 4 = Stream
+ publication_format = 4
+
+ # Talk list format.
+ # 0 = Simple
+ # 1 = Detailed
+ # 2 = Stream
+ talk_format = 2
+
+# Search.
+[search]
+ # Search provider:
+ # 0: No search engine
+ # 1: Built-in (Fuse)
+ # 2: Algolia (https://www.algolia.com)
+ engine = 1
+
+ # Configuration of Algolia search engine.
+ # Paste the values from your Algolia dashboard.
+ [search.algolia]
+ app_id = ""
+ api_key = ""
+ index_name = ""
+ show_logo = false