upgrade content for v4.1 dev

This commit is contained in:
George Cushen 2019-02-19 18:09:28 +00:00
parent c50d008881
commit 8a4c5c482f
9 changed files with 104 additions and 28 deletions

View File

@ -39,7 +39,7 @@ defaultContentLanguageInSubdir = false
paginate = 10 # Number of items per page in paginated lists.
enableEmoji = true
footnotereturnlinkcontents = "<sup>^</sup>"
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
preserveTaxonomyNames = true
[outputs]
@ -54,6 +54,11 @@ preserveTaxonomyNames = true
latexDashes = true
extensions = ["backslashLineBreak"]
[imaging]
resampleFilter = "lanczos"
quality = 90
anchor = "smart" # Anchor for cropping. Options include Smart and Center.
# Taxonomies.
[taxonomies]
tag = "tags"

View File

@ -2,6 +2,9 @@
# Display name
name = "Nelson Bighetti"
# Username (this should match the folder name)
authors = ["admin"]
# Is this the primary user of the site?
superuser = true
@ -25,6 +28,10 @@ interests = [
"Information Retrieval"
]
# Organizational groups that you belong to (for People widget)
# Set this to `[]` or comment out if you are not using People widget.
user_groups = ["Researchers", "Visitors"]
# List qualifications (such as academic degrees)
[[education.courses]]
course = "PhD in Artificial Intelligence"

View File

@ -8,5 +8,5 @@ title = "Biography"
# Choose the user profile to display
# This should be the username of a profile in your `content/author/` folder.
author = "Admin"
author = "admin"
+++

View File

@ -8,28 +8,48 @@ title = "Academic"
# Order that this section will appear in.
weight = 3
# Overlay a color or image (optional).
# Deactivate an option by commenting out the line, prefixing it with `#`.
[header]
overlay_color = "#666" # An HTML color value.
overlay_img = "headers/bubbles-wide.jpg" # Image path relative to your `static/img/` folder.
overlay_filter = 0.5 # Darken the image. Value in range 0-1.
# Hero image (optional). Enter filename of an image in the `static/img/` folder.
hero_media = ""
# Call to action button (optional).
# Activate the button by specifying a URL and button label below.
# Deactivate by commenting out parameters, prefixing lines with `#`.
# Background (optional).
# Choose from a background color, gradient, or image.
# Choose a dark or light text color, by setting `text_color_light`.
# Delete or comment out (by prefixing `#`) any unused options.
[background]
# Background color.
# color = "navy"
# Background gradient.
gradient_start = "#4bb4e3"
gradient_end = "#2b94c3"
# Background image.
# image = "" # 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
# Call to action links (optional).
# Display link(s) by specifying a URL and label below. Icon is optional for `[cta]`.
# Remove a link/note by deleting a cta/note block.
[cta]
url = "./post/getting-started/"
label = '<i class="fas fa-download"></i> Install Now'
url = "post/getting-started/"
label = "Get Started"
icon_pack = "fas"
icon = "download"
[cta_alt]
url = "https://sourcethemes.com/academic/"
label = "View Documentation"
# Note. An optional note to show underneath the links.
[cta_note]
label = '<a id="academic-release" href="https://sourcethemes.com/academic/updates" data-repo="gcushen/hugo-academic">Latest release <!-- V --></a>'
+++
The highly flexible website framework for Hugo with an extensible plugin mechanism. Create a beautifully simple site in under 10 minutes :rocket:
<div style="margin-top: -0.5rem;">
<a id="academic-release" href="https://sourcethemes.com/academic/updates" data-repo="gcushen/hugo-academic">
Latest release <!-- V -->
</a>
</div>
<div class="mt-3">
<a class="github-button" href="https://github.com/gcushen/hugo-academic" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star this on GitHub">Star</a>
</div>
<script async defer src="https://buttons.github.io/buttons.js"></script>
**The Best Way to Create the Website You Want from Markdown (or RStudio/Jupyter)**
Build **Anything** with Widgets
<span style="text-shadow: none;"><a class="github-button" href="https://github.com/gcushen/hugo-academic" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star this on GitHub">Star</a><script async defer src="https://buttons.github.io/buttons.js"></script></span>

20
content/home/people.md Normal file
View File

@ -0,0 +1,20 @@
+++
# People widget.
widget = "people" # Do not modify this line!
active = false # Activate this widget? true/false
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",
"Researchers",
"Grad Students",
"Administration",
"Visitors",
"Alumni"]
+++

View File

@ -35,3 +35,6 @@ publication_type = "-1"
exclude_featured = false
+++
{{% alert note %}}
Quickly discover relevant content by [filtering publications]({{< ref "/publication/_index.md" >}}).
{{% /alert %}}

View File

@ -1,6 +1,6 @@
+++
# Hero Carousel widget.
widget = "hero_carousel" # Do not modify this line!
# Slider widget.
widget = "slider" # Do not modify this line!
active = false # Activate this widget? true/false
# Order that this section will appear in.
@ -52,5 +52,4 @@ height = "300px"
overlay_color = "#333" # An HTML color value.
overlay_img = "" # Image path relative to your `static/img/` folder.
overlay_filter = 0.5 # Darken the image. Value in range 0-1.
+++

View File

@ -12,8 +12,30 @@ subtitle = ""
# Order that this section will appear in.
weight = 60
# Background (optional).
# Choose from a background color, gradient, or image.
# Choose a dark or light text color, by setting `text_color_light`.
# Delete or comment out (by prefixing `#`) any unused options.
[background]
# 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.
To remove this section, either delete `content/home/teaching.md` or edit the frontmatter of the file to deactivate the widget by setting `active = false`.
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`.

@ -1 +1 @@
Subproject commit 283891941513e0dcfc40027847eaed96242e9c57
Subproject commit 3ac394a58c2a76bed802db4fe9360496816c293e