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:
parent
96e3f9b2d4
commit
8296df5067
@ -6,36 +6,36 @@
|
|||||||
[[main]]
|
[[main]]
|
||||||
name = "Home"
|
name = "Home"
|
||||||
url = "#about"
|
url = "#about"
|
||||||
weight = 1
|
weight = 10
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = "Publications"
|
|
||||||
url = "#publications_featured"
|
|
||||||
weight = 2
|
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
name = "Posts"
|
name = "Posts"
|
||||||
url = "#posts"
|
url = "#posts"
|
||||||
weight = 3
|
weight = 20
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
name = "Projects"
|
name = "Projects"
|
||||||
url = "#projects"
|
url = "#projects"
|
||||||
weight = 4
|
weight = 30
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "Publications"
|
||||||
|
url = "#featured"
|
||||||
|
weight = 40
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
name = "Tutorials"
|
name = "Tutorials"
|
||||||
url = "/tutorial/"
|
url = "/tutorial/"
|
||||||
weight = 5
|
weight = 50
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
name = "Contact"
|
name = "Contact"
|
||||||
url = "#contact"
|
url = "#contact"
|
||||||
weight = 6
|
weight = 60
|
||||||
|
|
||||||
# Link to a PDF of your resume/CV from the menu.
|
# Link to a PDF of your resume/CV from the menu.
|
||||||
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
|
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
|
||||||
# [[main]]
|
# [[main]]
|
||||||
# name = "CV"
|
# name = "CV"
|
||||||
# url = "files/cv.pdf"
|
# url = "files/cv.pdf"
|
||||||
# weight = 7
|
# weight = 70
|
||||||
|
@ -56,11 +56,10 @@ address = "Building 1 Room 1, Stanford University, California, 90210, USA"
|
|||||||
|
|
||||||
# Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
|
# Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
|
||||||
office_hours = """Monday 10:00 to 13:00<br>
|
office_hours = """Monday 10:00 to 13:00<br>
|
||||||
Wednesday 09:00 to 10:00<br>
|
Wednesday 09:00 to 10:00"""
|
||||||
Otherwise email to book an appointment"""
|
|
||||||
|
|
||||||
# Enter an optional link for booking appointments (e.g. calendly.com).
|
# Enter an optional link for booking appointments (e.g. calendly.com).
|
||||||
appointment_url = ""
|
appointment_url = "https://calendly.com"
|
||||||
|
|
||||||
# Contact links
|
# Contact links
|
||||||
# Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
|
# Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# About/Biography widget.
|
# About/Biography widget.
|
||||||
widget = "about" # Do not modify this line!
|
widget = "about" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
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"
|
title = "Biography"
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ title = "Accomplish­ments"
|
|||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
# Order that this section will appear in.
|
||||||
weight = 9
|
weight = 50
|
||||||
|
|
||||||
# Date format
|
# Date format
|
||||||
# Refer to https://sourcethemes.com/academic/docs/customization/#date-format
|
# Refer to https://sourcethemes.com/academic/docs/customization/#date-format
|
||||||
|
@ -7,7 +7,7 @@ title = "Contact"
|
|||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
# Order that this section will appear in.
|
||||||
weight = 70
|
weight = 130
|
||||||
|
|
||||||
# Automatically link email and phone?
|
# Automatically link email and phone?
|
||||||
autolink = true
|
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 = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
# Order that this section will appear in.
|
||||||
weight = 8
|
weight = 40
|
||||||
|
|
||||||
# Date format for experience
|
# Date format for experience
|
||||||
# Refer to https://sourcethemes.com/academic/docs/customization/#date-format
|
# Refer to https://sourcethemes.com/academic/docs/customization/#date-format
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
widget = "featured" # Do not modify this line!
|
widget = "featured" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
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"
|
title = "Featured Publications"
|
||||||
subtitle = ""
|
subtitle = ""
|
@ -2,7 +2,7 @@
|
|||||||
# Hero widget.
|
# Hero widget.
|
||||||
widget = "hero" # Do not modify this line!
|
widget = "hero" # Do not modify this line!
|
||||||
active = false # Activate this widget? true/false
|
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"
|
title = "Academic"
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
widget = "pages" # Do not modify this line!
|
widget = "pages" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
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"
|
title = "Recent Posts"
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
@ -1,52 +1,75 @@
|
|||||||
+++
|
+++
|
||||||
# Projects widget.
|
# Portfolio widget.
|
||||||
widget = "projects" # Do not modify this line!
|
widget = "portfolio" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
active = true # Activate this widget? true/false
|
||||||
|
weight = 65 # Order that this section will appear.
|
||||||
|
|
||||||
title = "Projects"
|
title = "Projects"
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
[content]
|
||||||
weight = 50
|
# Page type to display. E.g. project.
|
||||||
|
page_type = "project"
|
||||||
|
|
||||||
# Content.
|
# Filter toolbar (optional).
|
||||||
# Display content from the following folder.
|
# Add or remove as many filters (`[[content.filter_button]]` instances) as you like.
|
||||||
# For example, `folder = "project"` displays content from `content/project/`.
|
# To show all items, set `tag` to "*".
|
||||||
folder = "project"
|
# 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.
|
||||||
|
|
||||||
# View.
|
# Default filter index (e.g. 0 corresponds to the first `[[filter_button]]` instance below).
|
||||||
# 1 = List
|
filter_default = 0
|
||||||
# 3 = Card
|
|
||||||
# 5 = Showcase
|
|
||||||
view = 3
|
|
||||||
|
|
||||||
# Widget layout
|
# [[content.filter_button]]
|
||||||
# Legend: 0 = two columns (default), 1 = single column
|
# name = "All"
|
||||||
widget_layout = 0
|
# tag = "*"
|
||||||
|
|
||||||
# For Showcase view, flip alternate rows?
|
# [[content.filter_button]]
|
||||||
flip_alt_rows = false
|
# name = "Deep Learning"
|
||||||
|
# tag = "Deep Learning"
|
||||||
|
|
||||||
# Filter toolbar.
|
# [[content.filter_button]]
|
||||||
|
# name = "Other"
|
||||||
|
# tag = "Demo"
|
||||||
|
|
||||||
# Default filter index (e.g. 0 corresponds to the first `[[filter]]` instance below).
|
[design]
|
||||||
filter_default = 0
|
# Choose how many columns the section has. Valid values: 1 or 2.
|
||||||
|
columns = "2"
|
||||||
|
|
||||||
# Add or remove as many filters (`[[filter]]` instances) as you like.
|
# Toggle between the various page layout types.
|
||||||
# To show all items, set `tag` to "*".
|
# 1 = List
|
||||||
# To filter by a specific tag, set `tag` to an existing tag name.
|
# 3 = Card
|
||||||
# To remove toolbar, delete/comment all instances of `[[filter]]` below.
|
# 5 = Showcase
|
||||||
# [[filter]]
|
view = 3
|
||||||
# name = "All"
|
|
||||||
# tag = "*"
|
|
||||||
#
|
|
||||||
# [[filter]]
|
|
||||||
# name = "Deep Learning"
|
|
||||||
# tag = "Deep Learning"
|
|
||||||
#
|
|
||||||
# [[filter]]
|
|
||||||
# name = "Other"
|
|
||||||
# tag = "Demo"
|
|
||||||
|
|
||||||
|
# For Showcase view, flip alternate rows?
|
||||||
|
flip_alt_rows = false
|
||||||
|
|
||||||
|
[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!
|
widget = "pages" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
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"
|
title = "Recent Publications"
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
@ -7,7 +7,7 @@ title = "Skills"
|
|||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
# Order that this section will appear in.
|
||||||
weight = 7
|
weight = 30
|
||||||
|
|
||||||
# Showcase personal skills or business features.
|
# Showcase personal skills or business features.
|
||||||
#
|
#
|
||||||
|
@ -7,6 +7,5 @@ title = "Popular Topics"
|
|||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
# Order that this section will appear in.
|
||||||
weight = 65
|
weight = 120
|
||||||
|
|
||||||
+++
|
+++
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
widget = "pages" # Do not modify this line!
|
widget = "pages" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
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"
|
title = "Recent & Upcoming Talks"
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
@ -28,6 +28,8 @@ subtitle = ""
|
|||||||
category = ""
|
category = ""
|
||||||
publication_type = ""
|
publication_type = ""
|
||||||
exclude_featured = false
|
exclude_featured = false
|
||||||
|
exclude_past = false
|
||||||
|
exclude_future = false
|
||||||
|
|
||||||
[design]
|
[design]
|
||||||
# Toggle between the various page layout types.
|
# Toggle between the various page layout types.
|
||||||
|
@ -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`.
|
|
@ -33,6 +33,6 @@ rsync -av ../themes/academic/exampleSite/content/talk/_index.md ../content/talk/
|
|||||||
sed -i '' -e 's/active = true/active = false/' ../content/home/hero.md
|
sed -i '' -e 's/active = true/active = false/' ../content/home/hero.md
|
||||||
|
|
||||||
# Manual Steps:
|
# Manual Steps:
|
||||||
# - content/home/project.md: Re-comment out project widget filters
|
# - content/home/project.md: Re-comment out project filters
|
||||||
# - content/home/teaching.md: Re-modify title and content & set gradient background instead of image
|
# - content/home/demo.md: Re-modify content & set gradient background instead of image
|
||||||
# - content/home/hero.md: Clear `hero_media` value & set gradient background instead of image
|
# - content/home/hero.md: Clear `hero_media` value & set gradient background instead of image
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 2e146eed9c08e8ea6ab104c634587d77ebd36b10
|
Subproject commit ed8f04ea2fe527fcc043c5f45929d39590eb1e56
|
Loading…
Reference in New Issue
Block a user