From bd84bfdef913a22e3cc4107852c099b461e26e3f Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 15 Jul 2018 20:06:53 +0100 Subject: [PATCH] Update to Academic v2.3.0 --- config.toml | 22 +++++++++++++++++++--- content/post/_index.md | 6 +++++- netlify.toml | 2 +- themes/academic | 2 +- 4 files changed, 26 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index e703d29..4b47747 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,8 @@ # 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]`). # The URL of your website. # End your URL with a `/` trailing slash, e.g. `https://example.com/`. @@ -38,7 +41,7 @@ enableGitInfo = false section = [ "HTML", "RSS" ] # Configure BlackFriday Markdown rendering. -# See: https://gohugo.io/readfiles/bfconfig/ +# See: https://gohugo.io/getting-started/configuration/#configure-blackfriday [blackfriday] hrefTargetBlank = true # `true` opens external links in a new tab. fractions = true # `false` disables smart fractions (e.g. 5/12 formatted as a fraction). @@ -102,7 +105,7 @@ enableGitInfo = false longitude = "-122.1697" zoom = 15 - # Date and time format (refer to Go's date format: http://fuckinggodateformat.com ) + # 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" @@ -189,7 +192,7 @@ enableGitInfo = false # Configuration of publication pages. [params.publications] - # Date format (refer to Go's date format: http://fuckinggodateformat.com ) + # 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" @@ -243,6 +246,12 @@ enableGitInfo = false icon_pack = "fa" link = "//github.com/gcushen" + # Link to a PDF of your resume/CV from the About widget. + # To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below. + # [[params.social]] + # icon = "cv" + # icon_pack = "ai" + # link = "files/cv.pdf" # Navigation Links # To link a homepage widget, specify the URL as a hash `#` followed by the filename of the @@ -282,6 +291,13 @@ enableGitInfo = false 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. +# [[menu.main]] +# name = "CV" +# url = "files/cv.pdf" +# weight = 7 + # Taxonomies. [taxonomies] tag = "tags" diff --git a/content/post/_index.md b/content/post/_index.md index 95d1e37..88d40c0 100644 --- a/content/post/_index.md +++ b/content/post/_index.md @@ -4,9 +4,13 @@ date = 2017-01-01T00:00:00 math = false highlight = false +# List format. +# 0 = Simple +# 1 = Detailed +list_format = 1 + # Optional featured image (relative to `static/img/` folder). [header] image = "" caption = "" - +++ diff --git a/netlify.toml b/netlify.toml index d5c8e4b..e5a5e50 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,6 +3,6 @@ command = "hugo" [context.production.environment] - HUGO_VERSION = "0.40.3" + HUGO_VERSION = "0.44" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" diff --git a/themes/academic b/themes/academic index 9842f51..11a5d1b 160000 --- a/themes/academic +++ b/themes/academic @@ -1 +1 @@ -Subproject commit 9842f517ddff61bdf2ae8f43d3bbaa35e2cb0c27 +Subproject commit 11a5d1bf500e45e26a28faf166f7622cc929b052