theme: upgrade to latest v4.1 dev (talk front matter upgraded)
Also: - Project and Custom widgets renamed (upgraded) - Rearranges section positions and adds demo section to introduce the template and help the user get started
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
# About/Biography widget.
 | 
			
		||||
widget = "about"  # Do not modify this line!
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 5  # Order that this section will appear in.
 | 
			
		||||
weight = 20  # Order that this section will appear in.
 | 
			
		||||
 | 
			
		||||
title = "Biography"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@ title = "Accomplish­ments"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 | 
			
		||||
# Order that this section will appear in.
 | 
			
		||||
weight = 9
 | 
			
		||||
weight = 50
 | 
			
		||||
 | 
			
		||||
# Date format
 | 
			
		||||
#   Refer to https://sourcethemes.com/academic/docs/customization/#date-format
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@ title = "Contact"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 | 
			
		||||
# Order that this section will appear in.
 | 
			
		||||
weight = 70
 | 
			
		||||
weight = 130
 | 
			
		||||
 | 
			
		||||
# Automatically link email and phone?
 | 
			
		||||
autolink = true
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										68
									
								
								content/home/demo.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										68
									
								
								content/home/demo.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,68 @@
 | 
			
		||||
+++
 | 
			
		||||
# A Demo section created with the Blank widget.
 | 
			
		||||
# 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!
 | 
			
		||||
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 = "Academic Kickstart"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 | 
			
		||||
[design]
 | 
			
		||||
  # Choose how many columns the section has. Valid values: 1 or 2.
 | 
			
		||||
  columns = "1"
 | 
			
		||||
 | 
			
		||||
