aboutsummaryrefslogtreecommitdiff
path: root/zola-static/templates
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-12-26 11:42:37 -0500
committerJack Jamison <jackqjamison@gmail.com>2025-12-26 11:42:37 -0500
commitbe3a5f44a4eba7ca68839e1456553d5cc7399395 (patch)
treef81565642797ade0a50f0176eff8fb7fc1d57132 /zola-static/templates
parent2bd6bf30e85166bbd75379ba3e9213cffe28a08f (diff)
page directories
Diffstat (limited to 'zola-static/templates')
-rw-r--r--zola-static/templates/index.html6
-rw-r--r--zola-static/templates/project-list.html2
-rw-r--r--zola-static/templates/project-page.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/zola-static/templates/index.html b/zola-static/templates/index.html
index 4058dff..668bb54 100644
--- a/zola-static/templates/index.html
+++ b/zola-static/templates/index.html
@@ -11,9 +11,9 @@
<div class="index-section">
<h2>Projects</h2>
<ul>
- <li><a href="{{ get_url(path='@/projects/connection-machine.md') }}">Connection Machine Logic Simulator</a></li>
- <li><a href="{{ get_url(path='@/projects/swenu.md') }}">Swenu Wayland Menu</a></li>
- <li><a href="{{ get_url(path='@/projects/string-sniper.md') }}">Ghidra String Sniper</a></li>
+ <li><a href="{{ get_url(path='@/projects/connection-machine/index.md') }}">Connection Machine Logic Simulator</a></li>
+ <li><a href="{{ get_url(path='@/projects/swenu/index.md') }}">Swenu Wayland Menu</a></li>
+ <li><a href="{{ get_url(path='@/projects/string-sniper/index.md') }}">Ghidra String Sniper</a></li>
</ul>
<b><a href="{{ get_url(path='@/projects/_index.md') }}">View More</a></b>
</div>
diff --git a/zola-static/templates/project-list.html b/zola-static/templates/project-list.html
index 50a9677..c361e52 100644
--- a/zola-static/templates/project-list.html
+++ b/zola-static/templates/project-list.html
@@ -9,7 +9,7 @@
You need to use the paginator object -->
{% for page in section.pages %}
<div class="index-section project-section">
- <a href="{{ page.permalink | safe }}"><h2>{{ page.title }}</h2><img src="/images/projects/{{ page.extra.cover }}" alt="{{ page.title }}"></a>
+ <a href="{{ page.permalink | safe }}"><h2>{{ page.title }}</h2><img src="{{ page.path ~ 'cover.png' }}" alt="{{ page.title }}"></a>
</div>
{% endfor %}
{% endblock content %}
diff --git a/zola-static/templates/project-page.html b/zola-static/templates/project-page.html
index f152c2b..f857fcf 100644
--- a/zola-static/templates/project-page.html
+++ b/zola-static/templates/project-page.html
@@ -17,7 +17,7 @@
{% endblock header %}
{% block content %}
-<img src="/images/projects/{{ page.extra.cover }}" alt="{{ page.title }}">
+<img src="{{ page.path ~ 'cover.png' }}" alt="{{ page.title }}">
{{ page.content | safe }}
{% if page.extra.youtube_id %}
<iframe class="youtube" src="https://www.youtube.com/embed/{{ page.extra.youtube_id }}" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>