aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2021-03-06 01:50:05 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2021-03-06 01:50:05 +0000
commit7cc501c5efde9da7c5e4dbfd854cdeb80a8e0ce9 (patch)
treed44c8d2ece059ba9e3f497b95817380e0d19cf1b /templates
parent287034916bef5878a5565aec4141216fa6f133e6 (diff)
downloadboymoder.blog-7cc501c5efde9da7c5e4dbfd854cdeb80a8e0ce9.tar.gz
boymoder.blog-7cc501c5efde9da7c5e4dbfd854cdeb80a8e0ce9.zip
added twitter on index page
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html55
-rw-r--r--templates/template.html3
2 files changed, 28 insertions, 30 deletions
diff --git a/templates/index.html b/templates/index.html
index 93138d0..d79743b 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,31 +1,28 @@
{% extends "template.html" %}
{% block content %}
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- <p>Haiiiiiiii, this is the index page uwu</p>
- {% endblock %} \ No newline at end of file
+ <aside>
+ <section id="recent thoughts">
+ <h4>recent thoughts:</h4>
+ <ul>
+ {% for id_, title in featured_thoughts %}
+ <li><a href={{"/thought?id=%i" % id_}}>title</a></li>
+ {% endfor %}
+ </ul>
+ </section>
+ </aside>
+ {{markdown|safe}}
+ {% if tweets != None %}
+ <section id="recent_tweets">
+ <h1>recent tweets</h1>
+ <ul>
+ {% for url, text in tweets %}
+ {% if text == None %}
+ <li><a href={{url}}>[image only]</a></li>
+ {% else %}
+ <li><a href={{url}}>{{text}}</a></li>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ </section>
+ {% endif %}
+{% endblock %} \ No newline at end of file
diff --git a/templates/template.html b/templates/template.html
index afbeefe..fd65cdb 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -2,7 +2,8 @@
<html>
<head>
<link rel='stylesheet' href="{{url_for('static', filename='style.css')}}">
- <title>edaweb :: {{title}}</title>
+ <link rel="shortcut icon" href="/img/greenboi.jpg?h=16&w=16">
+ <title>eda.gay :: {{title}}</title>
</head>
<body>
<div id=wrapper>