From 329880216975d6338253e3e439ed30113f5e0ef6 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 13 Dec 2020 00:35:24 +0000 Subject: refactor: convert talks.md to YAML --- content/home/posts.md | 91 ++++++++++++++++++--------------------------------- content/home/talks.md | 2 +- 2 files changed, 33 insertions(+), 60 deletions(-) (limited to 'content') diff --git a/content/home/posts.md b/content/home/posts.md index d95b1c4d..0d05b39a 100644 --- a/content/home/posts.md +++ b/content/home/posts.md @@ -1,68 +1,41 @@ -+++ -# A Recent Blog Posts section created with the Pages widget. -# This section displays recent blog posts from `content/post/`. +--- +# An instance of the Pages widget. +# Documentation: https://wowchemy.com/docs/page-builder/ +widget: pages -widget = "pages" # See https://sourcethemes.com/academic/docs/page-builder/ -headless = true # This file represents a page section. -active = true # Activate this widget? true/false -weight = 60 # Order that this section will appear. +# This file represents a page section. +headless: true -title = "Recent Posts" -subtitle = "" +# Order that this section appears on the page. +weight: 60 -[content] - # Page type to display. E.g. post, talk, or publication. - page_type = "post" - - # Choose how much pages you would like to display (0 = all pages) - count = 5 - - # Choose how many pages you would like to offset by - offset = 0 +title: Recent Posts +subtitle: - # Page order. Descending (desc) or ascending (asc) date. - order = "desc" +content: + # Page type to display. E.g. post, talk, publication... + page_type: post + # Choose how many pages you would like to display (0 = all pages) + count: 5 + # Filter on criteria + filters: + author: "" + category: "" + tag: "" + exclude_featured: false + exclude_future: false + exclude_past: false + publication_type: "" + # Choose how many pages you would like to offset by + offset: 0 + # Page order: descending (desc) or ascending (asc) date. + order: desc - # Filter posts by a taxonomy term. - [content.filters] - tag = "" - category = "" - publication_type = "" - author = "" - exclude_featured = false - -[design] - # Toggle between the various page layout types. +design: + # Choose a view for the listings: # 1 = List # 2 = Compact # 3 = Card # 4 = Citation (publication only) - view = 2 - -[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/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). - # text_color_light = true - -[advanced] - # Custom CSS. - css_style = "" - - # CSS class. - css_class = "" -+++ + view: 2 +--- diff --git a/content/home/talks.md b/content/home/talks.md index 561a507c..600fd6e9 100644 --- a/content/home/talks.md +++ b/content/home/talks.md @@ -15,7 +15,7 @@ subtitle: content: # Page type to display. E.g. post, talk, publication... page_type: talk - # Choose how much pages you would like to display (0 = all pages) + # Choose how many pages you would like to display (0 = all pages) count: 5 # Filter on criteria filters: -- cgit v1.2.3