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
diff options
context:
space:
mode:
authorGeorge Cushen <gcushen@users.noreply.github.com>2018-08-13 00:57:56 +0300
committerGeorge Cushen <gcushen@users.noreply.github.com>2018-08-13 00:57:56 +0300
commit90f981f9570bca6954928e5e1922cdd6089c98ee (patch)
tree73c3d13fae6dba2c3302adb8d6e0487609ba621f
parente72377bbbb4f60394071967af923de519bfa566c (diff)
Update to Academic v2.4.0
-rw-r--r--config.toml45
-rw-r--r--content/home/hero_carousel.md57
-rw-r--r--content/home/search.md12
-rw-r--r--content/home/skills.md25
-rw-r--r--content/home/talks.md2
-rw-r--r--content/home/talks_selected.md17
-rw-r--r--netlify.toml2
m---------themes/academic0
8 files changed, 153 insertions, 7 deletions
diff --git a/config.toml b/config.toml
index 4b477472..f3235019 100644
--- a/config.toml
+++ b/config.toml
@@ -37,9 +37,15 @@ defaultContentLanguageInSubdir = false
enableGitInfo = false
[outputs]
- home = [ "HTML", "CSS", "RSS" ]
+ home = [ "HTML", "CSS", "RSS", "search" ]
section = [ "HTML", "RSS" ]
+[outputFormats.search]
+ baseName = "search"
+ isPlainText = true
+ mediaType = "application/json"
+ notAlternative = true
+
# Configure BlackFriday Markdown rendering.
# See: https://gohugo.io/getting-started/configuration/#configure-blackfriday
[blackfriday]
@@ -133,9 +139,7 @@ enableGitInfo = false
#
# highlight_languages
# Add support for highlighting additional languages. Support for
- # languages mentioned here will be included in all pages. You
- # can also set this variable for a particular page in that
- # page's preamble.
+ # languages mentioned here will be included in all pages.
#
# Example: highlight_languages = ["go", "lisp", "ocaml"]
#
@@ -150,7 +154,7 @@ enableGitInfo = false
# https://cdnjs.com/libraries/highlight.js/
#
# For more info on the highlighting options, see:
- # https://sourcethemes.com/academic/post/writing-markdown-latex/#highlighting-options
+ # https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
highlight = true
highlight_languages = []
# highlight_style = "github"
@@ -298,6 +302,22 @@ enableGitInfo = false
# url = "files/cv.pdf"
# weight = 7
+# Search.
+[params.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.
+ [params.search.algolia]
+ app_id = ""
+ api_key = ""
+ index_name = ""
+ show_logo = false
+
# Taxonomies.
[taxonomies]
tag = "tags"
@@ -306,7 +326,20 @@ enableGitInfo = false
# Languages
# Create a [languages.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 website.
-[Languages.en]
+[languages.en]
languageCode = "en-us"
+
+# Uncomment the lines below to configure your website in a second language.
+#[languages.zh]
+# languageCode = "zh-Hans"
+# title = "Chinese website title..."
+# [languages.zh.params]
+# name = "Your name in Chinese..."
+# role = "Your role in Chinese..."
+# [[languages.zh.menu.main]]
+# name = "Wo"
+# url = "#about"
+# weight = 1
diff --git a/content/home/hero_carousel.md b/content/home/hero_carousel.md
new file mode 100644
index 00000000..19de9b33
--- /dev/null
+++ b/content/home/hero_carousel.md
@@ -0,0 +1,57 @@
++++
+# Hero Carousel widget.
+widget = "hero_carousel"
+active = false
+date = 2017-10-15T00:00:00
+
+# Order that this section will appear in.
+weight = 1
+
+# Slide interval.
+# Use `false` to disable animation or enter a time in ms, e.g. `5000` (5s).
+interval = false
+
+# Minimum slide height.
+# Specify a height to ensure a consistent height for each slide.
+height = "300px"
+
+# Slides.
+# Duplicate an `[[item]]` block to add more slides.
+[[item]]
+ title = "Hello"
+ content = "I am center aligned :smile:"
+ align = "center" # Choose `center`, `left`, or `right`.
+
+ # Overlay a color or image (optional).
+ # Deactivate an option by commenting out the line, prefixing it with `#`.
+ overlay_color = "#666" # An HTML color value.
+ overlay_img = "headers/bubbles-wide.jpg" # Image path relative to your `static/img/` folder.
+ overlay_filter = 0.5 # Darken the image. Value in range 0-1.
+
+ # Call to action button (optional).
+ # Activate the button by specifying a URL and button label below.
+ # Deactivate by commenting out parameters, prefixing lines with `#`.
+ cta_label = "Get Academic"
+ cta_url = "https://sourcethemes.com/academic/"
+ cta_icon_pack = "fa"
+ cta_icon = "graduation-cap"
+
+[[item]]
+ title = "Left"
+ content = "I am left aligned :smile:"
+ align = "left"
+
+ overlay_color = "#555" # An HTML color value.
+ overlay_img = "" # Image path relative to your `static/img/` folder.
+ overlay_filter = 0.5 # Darken the image. Value in range 0-1.
+
+[[item]]
+ title = "Right"
+ content = "I am right aligned :smile:"
+ align = "right"
+
+ overlay_color = "#333" # An HTML color value.
+ overlay_img = "" # Image path relative to your `static/img/` folder.
+ overlay_filter = 0.5 # Darken the image. Value in range 0-1.
+
++++
diff --git a/content/home/search.md b/content/home/search.md
new file mode 100644
index 00000000..e3b797a8
--- /dev/null
+++ b/content/home/search.md
@@ -0,0 +1,12 @@
++++
+# Search widget.
+widget = "search"
+active = true
+date = 2018-07-23T00:00:00
+
+title = "Search"
+subtitle = ""
+
+# Order that this section will appear in.
+weight = 66
++++
diff --git a/content/home/skills.md b/content/home/skills.md
new file mode 100644
index 00000000..078509c6
--- /dev/null
+++ b/content/home/skills.md
@@ -0,0 +1,25 @@
++++
+# Feature/Skill widget.
+widget = "featurette"
+active = false
+date = "2017-11-21"
+
+# Order that this section will appear in.
+weight = 20
+
+# Add/remove as many `[[feature]]` blocks below as you like.
+# See `config.toml` for more info on available icons.
+
+[[feature]]
+ icon = "files-o"
+ icon_pack = "fa"
+ name = "Data Driven"
+ description = "..."
+
+[[feature]]
+ icon = "pencil"
+ icon_pack = "fa"
+ name = "Math"
+ description = "..."
+
++++
diff --git a/content/home/talks.md b/content/home/talks.md
index ae004383..ff134650 100644
--- a/content/home/talks.md
+++ b/content/home/talks.md
@@ -18,5 +18,7 @@ count = 10
# 1 = Detailed
list_format = 0
+# Exclude talks that are shown in the Selected Talks widget?
+exclude_selected = false
+++
diff --git a/content/home/talks_selected.md b/content/home/talks_selected.md
new file mode 100644
index 00000000..2a0604cc
--- /dev/null
+++ b/content/home/talks_selected.md
@@ -0,0 +1,17 @@
++++
+# Selected Talks widget.
+widget = "talks_selected"
+active = false
+date = 2016-04-20T00:00:00
+
+title = "Selected Talks"
+subtitle = ""
+
+# Order that this section will appear in.
+weight = 29
+
+# List format.
+# 0 = Simple
+# 1 = Detailed
+list_format = 0
++++
diff --git a/netlify.toml b/netlify.toml
index e5a5e50b..c58899cb 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -3,6 +3,6 @@
command = "hugo"
[context.production.environment]
- HUGO_VERSION = "0.44"
+ HUGO_VERSION = "0.46"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
diff --git a/themes/academic b/themes/academic
-Subproject 3b15254f18877b0ada69851ef126a4c846fdccb
+Subproject 5115b1fa23e40a097fa90ea6f5884d8bb5751f5