From 96e3f9b2d4bdc3943985ab8e31cb6d34e7b169e9 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 24 Feb 2019 20:15:16 +0000 Subject: [PATCH] theme: upgrade to latest v4.1 dev --- content/home/posts.md | 4 +- content/home/publications.md | 4 +- content/home/publications_featured.md | 75 +++++++++++++++++++-------- content/home/talks.md | 4 +- content/home/talks_featured.md | 17 ------ themes/academic | 2 +- 6 files changed, 60 insertions(+), 46 deletions(-) delete mode 100644 content/home/talks_featured.md diff --git a/content/home/posts.md b/content/home/posts.md index a79e7f0..5ce9af9 100644 --- a/content/home/posts.md +++ b/content/home/posts.md @@ -55,12 +55,12 @@ subtitle = "" # 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). - text_color_light = false + # text_color_light = true [advanced] # Custom CSS. css_style = "" # CSS class. - css_class = "" + css_class = "" +++ diff --git a/content/home/publications.md b/content/home/publications.md index cd20d09..3f4427c 100644 --- a/content/home/publications.md +++ b/content/home/publications.md @@ -55,14 +55,14 @@ subtitle = "" # 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). - text_color_light = false + # text_color_light = true [advanced] # Custom CSS. css_style = "" # CSS class. - css_class = "" + css_class = "" +++ {{% alert note %}} diff --git a/content/home/publications_featured.md b/content/home/publications_featured.md index 68ef514..669eb0c 100644 --- a/content/home/publications_featured.md +++ b/content/home/publications_featured.md @@ -1,32 +1,63 @@ +++ -# Featured Publications widget. -# This widget displays publications from `content/publication/` which have +# A Featured Publications section created with the Featured Content widget. +# This section displays publications from `content/publication/` which have # `featured = true` in their front matter. -widget = "publications_featured" # Do not modify this line! + +widget = "featured" # Do not modify this line! active = true # Activate this widget? true/false +weight = 10 # Order that this section will appear. title = "Featured Publications" subtitle = "" -# Order that this section will appear in. -weight = 10 +[content] + # Page type to display. E.g. post, talk, or publication. + page_type = "publication" + + # Choose how much pages you would like to display (0 = all pages) + count = 0 -# View. -# 1 = List -# 2 = Compact -# 3 = Card -# 4 = Citation -view = 3 + # Page order. Descending (desc) or ascending (asc) date. + order = "desc" -# Filter by publication type. -# -1: Any -# 0: Uncategorized -# 1: Conference proceedings -# 2: Journal -# 3: Work in progress -# 4: Technical report -# 5: Book -# 6: Book chapter -publication_type = "-1" + # Filter posts by a taxonomy term. + [content.filters] + tag = "" + category = "" + publication_type = "" + +[design] + # Toggle between the various page layout types. + # 1 = List + # 2 = Compact + # 3 = Card + # 4 = Citation (publication only) + view = 3 + +[design.background] + # Apply a background color, gradient, or image. + # Uncomment (by removing `#`) an option to apply it. + # Choose a light or dark text color by setting `text_color_light`. + # Any HTML color name or Hex value is valid. + + # Background color. + # color = "navy" + + # Background gradient. + # gradient_start = "DeepSkyBlue" + # gradient_end = "SkyBlue" + + # Background image. + # image = "background.jpg" # Name of image in `static/img/`. + # 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). + # text_color_light = true + +[advanced] + # Custom CSS. + css_style = "" + + # CSS class. + css_class = "" +++ - diff --git a/content/home/talks.md b/content/home/talks.md index a589781..8107440 100644 --- a/content/home/talks.md +++ b/content/home/talks.md @@ -55,12 +55,12 @@ subtitle = "" # 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). - text_color_light = false + # text_color_light = true [advanced] # Custom CSS. css_style = "" # CSS class. - css_class = "" + css_class = "" +++ diff --git a/content/home/talks_featured.md b/content/home/talks_featured.md deleted file mode 100644 index b02b5e3..0000000 --- a/content/home/talks_featured.md +++ /dev/null @@ -1,17 +0,0 @@ -+++ -# Featured Talks widget. -widget = "talks_featured" # Do not modify this line! -active = false # Activate this widget? true/false - -title = "Featured Talks" -subtitle = "" - -# Order that this section will appear in. -weight = 29 - -# View. -# 1 = List -# 2 = Compact -# 3 = Card -view = 3 -+++ diff --git a/themes/academic b/themes/academic index 9985bc5..2e146ee 160000 --- a/themes/academic +++ b/themes/academic @@ -1 +1 @@ -Subproject commit 9985bc5e895fefe7fb95e83bbdf1e6133d39ef7b +Subproject commit 2e146eed9c08e8ea6ab104c634587d77ebd36b10