mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
talks: Fix archetype and add example to exampleSite (#68)
This commit is contained in:
parent
652302d5c0
commit
fbcc2ae87b
7 changed files with 41 additions and 4 deletions
|
@ -3,6 +3,7 @@ math = false
|
|||
title = ""
|
||||
abstract = ""
|
||||
abstract_short = ""
|
||||
event = ""
|
||||
selected = false
|
||||
url_pdf = ""
|
||||
url_slides = ""
|
||||
|
|
|
@ -9,7 +9,7 @@ subtitle = ""
|
|||
widget = "contact"
|
||||
|
||||
# Order that this section will appear in.
|
||||
weight = 60
|
||||
weight = 70
|
||||
|
||||
# Automatically link email and phone?
|
||||
autolink = true
|
||||
|
|
|
@ -10,7 +10,7 @@ subtitle = ""
|
|||
widget = "posts"
|
||||
|
||||
# Order that this section will appear in.
|
||||
weight = 30
|
||||
weight = 40
|
||||
|
||||
# Show posts that contain the following tags. Default to any tags.
|
||||
tags = []
|
||||
|
|
|
@ -10,7 +10,7 @@ subtitle = ""
|
|||
widget = "projects"
|
||||
|
||||
# Order that this section will appear in.
|
||||
weight = 40
|
||||
weight = 50
|
||||
|
||||
# View.
|
||||
# Customize how projects are displayed.
|
||||
|
|
22
exampleSite/content/home/talks.md
Normal file
22
exampleSite/content/home/talks.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
+++
|
||||
# Recent Talks widget.
|
||||
# Note: this widget will only display if `content/talk/` contains talks.
|
||||
|
||||
date = "2016-04-20T00:00:00"
|
||||
draft = false
|
||||
|
||||
title = "Recent Talks"
|
||||
subtitle = ""
|
||||
widget = "talks"
|
||||
|
||||
# Order that this section will appear in.
|
||||
weight = 30
|
||||
|
||||
# Number of talks to list.
|
||||
count = 10
|
||||
|
||||
# Show talk details (such as abstract)? (true/false)
|
||||
detailed_list = false
|
||||
|
||||
+++
|
||||
|
|
@ -10,7 +10,7 @@ subtitle = ""
|
|||
widget = "custom"
|
||||
|
||||
# Order that this section will appear in.
|
||||
weight = 50
|
||||
weight = 60
|
||||
|
||||
+++
|
||||
|
||||
|
|
14
exampleSite/content/talk/example-talk.md
Normal file
14
exampleSite/content/talk/example-talk.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
+++
|
||||
date = "2016-12-22T00:00:00"
|
||||
math = true
|
||||
title = "Example Talk"
|
||||
abstract = ""
|
||||
abstract_short = ""
|
||||
event = "Hugo Academic Theme Conference"
|
||||
selected = false
|
||||
url_pdf = ""
|
||||
url_slides = ""
|
||||
url_video = ""
|
||||
+++
|
||||
|
||||
More detail can easily be written here using *Markdown* and $\rm \LaTeX$ math code.
|
Loading…
Add table
Add a link
Reference in a new issue