Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wowchemy/starter-academic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Cushen <gcushen@users.noreply.github.com>2019-02-24 04:23:30 +0300
committerGeorge Cushen <gcushen@users.noreply.github.com>2019-02-24 04:23:30 +0300
commitc7e09f4aa410fc25dce247966f60c78e782d0ab7 (patch)
treeb355e6e4d16a4231892681f82e8659d7001b28b3 /content/home/posts.md
parent1d6e6e629ee5664a3ba592e2bd48aef5022536bc (diff)
theme: sync v4.1 dev and upgrade home sections to use Pages widget
Diffstat (limited to 'content/home/posts.md')
-rw-r--r--content/home/posts.md71
1 files changed, 56 insertions, 15 deletions
diff --git a/content/home/posts.md b/content/home/posts.md
index 97db3a5c..fa0003c1 100644
--- a/content/home/posts.md
+++ b/content/home/posts.md
@@ -1,25 +1,66 @@
+++
-# Recent Posts widget.
-# This widget displays recent posts from `content/post/`.
-widget = "posts" # Do not modify this line!
+# A Recent Blog Posts section created with the Pages widget.
+# This section displays recent blog posts from `content/post/`.
+
+widget = "pages" # Do not modify this line!
active = true # Activate this widget? true/false
weight = 40 # Order that this section will appear.
title = "Recent Posts"
subtitle = ""
-# Number of recent posts to list.
-count = 5
+[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
-# View.
-# 1 = List
-# 2 = Compact
-# 3 = Card
-view = 2
+ # Page order. Descending (desc) or ascending (asc) date.
+ order = "desc"
-# Filter posts by tag or category.
-# E.g. to only show posts tagged with `Academic`, set `filter_tag = "Academic"`
-filter_tag = ""
-filter_category = ""
-+++
+ # Filter posts by a taxonomy term.
+ [content.filters]
+ tag = ""
+ category = ""
+ publication_type = ""
+ exclude_featured = false
+
+[design]
+ # Toggle between the various page layout types.
+ # 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/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 = ""
++++