diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 55 | ||||
| -rw-r--r-- | templates/template.html | 3 | 
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> | 
