From 43b360627f81ebe2b50f586177694fd91bae8374 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 28 Dec 2020 23:35:36 +0000 Subject: modules: update - add support for any event type --- content/event/_index.md | 14 +++++++ content/event/example/featured.jpg | Bin 0 -> 620088 bytes content/event/example/index.md | 73 +++++++++++++++++++++++++++++++++++++ content/home/talks.md | 4 +- content/talk/_index.md | 14 ------- content/talk/example/featured.jpg | Bin 620088 -> 0 bytes content/talk/example/index.md | 73 ------------------------------------- 7 files changed, 89 insertions(+), 89 deletions(-) create mode 100644 content/event/_index.md create mode 100644 content/event/example/featured.jpg create mode 100644 content/event/example/index.md delete mode 100644 content/talk/_index.md delete mode 100644 content/talk/example/featured.jpg delete mode 100644 content/talk/example/index.md (limited to 'content') diff --git a/content/event/_index.md b/content/event/_index.md new file mode 100644 index 00000000..aa6e6a8e --- /dev/null +++ b/content/event/_index.md @@ -0,0 +1,14 @@ +--- +title: Recent & Upcoming Talks + +# View. +# 1 = List +# 2 = Compact +# 3 = Card +view: 2 + +# Optional header image (relative to `static/media/` folder). +header: + caption: "" + image: "" +--- diff --git a/content/event/example/featured.jpg b/content/event/example/featured.jpg new file mode 100644 index 00000000..7b16c3c9 Binary files /dev/null and b/content/event/example/featured.jpg differ diff --git a/content/event/example/index.md b/content/event/example/index.md new file mode 100644 index 00000000..dcfcc4c7 --- /dev/null +++ b/content/event/example/index.md @@ -0,0 +1,73 @@ +--- +title: Example Talk + +event: Wowchemy Conference +event_url: https://example.org + +location: Wowchemy HQ +address: + street: 450 Serra Mall + city: Stanford + region: CA + postcode: '94305' + country: United States + +summary: An example talk using Wowchemy's Markdown slides feature. +abstract: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellusac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam." + +# Talk start and end times. +# End time can optionally be hidden by prefixing the line with `#`. +date: "2030-06-01T13:00:00Z" +date_end: "2030-06-01T15:00:00Z" +all_day: false + +# Schedule page publish date (NOT talk date). +publishDate: "2017-01-01T00:00:00Z" + +authors: [] +tags: [] + +# Is this a featured talk? (true/false) +featured: false + +image: + caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/bzdhc5b3Bxs)' + focal_point: Right + +links: +- icon: twitter + icon_pack: fab + name: Follow + url: https://twitter.com/georgecushen +url_code: "" +url_pdf: "" +url_slides: "" +url_video: "" + +# Markdown Slides (optional). +# Associate this talk with Markdown slides. +# Simply enter your slide deck's filename without extension. +# E.g. `slides = "example-slides"` references `content/slides/example-slides.md`. +# Otherwise, set `slides = ""`. +slides: example + +# Projects (optional). +# Associate this post with one or more of your projects. +# Simply enter your project's folder or file name without extension. +# E.g. `projects = ["internal-project"]` references `content/project/deep-learning/index.md`. +# Otherwise, set `projects = []`. +projects: +- example +--- + +{{% callout note %}} +Click on the **Slides** button above to view the built-in slides feature. +{{% /callout %}} + +Slides can be added in a few ways: + +- **Create** slides using Wowchemy's [*Slides*](https://wowchemy.com/docs/managing-content/#create-slides) feature and link using `slides` parameter in the front matter of the talk file +- **Upload** an existing slide deck to `static/` and link using `url_slides` parameter in the front matter of the talk file +- **Embed** your slides (e.g. Google Slides) or presentation video on this page using [shortcodes](https://wowchemy.com/docs/writing-markdown-latex/). + +Further event details, including [page elements](https://wowchemy.com/docs/writing-markdown-latex/) such as image galleries, can be added to the body of this page. diff --git a/content/home/talks.md b/content/home/talks.md index 600fd6e9..4bcc2ead 100644 --- a/content/home/talks.md +++ b/content/home/talks.md @@ -13,8 +13,8 @@ title: 'Recent & Upcoming Talks' subtitle: content: - # Page type to display. E.g. post, talk, publication... - page_type: talk + # Page type to display. E.g. post, event, publication... + page_type: event # Choose how many pages you would like to display (0 = all pages) count: 5 # Filter on criteria diff --git a/content/talk/_index.md b/content/talk/_index.md deleted file mode 100644 index aa6e6a8e..00000000 --- a/content/talk/_index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Recent & Upcoming Talks - -# View. -# 1 = List -# 2 = Compact -# 3 = Card -view: 2 - -# Optional header image (relative to `static/media/` folder). -header: - caption: "" - image: "" ---- diff --git a/content/talk/example/featured.jpg b/content/talk/example/featured.jpg deleted file mode 100644 index 7b16c3c9..00000000 Binary files a/content/talk/example/featured.jpg and /dev/null differ diff --git a/content/talk/example/index.md b/content/talk/example/index.md deleted file mode 100644 index dcfcc4c7..00000000 --- a/content/talk/example/index.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: Example Talk - -event: Wowchemy Conference -event_url: https://example.org - -location: Wowchemy HQ -address: - street: 450 Serra Mall - city: Stanford - region: CA - postcode: '94305' - country: United States - -summary: An example talk using Wowchemy's Markdown slides feature. -abstract: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellusac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam." - -# Talk start and end times. -# End time can optionally be hidden by prefixing the line with `#`. -date: "2030-06-01T13:00:00Z" -date_end: "2030-06-01T15:00:00Z" -all_day: false - -# Schedule page publish date (NOT talk date). -publishDate: "2017-01-01T00:00:00Z" - -authors: [] -tags: [] - -# Is this a featured talk? (true/false) -featured: false - -image: - caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/bzdhc5b3Bxs)' - focal_point: Right - -links: -- icon: twitter - icon_pack: fab - name: Follow - url: https://twitter.com/georgecushen -url_code: "" -url_pdf: "" -url_slides: "" -url_video: "" - -# Markdown Slides (optional). -# Associate this talk with Markdown slides. -# Simply enter your slide deck's filename without extension. -# E.g. `slides = "example-slides"` references `content/slides/example-slides.md`. -# Otherwise, set `slides = ""`. -slides: example - -# Projects (optional). -# Associate this post with one or more of your projects. -# Simply enter your project's folder or file name without extension. -# E.g. `projects = ["internal-project"]` references `content/project/deep-learning/index.md`. -# Otherwise, set `projects = []`. -projects: -- example ---- - -{{% callout note %}} -Click on the **Slides** button above to view the built-in slides feature. -{{% /callout %}} - -Slides can be added in a few ways: - -- **Create** slides using Wowchemy's [*Slides*](https://wowchemy.com/docs/managing-content/#create-slides) feature and link using `slides` parameter in the front matter of the talk file -- **Upload** an existing slide deck to `static/` and link using `url_slides` parameter in the front matter of the talk file -- **Embed** your slides (e.g. Google Slides) or presentation video on this page using [shortcodes](https://wowchemy.com/docs/writing-markdown-latex/). - -Further event details, including [page elements](https://wowchemy.com/docs/writing-markdown-latex/) such as image galleries, can be added to the body of this page. -- cgit v1.2.3