add blogpost and cdn chall

This commit is contained in:
Jonathan committed 2025-10-10 22:34:43 +07:00
1 parent ea02892f14
commit 2d51b73a1e
47 files changed
+1904

No files matched your search

@@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block content %}
<article class="post">
<h2>{{ post.title }}</h2>
<img class="full" src="{{ url_for('cdn_serve', filename=post.filename) }}" alt="" />
<details class="desc">
<summary>Delivery details</summary>
<p>Static CDN reference: <code>/i/{{ post.filename }}</code></p>
<p>Uploaded at: <code>{{ post.created_at }}</code></p>
</details>
<template id="internal-meta" hidden>{{ metadata_snippet or '' }}</template>
</article>
{% endblock %}