From fbcc2ae87b651db7529bc26828948ad0baa39a0e Mon Sep 17 00:00:00 2001 From: pfasante Date: Tue, 27 Dec 2016 00:15:14 +0100 Subject: [PATCH] talks: Fix archetype and add example to exampleSite (#68) --- archetypes/talk.md | 1 + exampleSite/content/home/contact.md | 2 +- exampleSite/content/home/posts.md | 2 +- exampleSite/content/home/projects.md | 2 +- exampleSite/content/home/talks.md | 22 ++++++++++++++++++++++ exampleSite/content/home/teaching.md | 2 +- exampleSite/content/talk/example-talk.md | 14 ++++++++++++++ 7 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 exampleSite/content/home/talks.md create mode 100644 exampleSite/content/talk/example-talk.md diff --git a/archetypes/talk.md b/archetypes/talk.md index a5b877e3..ddc5ffc5 100644 --- a/archetypes/talk.md +++ b/archetypes/talk.md @@ -3,6 +3,7 @@ math = false title = "" abstract = "" abstract_short = "" +event = "" selected = false url_pdf = "" url_slides = "" diff --git a/exampleSite/content/home/contact.md b/exampleSite/content/home/contact.md index bf83e04c..d5ef648b 100644 --- a/exampleSite/content/home/contact.md +++ b/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 diff --git a/exampleSite/content/home/posts.md b/exampleSite/content/home/posts.md index bbbaa638..83c33e8b 100644 --- a/exampleSite/content/home/posts.md +++ b/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 = [] diff --git a/exampleSite/content/home/projects.md b/exampleSite/content/home/projects.md index ed02d4d4..0a0c8882 100644 --- a/exampleSite/content/home/projects.md +++ b/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. diff --git a/exampleSite/content/home/talks.md b/exampleSite/content/home/talks.md new file mode 100644 index 00000000..be34468d --- /dev/null +++ b/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 + ++++ + diff --git a/exampleSite/content/home/teaching.md b/exampleSite/content/home/teaching.md index f091b63f..d96b8ef0 100644 --- a/exampleSite/content/home/teaching.md +++ b/exampleSite/content/home/teaching.md @@ -10,7 +10,7 @@ subtitle = "" widget = "custom" # Order that this section will appear in. -weight = 50 +weight = 60 +++ diff --git a/exampleSite/content/talk/example-talk.md b/exampleSite/content/talk/example-talk.md new file mode 100644 index 00000000..8c1c7b6f --- /dev/null +++ b/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.