diff options
Diffstat (limited to 'zola-static/templates')
| -rw-r--r-- | zola-static/templates/index.html | 6 | ||||
| -rw-r--r-- | zola-static/templates/project-list.html | 2 | ||||
| -rw-r--r-- | zola-static/templates/project-page.html | 2 |
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> |
