summaryrefslogtreecommitdiff
path: root/app/templates/index.html
diff options
context:
space:
mode:
authorDylan Bolger <dylan.bolger00@gmail.com>2026-08-18 11:44:36 -0500
committerDylan Bolger <dylan.bolger00@gmail.com>2026-08-18 11:44:36 -0500
commit04892822306bf9a01de19cc70bcfc59d7fca9f8f (patch)
treefcc8bc92c5a15b669a657561dfe2ac7e14c72857 /app/templates/index.html
parenteead346519758f45dd587cfd471f90f6a6a8037f (diff)
downloadphotoblog-04892822306bf9a01de19cc70bcfc59d7fca9f8f.tar.xz
photoblog-04892822306bf9a01de19cc70bcfc59d7fca9f8f.zip
move from fastapi to flask, various cleanups involved
Diffstat (limited to 'app/templates/index.html')
-rw-r--r--app/templates/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
index 991088a..a489c5e 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://dbolger.dev/assets/css/main.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
- <link rel="stylesheet" href="{{ url_for('static', path='index.css') }}">
+ <link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<title>Dylan's Photo Blog</title>
</head>
@@ -31,8 +31,8 @@
<main class="gallery">
{% for img in images %}
<div class="gallery-item">
- <a href="{{ url_for('photos', path=img) }}">
- <img src="{{ url_for('photos', path=img) }}" alt="" loading="lazy">
+ <a href="{{ url_for('static', filename=img) }}">
+ <img src="{{ url_for('static', filename=img) }}" alt="" loading="lazy">
</a>
</div>
{% endfor %}