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.
This commit is contained in:
George Cushen 2020-12-11 02:48:57 +00:00
parent 0d7399e14d
commit 78e7147b3d
11 changed files with 120 additions and 26 deletions

View file

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

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

4
go.mod
View file

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

8
go.sum
View file

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