[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 = "DarkGreen"
 | 
			
		||||
  gradient_end = "ForestGreen"
 | 
			
		||||
  
 | 
			
		||||
  # Background image.
 | 
			
		||||
  # image = "image.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 = "padding-top: 20px; padding-bottom: 20px;"
 | 
			
		||||
 
 | 
			
		||||
 # CSS class.
 | 
			
		||||
 css_class = ""
 | 
			
		||||
+++
 | 
			
		||||
 | 
			
		||||
Welcome to the **Academic Kickstart** template!
 | 
			
		||||
 | 
			
		||||
Follow our [Getting Started](https://sourcethemes.com/academic/docs/get-started/) and [Page Builder](https://sourcethemes.com/academic/docs/widgets/) guides to easily personalize the template and then [add your own content](https://sourcethemes.com/academic/docs/managing-content/).
 | 
			
		||||
 | 
			
		||||
For inspiration, check out [the Markdown files](https://sourcethemes.com/academic/docs/install/#demo-content) which power the [personal demo](https://academic-demo.netlify.com/). The easiest way to publish your new site to the internet is with [Netlify](https://sourcethemes.com/academic/docs/deployment/).
 | 
			
		||||
 | 
			
		||||
- [View the documentation](https://sourcethemes.com/academic/docs/)
 | 
			
		||||
- [Ask a question](http://discuss.gohugo.io/)
 | 
			
		||||
- [Request a feature or report a bug](https://github.com/gcushen/hugo-academic/issues)
 | 
			
		||||
- Updating? View the [Update Guide](https://sourcethemes.com/academic/docs/update/) and [Release Notes](https://sourcethemes.com/academic/updates/)
 | 
			
		||||
- Support development of Academic:
 | 
			
		||||
  - [Donate a coffee](https://paypal.me/cushen)
 | 
			
		||||
  - [Become a backer on Patreon](https://www.patreon.com/cushen)
 | 
			
		||||
  - [Decorate your laptop or journal with an Academic sticker](https://www.redbubble.com/people/neutreno/works/34387919-academic)
 | 
			
		||||
  - [Wear the T-shirt](https://academic.threadless.com/)
 | 
			
		||||
 | 
			
		||||
{{% alert note %}}
 | 
			
		||||
This homepage section is an example of adding [elements](https://sourcethemes.com/academic/docs/writing-markdown-latex/) to the [*Blank* widget](https://sourcethemes.com/academic/docs/widgets/).
 | 
			
		||||
 | 
			
		||||
Backgrounds can be applied to any section. Here, the *background* option is set give a *color gradient*.
 | 
			
		||||
 | 
			
		||||
**To remove this section, delete `content/home/demo.md`.**
 | 
			
		||||
{{% /alert %}}
 | 
			
		||||
@@ -7,7 +7,7 @@ title = "Experience"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 | 
			
		||||
# Order that this section will appear in.
 | 
			
		||||
weight = 8
 | 
			
		||||
weight = 40
 | 
			
		||||
 | 
			
		||||
# Date format for experience
 | 
			
		||||
#   Refer to https://sourcethemes.com/academic/docs/customization/#date-format
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@
 | 
			
		||||
 | 
			
		||||
widget = "featured"  # Do not modify this line!
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 10  # Order that this section will appear.
 | 
			
		||||
weight = 80  # Order that this section will appear.
 | 
			
		||||
 | 
			
		||||
title = "Featured Publications"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
# Hero widget.
 | 
			
		||||
widget = "hero"  # Do not modify this line!
 | 
			
		||||
active = false  # Activate this widget? true/false
 | 
			
		||||
weight = 3  # Order that this section will appear.
 | 
			
		||||
weight = 10  # Order that this section will appear.
 | 
			
		||||
 | 
			
		||||
title = "Academic"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
 | 
			
		||||
widget = "pages"  # Do not modify this line!
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 40  # Order that this section will appear.
 | 
			
		||||
weight = 60  # Order that this section will appear.
 | 
			
		||||
 | 
			
		||||
title = "Recent Posts"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 
 | 
			
		||||
@@ -1,52 +1,75 @@
 | 
			
		||||
+++
 | 
			
		||||
# Projects widget.
 | 
			
		||||
widget = "projects"  # Do not modify this line!
 | 
			
		||||
# Portfolio widget.
 | 
			
		||||
widget = "portfolio"  # Do not modify this line!
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 65  # Order that this section will appear.
 | 
			
		||||
 | 
			
		||||
title = "Projects"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 | 
			
		||||
# Order that this section will appear in.
 | 
			
		||||
weight = 50
 | 
			
		||||
[content]
 | 
			
		||||
  # Page type to display. E.g. project.
 | 
			
		||||
  page_type = "project"
 | 
			
		||||
  
 | 
			
		||||
  # Filter toolbar (optional).
 | 
			
		||||
  # Add or remove as many filters (`[[content.filter_button]]` instances) as you like.
 | 
			
		||||
  # To show all items, set `tag` to "*".
 | 
			
		||||
  # To filter by a specific tag, set `tag` to an existing tag name.
 | 
			
		||||
  # To remove toolbar, delete/comment all instances of `[[content.filter_button]]` below.
 | 
			
		||||
  
 | 
			
		||||
  # Default filter index (e.g. 0 corresponds to the first `[[filter_button]]` instance below).
 | 
			
		||||
  filter_default = 0
 | 
			
		||||
  
 | 
			
		||||
  # [[content.filter_button]]
 | 
			
		||||
  #   name = "All"
 | 
			
		||||
  #   tag = "*"
 | 
			
		||||
  
 | 
			
		||||
  # [[content.filter_button]]
 | 
			
		||||
  #   name = "Deep Learning"
 | 
			
		||||
  #   tag = "Deep Learning"
 | 
			
		||||
  
 | 
			
		||||
  # [[content.filter_button]]
 | 
			
		||||
  #   name = "Other"
 | 
			
		||||
  #   tag = "Demo"
 | 
			
		||||
 | 
			
		||||
# Content.
 | 
			
		||||
# Display content from the following folder.
 | 
			
		||||
# For example, `folder = "project"` displays content from `content/project/`.
 | 
			
		||||
folder = "project"
 | 
			
		||||
[design]
 | 
			
		||||
  # Choose how many columns the section has. Valid values: 1 or 2.
 | 
			
		||||
  columns = "2"
 | 
			
		||||
 | 
			
		||||
# View.
 | 
			
		||||
#   1 = List
 | 
			
		||||
#   3 = Card
 | 
			
		||||
#   5 = Showcase
 | 
			
		||||
view = 3
 | 
			
		||||
  # Toggle between the various page layout types.
 | 
			
		||||
  #   1 = List
 | 
			
		||||
  #   3 = Card
 | 
			
		||||
  #   5 = Showcase
 | 
			
		||||
  view = 3
 | 
			
		||||
 | 
			
		||||
# Widget layout
 | 
			
		||||
# Legend: 0 = two columns (default), 1 = single column
 | 
			
		||||
widget_layout = 0
 | 
			
		||||
  # For Showcase view, flip alternate rows?
 | 
			
		||||
  flip_alt_rows = false
 | 
			
		||||
 | 
			
		||||
# For Showcase view, flip alternate rows?
 | 
			
		||||
flip_alt_rows = false
 | 
			
		||||
 | 
			
		||||
# Filter toolbar.
 | 
			
		||||
 | 
			
		||||
# Default filter index (e.g. 0 corresponds to the first `[[filter]]` instance below).
 | 
			
		||||
filter_default = 0
 | 
			
		||||
 | 
			
		||||
# Add or remove as many filters (`[[filter]]` instances) as you like.
 | 
			
		||||
# To show all items, set `tag` to "*".
 | 
			
		||||
# To filter by a specific tag, set `tag` to an existing tag name.
 | 
			
		||||
# To remove toolbar, delete/comment all instances of `[[filter]]` below.
 | 
			
		||||
# [[filter]]
 | 
			
		||||
#   name = "All"
 | 
			
		||||
#   tag = "*"
 | 
			
		||||
#
 | 
			
		||||
# [[filter]]
 | 
			
		||||
#   name = "Deep Learning"
 | 
			
		||||
#   tag = "Deep Learning"
 | 
			
		||||
#
 | 
			
		||||
# [[filter]]
 | 
			
		||||
#   name = "Other"
 | 
			
		||||
#   tag = "Demo"
 | 
			
		||||
[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 = ""
 | 
			
		||||
+++
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
 | 
			
		||||
widget = "pages"  # Do not modify this line!
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 20  # Order that this section will appear.
 | 
			
		||||
weight = 90  # Order that this section will appear.
 | 
			
		||||
 | 
			
		||||
title = "Recent Publications"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@ title = "Skills"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 | 
			
		||||
# Order that this section will appear in.
 | 
			
		||||
weight = 7
 | 
			
		||||
weight = 30
 | 
			
		||||
 | 
			
		||||
# Showcase personal skills or business features.
 | 
			
		||||
# 
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,5 @@ title = "Popular Topics"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 | 
			
		||||
# Order that this section will appear in.
 | 
			
		||||
weight = 65
 | 
			
		||||
 | 
			
		||||
weight = 120
 | 
			
		||||
+++
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
 | 
			
		||||
widget = "pages"  # Do not modify this line!
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 30  # Order that this section will appear.
 | 
			
		||||
weight = 70  # Order that this section will appear.
 | 
			
		||||
 | 
			
		||||
title = "Recent & Upcoming Talks"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
@@ -28,7 +28,9 @@ subtitle = ""
 | 
			
		||||
    category = ""
 | 
			
		||||
    publication_type = ""
 | 
			
		||||
    exclude_featured = false
 | 
			
		||||
  
 | 
			
		||||
    exclude_past = false
 | 
			
		||||
    exclude_future = false
 | 
			
		||||
    
 | 
			
		||||
[design]
 | 
			
		||||
  # Toggle between the various page layout types.
 | 
			
		||||
  #   1 = List
 | 
			
		||||
 
 | 
			
		||||
@@ -1,41 +0,0 @@
 | 
			
		||||
+++
 | 
			
		||||
# A Demo section created with the Custom widget.
 | 
			
		||||
# 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 = "custom"  # Do not modify this line!
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 60  # 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 = "Custom Section"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 | 
			
		||||
[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 = "headers/bubbles-wide.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
 | 
			
		||||
+++
 | 
			
		||||
 | 
			
		||||
{{% alert note %}}
 | 
			
		||||
This is an example of using the *custom* widget to create your own homepage section.
 | 
			
		||||
 | 
			
		||||
This section also demonstrates how to apply the *background* option to create an *image parallax* effect. Backgrounds can be applied to any section.
 | 
			
		||||
{{% /alert %}}
 | 
			
		||||
 | 
			
		||||
To remove this section, either delete `content/home/teaching.md` or edit the front matter of the file to deactivate the widget by setting `active = false`.
 | 
			
		||||
		Reference in New Issue
	
	Block a user