refactor: homepage sections as headless leaf nodes

See #970
This commit is contained in:
George Cushen committed 2019-03-17 20:31:20 +00:00
1 parent 839e198c7f
commit ea4621aedb
26 files changed
+80 -59

No files matched your search

+3 -2
View File
@@ -1,6 +1,7 @@
+++
# About/Biography widget.
widget = "about" # Do not modify this line!
# About widget.
widget = "about" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 20 # Order that this section will appear in.
+2 -1
View File
@@ -1,6 +1,7 @@
+++
# Accomplishments widget.
widget = "accomplishments" # Do not modify this line!
widget = "accomplishments" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 50 # Order that this section will appear.
+3 -4
View File
@@ -1,14 +1,13 @@
+++
# Contact widget.
widget = "contact" # Do not modify this line!
widget = "contact" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 130 # Order that this section will appear.
title = "Contact"
subtitle = ""
# Order that this section will appear in.
weight = 130
# Automatically link email and phone?
autolink = true
+2 -2
View File
@@ -3,11 +3,11 @@
# Any elements can be added in the body: https://sourcethemes.com/academic/docs/writing-markdown-latex/
# Add more sections by duplicating this file and customizing to your requirements.
widget = "blank" # Do not modify this line!
widget = "blank" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 15 # Order that this section will appear.
# Note: a full width section format can be enabled by commenting out the `title` and `subtitle` with a `#`.
title = "Demos"
subtitle = ""
+2 -1
View File
@@ -1,6 +1,7 @@
+++
# Experience widget.
widget = "experience" # Do not modify this line!
widget = "experience" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 40 # Order that this section will appear.
+2 -1
View File
@@ -3,7 +3,8 @@
# This section displays publications from `content/publication/` which have
# `featured = true` in their front matter.
widget = "featured" # Do not modify this line!
widget = "featured" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 80 # Order that this section will appear.
+4 -6
View File
@@ -1,14 +1,12 @@
+++
# Custom widget.
widget = "custom" # Do not modify this line!
# Gallery section using the Blank widget and Gallery element (shortcode).
widget = "blank" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 66 # Order that this section will appear.
# Note: a full width section format can be enabled by commenting out the `title` and `subtitle` with a `#`.
title = "Gallery"
subtitle = ""
# Order that this section will appear in.
weight = 66
+++
{{< gallery >}}
+2 -1
View File
@@ -1,6 +1,7 @@
+++
# Hero widget.
widget = "hero" # Do not modify this line!
widget = "hero" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 10 # Order that this section will appear.
+5
View File
@@ -0,0 +1,5 @@
+++
# Homepage
type = "widget_page"
headless = true # Homepage is headless, other widget pages are not.
+++
+3 -4
View File
@@ -1,14 +1,13 @@
+++
# People widget.
widget = "people" # Do not modify this line!
widget = "people" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = false # Activate this widget? true/false
weight = 68 # Order that this section will appear.
title = "People"
subtitle = ""
# Order that this section will appear in.
weight = 68
# List user groups to display.
# Edit each user's `user_groups` to add them to one or more of these groups.
user_groups = ["Principal Investigators",
+2 -1
View File
@@ -2,7 +2,8 @@
# 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!
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.
+3 -2
View File
@@ -1,6 +1,7 @@
+++
# Portfolio widget.
widget = "portfolio" # Do not modify this line!
# A Projects section created with the Portfolio widget.
widget = "portfolio" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 65 # Order that this section will appear.
+2 -1
View File
@@ -2,7 +2,8 @@
# A Recent Publications section created with the Pages widget.
# This section displays recent blog posts from `content/publication/`.
widget = "pages" # Do not modify this line!
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 = 90 # Order that this section will appear.
+4 -5
View File
@@ -1,14 +1,13 @@
+++
# Feature/Skill widget.
widget = "featurette" # Do not modify this line!
# A Skills section created with the Featurette widget.
widget = "featurette" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 30 # Order that this section will appear.
title = "Skills"
subtitle = ""
# Order that this section will appear in.
weight = 30
# Showcase personal skills or business features.
#
# Add/remove as many `[[feature]]` blocks below as you like.
+3 -4
View File
@@ -1,10 +1,9 @@
+++
# Slider widget.
widget = "slider" # Do not modify this line!
widget = "slider" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = false # Activate this widget? true/false
# Order that this section will appear in.
weight = 1
weight = 1 # Order that this section will appear.
# Slide interval.
# Use `false` to disable animation or enter a time in ms, e.g. `5000` (5s).
+3 -4
View File
@@ -1,11 +1,10 @@
+++
# Tag Cloud widget.
widget = "tag_cloud" # Do not modify this line!
widget = "tag_cloud" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 120 # Order that this section will appear.
title = "Popular Topics"
subtitle = ""
# Order that this section will appear in.
weight = 120
+++
+2 -1
View File
@@ -2,7 +2,8 @@
# A Recent and Upcoming Talks section created with the Pages widget.
# This section displays recent talks from `content/talk/`.
widget = "pages" # Do not modify this line!
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 = 70 # Order that this section will appear.