Эх сурвалжийг харах

talks: Fix archetype and add example to exampleSite (#68)

pfasante 8 жил өмнө
parent
commit
fbcc2ae87b

+ 1 - 0
archetypes/talk.md

@@ -3,6 +3,7 @@ math = false
 title = ""
 abstract = ""
 abstract_short = ""
+event = ""
 selected = false
 url_pdf = ""
 url_slides = ""

+ 1 - 1
exampleSite/content/home/contact.md

@@ -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

+ 1 - 1
exampleSite/content/home/posts.md

@@ -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 = []

+ 1 - 1
exampleSite/content/home/projects.md

@@ -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 - 0
exampleSite/content/home/talks.md

@@ -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
+
++++
+

+ 1 - 1
exampleSite/content/home/teaching.md

@@ -10,7 +10,7 @@ subtitle = ""
 widget = "custom"
 
 # Order that this section will appear in.
-weight = 50
+weight = 60
 
 +++
 

+ 14 - 0
exampleSite/content/talk/example-talk.md

@@ -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.