summaryrefslogtreecommitdiff
path: root/templates/oreily-memes.html.j2
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2019-09-29 18:35:42 +0300
committerOxore <oxore@protonmail.com>2019-09-29 18:35:42 +0300
commit057ccd0a39eaf7ef3c9e6cf3e70044cac14c6bcf (patch)
tree3380d4ce978fb308aedc5d7f9a10c20b58cad070 /templates/oreily-memes.html.j2
parent891a08d3543c7ee09bc81ba57fe1c8bc0642fe62 (diff)
Implement basic template based static page generator
Diffstat (limited to 'templates/oreily-memes.html.j2')
-rw-r--r--templates/oreily-memes.html.j222
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/oreily-memes.html.j2 b/templates/oreily-memes.html.j2
new file mode 100644
index 0000000..b1a8ce0
--- /dev/null
+++ b/templates/oreily-memes.html.j2
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>O'Reily Memes</title>
+ <style>
+ img.meme {width: 24%;}
+ </style>
+ </head>
+ <body>
+
+ <h1>O'Reily Memes</h1>
+ <p>{% for meme in memes %}
+ <a href="{{ meme.orig }}"><img class=meme src="{{ meme.thumb }}"></a>{% endfor %}
+ </p>
+
+ <h1>Related links</h1>
+ <p>
+ <a href="https://www.reddit.com/r/orlybooks/">r/orlybooks/</a>
+ </p>
+
+ </body>
+</html>