diff --git a/data/gallery.yaml b/data/gallery.yaml index 1950ee91b30da8b6b59cc341e840781f2d465230..a36f381c3da762f85991c450a73c5a28685bef58 100644 --- a/data/gallery.yaml +++ b/data/gallery.yaml @@ -9,23 +9,13 @@ cards: author: Yves Revaz img: GEAR_v1.png description: "TBD" - links: - - href: "SPHERIC_2018.pdf" - name: Slides - - href: "https://arxiv.org/abs/1807.01341" - name: Paper - date: June 2022 title: "Moon formation simulation" author: Jacob Kegerreis img: moon_simulation_jacob.png description: "TBD" - links: - - href: "SPHERIC_2018.pdf" - name: Slides - - href: "https://arxiv.org/abs/1807.01341" - name: Paper - + link: "https://arxiv.org/abs/2210.01814" - date: March 2022 title: "Gas 'shockiness' in galaxy cluster" @@ -33,11 +23,21 @@ cards: thumbnail: Cluster_Stuart_thumbnail.png img: Cluster_Stuart.png description: "TBD" - links: - - href: "SPHERIC_2018.pdf" - name: Slides - - href: "https://arxiv.org/abs/1807.01341" - name: Paper - + + - date: September 2019 + title: "PMillennium re-simulation" + author: Matthieu Schaller, Stuart McAlpine + thumbnail: PMillennium_evolution_thumbnail.jpg + img: PMillennium_evolution.png + description: "TBD" + + - date: December 2018 + title: "Santa-Barbara Cluster" + author: Matthieu Schaller, Josh Borrow + thumbnail: santa_barbara_thumbnail.jpg + img: santa_barbara.png + description: "TBD" + link: "https://arxiv.org/abs/astro-ph/9906160" + diff --git a/templates/gallery.html b/templates/gallery.html index 0f5750f26fff50fea020d96db945c8bbfa589f99..f290aca23f35b63e4508950201f428a3ca744e66 100644 --- a/templates/gallery.html +++ b/templates/gallery.html @@ -9,19 +9,13 @@ <div class="container"> {{ helper.navbar(navbar, link) }} - <!-- <div class="text"> --> - <!-- <h2>Image and Movie Gallery</h2> --> - <!-- </div> --> - - <!-- <div class="content"> --> + <div class="text"> + <h2>Image and Movie Gallery</h2> + </div> - <!-- <div class="text"> --> - <!-- {{ markdown_content }} --> - <!-- </div> --> + <div class="padder"></div> - <!-- <div class="padder"></div> --> - - <div class="cards"> + <div class="cards"> {% for card in cards|sort_cards %} <div class="gallery-card"> <div class="card-content"> @@ -48,8 +42,9 @@ <p class="abstract card">{{ card.description }}</p> </div> {% endif %} - - + {% if card.link %} + <a href="{{ card.link }}">Related publication</a> + {% endif %} </div> </div> </div>