From 072a59f07425d3df2fb5486d5cd00c06c2d4ddff Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 13 Nov 2020 01:43:38 +0000 Subject: feat: convert home/index to yaml Remove unused widgets (for organization template) --- content/home/index.md | 10 +++++---- content/home/people.md | 56 -------------------------------------------------- content/home/slider.md | 54 ------------------------------------------------ 3 files changed, 6 insertions(+), 114 deletions(-) delete mode 100644 content/home/people.md delete mode 100644 content/home/slider.md (limited to 'content') diff --git a/content/home/index.md b/content/home/index.md index ef8bad51..7fa0d2ac 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -1,5 +1,7 @@ -+++ +--- # Homepage -type = "widget_page" -headless = true # Homepage is headless, other widget pages are not. -+++ +type: widget_page + +# Homepage is headless, other widget pages are not. +headless: true +--- diff --git a/content/home/people.md b/content/home/people.md deleted file mode 100644 index 31b4cc57..00000000 --- a/content/home/people.md +++ /dev/null @@ -1,56 +0,0 @@ -+++ -# A "Meet the Team" section created with the People widget. -# This section displays people from `content/authors/` which belong to the `user_groups` below. - -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 = "Meet the Team" -subtitle = "" - -[content] - # Choose which groups/teams of users to display. - # Edit `user_groups` in each user's profile to add them to one or more of these groups. - user_groups = ["Principal Investigators", - "Researchers", - "Grad Students", - "Administration", - "Visitors", - "Alumni"] - -[design] - # Show user's social networking links? (true/false) - show_social = false - - # Show user's interests? (true/false) - show_interests = true - -[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 = "" -+++ diff --git a/content/home/slider.md b/content/home/slider.md deleted file mode 100644 index 32f9166f..00000000 --- a/content/home/slider.md +++ /dev/null @@ -1,54 +0,0 @@ -+++ -# Slider widget. -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 -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). -interval = false - -# Slide height (optional). -# E.g. `500px` for 500 pixels or `calc(100vh - 70px)` for full screen. -height = "" - -# Slides. -# Duplicate an `[[item]]` block to add more slides. -[[item]] - title = "Hello" - content = "I am center aligned :smile:" - align = "center" # Choose `center`, `left`, or `right`. - - # Overlay a color or image (optional). - # Deactivate an option by commenting out the line, prefixing it with `#`. - overlay_color = "#666" # An HTML color value. - overlay_img = "headers/bubbles-wide.jpg" # Image path relative to your `static/media/` folder. - overlay_filter = 0.5 # Darken the image. Value in range 0-1. - - # Call to action button (optional). - # Activate the button by specifying a URL and button label below. - # Deactivate by commenting out parameters, prefixing lines with `#`. - cta_label = "Get Academic" - cta_url = "https://sourcethemes.com/academic/" - cta_icon_pack = "fas" - cta_icon = "graduation-cap" - -[[item]] - title = "Left" - content = "I am left aligned :smile:" - align = "left" - - overlay_color = "#555" # An HTML color value. - overlay_img = "" # Image path relative to your `static/media/` folder. - overlay_filter = 0.5 # Darken the image. Value in range 0-1. - -[[item]] - title = "Right" - content = "I am right aligned :smile:" - align = "right" - - overlay_color = "#333" # An HTML color value. - overlay_img = "" # Image path relative to your `static/media/` folder. - overlay_filter = 0.5 # Darken the image. Value in range 0-1. -+++ -- cgit v1.2.3