From 5a3d3d14ae6114a9a6db3aef5a4055f065ec3f8c Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Sun, 9 Apr 2023 22:45:07 +0200 Subject: [PATCH] Add two more images to the gallery --- data/gallery.yaml | 34 +++++++++++++++++----------------- templates/gallery.html | 21 ++++++++------------- 2 files changed, 25 insertions(+), 30 deletions(-) diff --git a/data/gallery.yaml b/data/gallery.yaml index 1950ee9..a36f381 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 0f5750f..f290aca 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> -- GitLab