Small fix

This commit is contained in:
Yan Lin 2025-06-09 16:41:34 +02:00
parent 1f1e944852
commit ebf420f795
6 changed files with 12 additions and 20 deletions

View file

@ -20,7 +20,7 @@
<div class="col-2"> <div class="col-2">
<a class="link-secondary header-icon mx-2 px-2 py-0 my-0 h4 d-flex align-items-center" href="/"> <a class="link-secondary header-icon mx-2 py-0 my-0 h4 d-flex align-items-center" href="/">
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-house-fill" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-house-fill" viewBox="0 0 16 16">
<path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z"/> <path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z"/>
<path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z"/> <path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z"/>

View file

@ -20,7 +20,7 @@
<div class="col-2"> <div class="col-2">
<a class="link-secondary header-icon mx-2 px-2 py-0 my-0 h4 d-flex align-items-center" href="/"> <a class="link-secondary header-icon mx-2 py-0 my-0 h4 d-flex align-items-center" href="/">
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-house-fill" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-house-fill" viewBox="0 0 16 16">
<path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z"/> <path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z"/>
<path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z"/> <path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z"/>
@ -78,8 +78,7 @@
<article class="section mt-4"> <article class="section mt-4">
<h3 class="section-title mb-3"><i class="bi bi-star-fill"></i> Primary Projects</h3> <div class="list-group list-group-flush">
<div class="list-group list-group-flush mb-4">
<div class="list-group-item px-0"> <div class="list-group-item px-0">
@ -135,8 +134,7 @@
</div> </div>
<hr class="my-2" />
<h3 class="section-title mb-3 mt-4"><i class="bi bi-star"></i> Secondary Projects</h3>
<div class="list-group list-group-flush"> <div class="list-group list-group-flush">

View file

@ -20,7 +20,7 @@
<div class="col-2"> <div class="col-2">
<a class="link-secondary header-icon mx-2 px-2 py-0 my-0 h4 d-flex align-items-center" href="/"> <a class="link-secondary header-icon mx-2 py-0 my-0 h4 d-flex align-items-center" href="/">
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-house-fill" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-house-fill" viewBox="0 0 16 16">
<path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z"/> <path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z"/>
<path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z"/> <path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z"/>
@ -78,8 +78,7 @@
<article class="section mt-4"> <article class="section mt-4">
<h3 class="section-title mb-3"><i class="bi bi-star-fill"></i> Primary Publications</h3> <div class="list-group list-group-flush">
<div class="list-group list-group-flush mb-4">
<div class="list-group-item px-0"> <div class="list-group-item px-0">
@ -278,8 +277,7 @@
</div> </div>
<hr class="my-2" />
<h3 class="section-title mb-3 mt-4"><i class="bi bi-star"></i> Secondary Publications</h3>
<div class="list-group list-group-flush"> <div class="list-group list-group-flush">

View file

@ -28,7 +28,7 @@
</svg> </svg>
</a> </a>
{% else %} {% else %}
<a class="link-secondary header-icon mx-2 px-2 py-0 my-0 h4 d-flex align-items-center" href="/"> <a class="link-secondary header-icon mx-2 py-0 my-0 h4 d-flex align-items-center" href="/">
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-house-fill" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-house-fill" viewBox="0 0 16 16">
<path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z"/> <path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z"/>
<path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z"/> <path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z"/>

View file

@ -10,16 +10,14 @@
{% block content %} {% block content %}
<article class="section mt-4"> <article class="section mt-4">
<h3 class="section-title mb-3"><i class="bi bi-star-fill"></i> Primary Projects</h3> <div class="list-group list-group-flush">
<div class="list-group list-group-flush mb-4">
{% for project in data.primaryProjects %} {% for project in data.primaryProjects %}
{% with type='primary' %} {% with type='primary' %}
{% include 'partials/project.html' %} {% include 'partials/project.html' %}
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
</div> </div>
<hr class="my-2" />
<h3 class="section-title mb-3 mt-4"><i class="bi bi-star"></i> Secondary Projects</h3>
<div class="list-group list-group-flush"> <div class="list-group list-group-flush">
{% for project in data.secondaryProjects %} {% for project in data.secondaryProjects %}
{% with type='secondary' %} {% with type='secondary' %}

View file

@ -10,16 +10,14 @@
{% block content %} {% block content %}
<article class="section mt-4"> <article class="section mt-4">
<h3 class="section-title mb-3"><i class="bi bi-star-fill"></i> Primary Publications</h3> <div class="list-group list-group-flush">
<div class="list-group list-group-flush mb-4">
{% for pub in data.primaryPublications %} {% for pub in data.primaryPublications %}
{% with type='primary' %} {% with type='primary' %}
{% include 'partials/publication.html' %} {% include 'partials/publication.html' %}
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
</div> </div>
<hr class="my-2" />
<h3 class="section-title mb-3 mt-4"><i class="bi bi-star"></i> Secondary Publications</h3>
<div class="list-group list-group-flush"> <div class="list-group list-group-flush">
{% for pub in data.secondaryPublications %} {% for pub in data.secondaryPublications %}
{% with type='secondary' %} {% with type='secondary' %}