Skip to content

Commit

Permalink
#7 Separate featured publications on the home page from publications …
Browse files Browse the repository at this point in the history
…on the publications page
  • Loading branch information
LeNPaul committed Apr 28, 2021
1 parent 9e7cd5e commit 826737d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
20 changes: 20 additions & 0 deletions _data/publications.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
featured:
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}
- {name: 'Adhesion-induced fingering instabilities in thin elastic films under strain, Benjamin Davis-Purcell, Pierre Soulard, Thomas Salez, Elie Raphael, KDV', url: 'https://arxiv.org/abs/1712.08544'}
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}

index:
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}
- {name: 'Adhesion-induced fingering instabilities in thin elastic films under strain, Benjamin Davis-Purcell, Pierre Soulard, Thomas Salez, Elie Raphael, KDV', url: 'https://arxiv.org/abs/1712.08544'}
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}
- {name: 'Adhesion-induced fingering instabilities in thin elastic films under strain, Benjamin Davis-Purcell, Pierre Soulard, Thomas Salez, Elie Raphael, KDV', url: 'https://arxiv.org/abs/1712.08544'}
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}
- {name: 'Adhesion-induced fingering instabilities in thin elastic films under strain, Benjamin Davis-Purcell, Pierre Soulard, Thomas Salez, Elie Raphael, KDV', url: 'https://arxiv.org/abs/1712.08544'}
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}
- {name: 'Adhesion-induced fingering instabilities in thin elastic films under strain, Benjamin Davis-Purcell, Pierre Soulard, Thomas Salez, Elie Raphael, KDV', url: 'https://arxiv.org/abs/1712.08544'}
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}
- {name: 'Adhesion-induced fingering instabilities in thin elastic films under strain, Benjamin Davis-Purcell, Pierre Soulard, Thomas Salez, Elie Raphael, KDV', url: 'https://arxiv.org/abs/1712.08544'}
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}
- {name: 'Adhesion-induced fingering instabilities in thin elastic films under strain, Benjamin Davis-Purcell, Pierre Soulard, Thomas Salez, Elie Raphael, KDV', url: 'https://arxiv.org/abs/1712.08544'}
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}
- {name: 'Adhesion-induced fingering instabilities in thin elastic films under strain, Benjamin Davis-Purcell, Pierre Soulard, Thomas Salez, Elie Raphael, KDV', url: 'https://arxiv.org/abs/1712.08544'}
6 changes: 1 addition & 5 deletions _data/settings.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
menu:
- {name: 'people', url: ''}
- {name: 'publications', url: 'publications'}
- {name: 'publications', url: '/publications'}
- {name: 'courses', url: ''}
- {name: 'cv', url: ''}
- {name: 'contact', url: ''}

publications:
- {name: 'Pudritz, R.E. & Kevlahan, N.K.-R. 2013 Shock interactions, turbulence and the origin of the stellar mass spectrum. Phil. Trans. R. Soc. A 2013 371, 20120248 doi:10.1098/rsta.2012.0248', url: 'http://ms.mcmaster.ca/kevla/pdf/articles/PhilTransRSoc_2013.pdf'}
- {name: 'Adhesion-induced fingering instabilities in thin elastic films under strain, Benjamin Davis-Purcell, Pierre Soulard, Thomas Salez, Elie Raphael, KDV', url: 'https://arxiv.org/abs/1712.08544'}
8 changes: 7 additions & 1 deletion _includes/publications.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<div class="row g-5 mb-5">
<div>
<h3 class="fw-bold border-bottom pb-3 mb-5">Publications</h3>
{% for item in site.data.settings.publications %}
{% if page.title == "Home" %}
{% for item in site.data.publications.featured %}
<p><a href="{{ item.url }}" class="text-dark text-decoration-none">{{ item.name }}</a></p>
{% endfor %}
{% else %}
{% for item in site.data.publications.index %}
<p><a href="{{ item.url }}" class="text-dark text-decoration-none">{{ item.name }}</a></p>
{% endfor %}
{% endif %}
</div>
</div>

0 comments on commit 826737d

Please sign in to comment.