From 78e7147b3d3c272b5b9b5a4489c3096492244115 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 11 Dec 2020 02:48:57 +0000 Subject: feat: add publication to default tpl As users regularly ask how to get the example content. Also, update modules to fix JS error RE no filter toolbar. --- content/publication/example/cite.bib | 8 ++ content/publication/example/example.pdf | Bin 0 -> 15043 bytes content/publication/example/featured.jpg | Bin 0 -> 312700 bytes content/publication/example/index.md | 87 +++++++++++++++++++++ .../content/publication/conference-paper/index.md | 13 ++- .../content/publication/journal-article/index.md | 12 +-- exampleSite/content/publication/preprint/index.md | 8 +- exampleSite/go.mod | 2 +- exampleSite/go.sum | 4 +- go.mod | 4 +- go.sum | 8 +- 11 files changed, 120 insertions(+), 26 deletions(-) create mode 100644 content/publication/example/cite.bib create mode 100644 content/publication/example/example.pdf create mode 100644 content/publication/example/featured.jpg create mode 100644 content/publication/example/index.md diff --git a/content/publication/example/cite.bib b/content/publication/example/cite.bib new file mode 100644 index 00000000..98c37482 --- /dev/null +++ b/content/publication/example/cite.bib @@ -0,0 +1,8 @@ +@inproceedings{example1, + title={An example conference paper}, + author={Bighetti, Nelson and Ford, Robert}, + booktitle={Source Themes Conference}, + pages={1--6}, + year={2013}, + organization={IEEE} +} diff --git a/content/publication/example/example.pdf b/content/publication/example/example.pdf new file mode 100644 index 00000000..747064e2 Binary files /dev/null and b/content/publication/example/example.pdf differ diff --git a/content/publication/example/featured.jpg b/content/publication/example/featured.jpg new file mode 100644 index 00000000..2ebab27a Binary files /dev/null and b/content/publication/example/featured.jpg differ diff --git a/content/publication/example/index.md b/content/publication/example/index.md new file mode 100644 index 00000000..27e533df --- /dev/null +++ b/content/publication/example/index.md @@ -0,0 +1,87 @@ +--- +title: "An example conference paper" + +# Authors +# If you created a profile for a user (e.g. the default `admin` user), write the username (folder name) here +# and it will be replaced with their full name and linked to their profile. +authors: +- admin +- Robert Ford + +# Author notes (optional) +author_notes: +- "Equal contribution" +- "Equal contribution" + +date: "2013-07-01T00:00:00Z" +doi: "" + +# Schedule page publish date (NOT publication's date). +publishDate: "2017-01-01T00:00:00Z" + +# Publication type. +# Legend: 0 = Uncategorized; 1 = Conference paper; 2 = Journal article; +# 3 = Preprint / Working Paper; 4 = Report; 5 = Book; 6 = Book section; +# 7 = Thesis; 8 = Patent +publication_types: ["1"] + +# Publication name and optional abbreviated publication name. +publication: In *Wowchemy Conference* +publication_short: In *ICW* + +abstract: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac 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. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida. + +# Summary. An optional shortened abstract. +summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. + +tags: [] + +# Display this page in the Featured widget? +featured: true + +# Custom links (uncomment lines below) +# links: +# - name: Custom Link +# url: http://example.org + +url_pdf: '' +url_code: '' +url_dataset: '' +url_poster: '' +url_project: '' +url_slides: '' +url_source: '' +url_video: '' + +# Featured image +# To use, add an image named `featured.jpg/png` to your page's folder. +image: + caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/pLCdAaMFLTE)' + focal_point: "" + preview_only: false + +# Associated Projects (optional). +# Associate this publication with one or more of your projects. +# Simply enter your project's folder or file name without extension. +# E.g. `internal-project` references `content/project/internal-project/index.md`. +# Otherwise, set `projects: []`. +projects: +- example + +# Slides (optional). +# Associate this publication with Markdown slides. +# Simply enter your slide deck's filename without extension. +# E.g. `slides: "example"` references `content/slides/example/index.md`. +# Otherwise, set `slides: ""`. +slides: example +--- + +{{% callout note %}} +Click the *Cite* button above to demo the feature to enable visitors to import publication metadata into their reference management software. +{{% /callout %}} + +{{% callout note %}} +Create your slides in Markdown - click the *Slides* button to check out the example. +{{% /callout %}} + +Supplementary notes can be added here, including [code, math, and images](https://wowchemy.com/docs/writing-markdown-latex/). diff --git a/exampleSite/content/publication/conference-paper/index.md b/exampleSite/content/publication/conference-paper/index.md index 338f606a..ac9052f4 100644 --- a/exampleSite/content/publication/conference-paper/index.md +++ b/exampleSite/content/publication/conference-paper/index.md @@ -63,13 +63,12 @@ projects: slides: example --- -{{% alert note %}} +{{% callout note %}} Click the *Cite* button above to demo the feature to enable visitors to import publication metadata into their reference management software. -{{% /alert %}} +{{% /callout %}} -{{% alert note %}} -Click the *Slides* button above to demo Academic's Markdown slides feature. -{{% /alert %}} - -Supplementary notes can be added here, including [code and math](https://sourcethemes.com/academic/docs/writing-markdown-latex/). +{{% callout note %}} +Create your slides in Markdown - click the *Slides* button to check out the example. +{{% /callout %}} +Supplementary notes can be added here, including [code, math, and images](https://wowchemy.com/docs/writing-markdown-latex/). diff --git a/exampleSite/content/publication/journal-article/index.md b/exampleSite/content/publication/journal-article/index.md index cd4c1dad..87fa4583 100644 --- a/exampleSite/content/publication/journal-article/index.md +++ b/exampleSite/content/publication/journal-article/index.md @@ -65,12 +65,12 @@ projects: [] slides: example --- -{{% alert note %}} +{{% callout note %}} Click the *Cite* button above to demo the feature to enable visitors to import publication metadata into their reference management software. -{{% /alert %}} +{{% /callout %}} -{{% alert note %}} -Click the *Slides* button above to demo Academic's Markdown slides feature. -{{% /alert %}} +{{% callout note %}} +Create your slides in Markdown - click the *Slides* button to check out the example. +{{% /callout %}} -Supplementary notes can be added here, including [code and math](https://sourcethemes.com/academic/docs/writing-markdown-latex/). +Supplementary notes can be added here, including [code, math, and images](https://wowchemy.com/docs/writing-markdown-latex/). diff --git a/exampleSite/content/publication/preprint/index.md b/exampleSite/content/publication/preprint/index.md index 6a1b610f..7d0c5461 100644 --- a/exampleSite/content/publication/preprint/index.md +++ b/exampleSite/content/publication/preprint/index.md @@ -62,8 +62,8 @@ projects: slides: example --- -{{% alert note %}} -Click the *Slides* button above to demo Academic's Markdown slides feature. -{{% /alert %}} +{{% callout note %}} +Create your slides in Markdown - click the *Slides* button to check out the example. +{{% /callout %}} -Supplementary notes can be added here, including [code and math](https://sourcethemes.com/academic/docs/writing-markdown-latex/). +Supplementary notes can be added here, including [code, math, and images](https://wowchemy.com/docs/writing-markdown-latex/). diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 17989e09..9ca668c1 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -2,4 +2,4 @@ module github.com/wowchemy/starter-academic/exampleSite go 1.15 -require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201208221717-1d5456668842 // indirect +require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum index 87006a91..b2968bd9 100644 --- a/exampleSite/go.sum +++ b/exampleSite/go.sum @@ -1,2 +1,2 @@ -github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201208221717-1d5456668842 h1:g/Oo9m83/tVJWS37Rto64KveEMXdtRw2MlQWu28zKwM= -github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201208221717-1d5456668842/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d h1:s1Eo9hqvzzN6I+jpx4/GG4yTwCh/26MnZaPvdqrqbis= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8= diff --git a/go.mod b/go.mod index f219a744..04256396 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module github.com/wowchemy/starter-academic go 1.15 require ( - github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201208221717-1d5456668842 // indirect - github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201208221717-1d5456668842 + github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201211023654-f6090cd7e55d // indirect + github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d ) diff --git a/go.sum b/go.sum index c5505f6f..ea28c9b8 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ -github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201208221717-1d5456668842 h1:G4vgJKPV3u3/nMo6oeNGrzMtuNAT0nDRDrRirBL8y7Q= -github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201208221717-1d5456668842/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY= -github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201208221717-1d5456668842 h1:g/Oo9m83/tVJWS37Rto64KveEMXdtRw2MlQWu28zKwM= -github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201208221717-1d5456668842/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8= +github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201211023654-f6090cd7e55d h1:o3oXxH4+9fTBcBVJ5hAiFCJjJ5ZyQZV7glQJZLJeHc8= +github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201211023654-f6090cd7e55d/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d h1:s1Eo9hqvzzN6I+jpx4/GG4yTwCh/26MnZaPvdqrqbis= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8= -- cgit v1.2.3