From a17fba1b0013c928536b58d591874e911406a6d8 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 29 Jul 2020 19:08:07 +0100 Subject: [PATCH] theme: update v5 dev --- config/_default/params.toml | 10 ++++++++-- content/home/contact.md | 4 ++++ content/home/demo.md | 4 ++-- content/home/projects.md | 2 +- netlify.toml | 2 +- static/{img => media}/.gitkeep | 0 themes/academic | 2 +- 7 files changed, 17 insertions(+), 7 deletions(-) rename static/{img => media}/.gitkeep (100%) diff --git a/config/_default/params.toml b/config/_default/params.toml index 52fc216..5f1ccf9 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -123,7 +123,7 @@ contact_links = [ ## Social ############################ -# Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here. +# Default image for social sharing and search engines. Place image in `static/media/` folder and specify image name here. sharing_image = "" # Twitter username (without @). Used when a visitor shares your site on Twitter. @@ -147,7 +147,7 @@ address_format = "en-us" ############################ # Main menu alignment (l = left, c = center, r = right) and logo options. -main_menu = {align = "l", show_logo = true} +main_menu = {align = "l", show_logo = true, highlight_active_link = true, show_language = false} # Show estimated reading time for posts? (true/false) reading_time = true @@ -290,3 +290,9 @@ plugins_js = [] [cms] # See https://sourcethemes.com/academic/docs/install/#install-with-web-browser netlify_cms = true + +############################ +## Icon Pack Extensions +############################ +[icon.pack] + ai = false # Academicons icon pack https://jpswalsh.github.io/academicons/ diff --git a/content/home/contact.md b/content/home/contact.md index 6459d09..25188e2 100644 --- a/content/home/contact.md +++ b/content/home/contact.md @@ -16,5 +16,9 @@ autolink = true # 1: Netlify (requires that the site is hosted by Netlify) # 2: formspree.io email_form = 2 + +# Netlify form settings. +[netlify] + captcha = false # Enable CAPTCHA challenge to reduce spam? +++ diff --git a/content/home/demo.md b/content/home/demo.md index 54800cf..986cf5d 100644 --- a/content/home/demo.md +++ b/content/home/demo.md @@ -29,7 +29,7 @@ subtitle = "" gradient_end = "ForestGreen" # Background image. - # image = "image.jpg" # Name of image in `static/img/`. + # image = "image.jpg" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # image_size = "cover" # Options are `cover` (default), `contain`, or `actual` size. # image_position = "center" # Options include `left`, `center` (default), or `right`. @@ -54,7 +54,7 @@ Welcome to the **Academic Kickstart** template! Follow our [Getting Started](https://sourcethemes.com/academic/docs/get-started/) and [Page Builder](https://sourcethemes.com/academic/docs/widgets/) guides to easily personalize the template and then [add your own content](https://sourcethemes.com/academic/docs/managing-content/). -For inspiration, check out [the Markdown files](https://sourcethemes.com/academic/docs/install/#demo-content) which power the [personal demo](https://academic-demo.netlify.com/). The easiest way to publish your new site to the internet is with [Netlify](https://sourcethemes.com/academic/docs/deployment/). +For inspiration, check out [the Markdown files](https://sourcethemes.com/academic/docs/install/#demo-content) which power the [personal demo](https://academic-demo.netlify.app). The easiest way to publish your new site to the internet is with [Netlify](https://sourcethemes.com/academic/docs/deployment/). - [View the documentation](https://sourcethemes.com/academic/docs/) - [Ask a question](http://discuss.gohugo.io/) diff --git a/content/home/projects.md b/content/home/projects.md index 660aa97..04aaf63 100644 --- a/content/home/projects.md +++ b/content/home/projects.md @@ -61,7 +61,7 @@ subtitle = "" # gradient_end = "SkyBlue" # Background image. - # image = "background.jpg" # Name of image in `static/img/`. + # image = "background.jpg" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # Text color (true=light or false=dark). diff --git a/netlify.toml b/netlify.toml index f839f7d..4d5287d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "public" [build.environment] - HUGO_VERSION = "0.72.0" + HUGO_VERSION = "0.74.3" HUGO_ENABLEGITINFO = "true" [context.production.environment] diff --git a/static/img/.gitkeep b/static/media/.gitkeep similarity index 100% rename from static/img/.gitkeep rename to static/media/.gitkeep diff --git a/themes/academic b/themes/academic index 0db000a..2b1ec2d 160000 --- a/themes/academic +++ b/themes/academic @@ -1 +1 @@ -Subproject commit 0db000a841927f57483098a7d234da6900f40532 +Subproject commit 2b1ec2d00041a3cfe319390c7a94dea010bcac21