~vesto/feedon

a8dbfe5da5c9a06ce2ed2182db7d9805e3fb6925 — Steve Gattuso 6 months ago b963a5f
add title to images and fix formatting
2 files changed, 7 insertions(+), 3 deletions(-)

M feedon/templates/feeds/atom.xml
M feedon/templates/layouts/main.html
M feedon/templates/feeds/atom.xml => feedon/templates/feeds/atom.xml +4 -0
@@ 15,7 15,11 @@
        {% if attachment.type == "image" %}
            <p>
                <a href="{{attachment.remote_url}}">
                    {% if attachment.description %}
                    <img alt="{{attachment.description}}" title="{{attachment.description}}" src="{{attachment.preview_url}}" width="100%" />
                    {% else %}
                    <img src="{{attachment.preview_url}}" width="100%" />
                    {% endif %}
                </a>
            </p>
            {% if attachment.description %}

M feedon/templates/layouts/main.html => feedon/templates/layouts/main.html +3 -3
@@ 1,16 1,16 @@
<!DOCTYPE html>
<html>
    <head>
        <title>{% block title %}Feed On This!{% endblock %}</title>
        <title>{% block title %}FeeDon This!{% endblock %}</title>
        <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}" />
    </head>
    <body>
        <div class="content">
            <h1>FeeDon! This</h1>
            <h1>FeeDon This!</h1>
            <nav>
                {% if g.current_user %}
                <ul>
                    <li><a href="/feeds">Your Feeds</a></li>
                    <li><a href="/timelines">Your Feeds</a></li>
                    <li><a href="/auth/logout">Logout</a></li>
                </ul>
                <ul>