From cc2f486514fe285f3c90df65976fdaf843d32f55 Mon Sep 17 00:00:00 2001 From: rjzupkoii Date: Sat, 17 Feb 2024 16:56:30 -0500 Subject: [PATCH] Closes #693 with updates to documentation and location of citation --- _layouts/single.html | 17 ++++++++--------- .../2009-10-01-paper-title-number-1.md | 5 +---- .../2010-10-01-paper-title-number-2.md | 5 +---- .../2015-10-01-paper-title-number-3.md | 5 +---- .../2024-02-17-paper-title-number-4.md | 12 ++++++++++++ 5 files changed, 23 insertions(+), 21 deletions(-) create mode 100644 _publications/2024-02-17-paper-title-number-4.md diff --git a/_layouts/single.html b/_layouts/single.html index eb465b6bbeb73..acbd8e577423e 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -40,20 +40,19 @@

Published in {{ page.venue }}, {{ page.date | default: "1900-01-01" | date: "%Y" }}

{% elsif page.date %}

{{ site.data.ui-text[site.locale].date_label | default: "Published:" }}

- {% endif %} - - - {% if page.citation and page.paperurl %} -

Recommended citation: {{ page.citation }} {{ page.paperurl }}

- {% elsif page.citation %} -

Recommended citation: {{ page.citation }}

- {% endif %} - + {% endif %} {% endunless %}
{{ content }} + + {% if page.citation and page.paperurl %} +

Recommended citation: {{ page.citation }} {{ page.paperurl }}

+ {% elsif page.citation %} +

Recommended citation: {{ page.citation }}

+ {% endif %} + {% if page.link %}
{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}
{% endif %}
diff --git a/_publications/2009-10-01-paper-title-number-1.md b/_publications/2009-10-01-paper-title-number-1.md index ca6a157f79022..72801d8810094 100644 --- a/_publications/2009-10-01-paper-title-number-1.md +++ b/_publications/2009-10-01-paper-title-number-1.md @@ -8,8 +8,5 @@ venue: 'Journal 1' paperurl: 'http://academicpages.github.io/files/paper1.pdf' citation: 'Your Name, You. (2009). "Paper Title Number 1." Journal 1. 1(1).' --- -This paper is about the number 1. The number 2 is left for future work. -[Download paper here](http://academicpages.github.io/files/paper1.pdf) - -Recommended citation: Your Name, You. (2009). "Paper Title Number 1." Journal 1. 1(1). \ No newline at end of file +The contents above will be part of a list of publications, if the user clicks the link for the publication than the contents of section will be rendered as a full page, allowing you to provide more information about the paper for the reader. When publications are displayed as a single page, the contents of the above "citation" field will automatically be included below this section in a smaller font. diff --git a/_publications/2010-10-01-paper-title-number-2.md b/_publications/2010-10-01-paper-title-number-2.md index f1be9212ecab4..c4602fbbc1547 100644 --- a/_publications/2010-10-01-paper-title-number-2.md +++ b/_publications/2010-10-01-paper-title-number-2.md @@ -8,8 +8,5 @@ venue: 'Journal 1' paperurl: 'http://academicpages.github.io/files/paper2.pdf' citation: 'Your Name, You. (2010). "Paper Title Number 2." Journal 1. 1(2).' --- -This paper is about the number 2. The number 3 is left for future work. -[Download paper here](http://academicpages.github.io/files/paper2.pdf) - -Recommended citation: Your Name, You. (2010). "Paper Title Number 2." Journal 1. 1(2). \ No newline at end of file +The contents above will be part of a list of publications, if the user clicks the link for the publication than the contents of section will be rendered as a full page, allowing you to provide more information about the paper for the reader. When publications are displayed as a single page, the contents of the above "citation" field will automatically be included below this section in a smaller font. diff --git a/_publications/2015-10-01-paper-title-number-3.md b/_publications/2015-10-01-paper-title-number-3.md index 57e7b8d2a8f5c..1c24711c17850 100644 --- a/_publications/2015-10-01-paper-title-number-3.md +++ b/_publications/2015-10-01-paper-title-number-3.md @@ -8,8 +8,5 @@ venue: 'Journal 1' paperurl: 'http://academicpages.github.io/files/paper3.pdf' citation: 'Your Name, You. (2015). "Paper Title Number 3." Journal 1. 1(3).' --- -This paper is about the number 3. The number 4 is left for future work. -[Download paper here](http://academicpages.github.io/files/paper3.pdf) - -Recommended citation: Your Name, You. (2015). "Paper Title Number 3." Journal 1. 1(3). \ No newline at end of file +The contents above will be part of a list of publications, if the user clicks the link for the publication than the contents of section will be rendered as a full page, allowing you to provide more information about the paper for the reader. When publications are displayed as a single page, the contents of the above "citation" field will automatically be included below this section in a smaller font. diff --git a/_publications/2024-02-17-paper-title-number-4.md b/_publications/2024-02-17-paper-title-number-4.md new file mode 100644 index 0000000000000..90c20f5c65238 --- /dev/null +++ b/_publications/2024-02-17-paper-title-number-4.md @@ -0,0 +1,12 @@ +--- +title: "Paper Title Number 4" +collection: publications +permalink: /publication/2024-02-17-paper-title-number-4 +excerpt: 'This paper is about fixing template issue #693.' +date: 2024-02-17 +venue: 'GitHub Journal of Bugs' +paperurl: 'http://academicpages.github.io/files/paper3.pdf' +citation: 'Your Name, You. (2024). "Paper Title Number 3." GitHub Journal of Bugs. 1(3).' +--- + +The contents above will be part of a list of publications, if the user clicks the link for the publication than the contents of section will be rendered as a full page, allowing you to provide more information about the paper for the reader. When publications are displayed as a single page, the contents of the above "citation" field will automatically be included below this section in a smaller font.