Update to Academic v2.4.0

This commit is contained in:
George Cushen 2018-08-12 22:57:56 +01:00
parent e72377bbbb
commit 90f981f957
8 changed files with 154 additions and 8 deletions

View File

@ -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

View File

@ -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.
+++

12
content/home/search.md Normal file
View File

@ -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
+++

25
content/home/skills.md Normal file
View File

@ -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 = "..."
+++

View File

@ -18,5 +18,7 @@ count = 10
# 1 = Detailed
list_format = 0
# Exclude talks that are shown in the Selected Talks widget?
exclude_selected = false
+++

View File

@ -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
+++

View File

@ -3,6 +3,6 @@
command = "hugo"
[context.production.environment]
HUGO_VERSION = "0.44"
HUGO_VERSION = "0.46"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

@ -1 +1 @@
Subproject commit 3b15254f18877b0ada69851ef126a4c846fdccb2
Subproject commit 5115b1fa23e40a097fa90ea6f5884d8bb5751f5b