get ducked!

This commit is contained in:
2023-04-23 21:26:35 -05:00
parent 726ff889c3
commit 2925a7c8e9
3 changed files with 35 additions and 17 deletions

View File

@@ -22,5 +22,11 @@
"title": "Andrew Simonson - Bookshelf",
"description": "Some of the books I've read",
"canonical": "/books"
},
"duck": {
"template": "duck.html",
"title":"You've been ducked!",
"description": "Face it, you've been ducked",
"canonical": "/duck"
}
}

10
src/templates/duck.html Normal file
View File

@@ -0,0 +1,10 @@
{% block content %}
<div class="foreground">
<h2>What the duck?</h2>
<img
alt="mega spinney duck"
src="{{ url_for('static', filename='photos/gifs/duck-spinning.gif') }}"
/>
<h3>Stop disturbing the duck, can't you see he's busy spinning?</h3>
</div>
{% endblock %}

View File

@@ -22,6 +22,7 @@
{% from 'partials/bookshelf.html' import bookshelf %} {{
bookshelf(var.books) }}
<br />
<a href="/duck">
<div class="flex">
<img
alt="duck spinning"
@@ -39,6 +40,7 @@
class="smallImg"
/>
</div>
</a>
</div>
</div>
</div>