<!DOCTYPE html>
<html>
 
<head>
    <title>Nathan's shitty blog</title>
    <link rel="alternate" type="application/rss+xml" title="Nathan's shitty blog" href="feed.xml">

<style>

    /* the weird formating is because its going to be used in a python format
       string.
     */
body {{
    color: black;
    background-image: url('../images/blog_background.png');
}}

table {{
	color: black;
	background-color: #bebebe;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
}}

</style>

</head>
 
<body>
    <a href="../index.html"><img src="../images/back_home.png" alt="Back to home page"/></a>
    
    <center>
        <table border="1" width="60%">
        	<tr>
        		<td>
                    <h1>Nathan's shitty blog</h1>
                    <a href="feed.xml" target="_blank">
                        <img src="../images/rss.png" alt="rss"/>
                    </a>
                    <p>
                        I dont know if I will post often but here you go fucking world!
                        There is no topic, just me posting whatever is on my mind. Add
                        the feed to your feedreader <b>(you better have one)</b> so you
                        can stay updated on the things on my mind.
                    </p>
                </td>
            </tr>

            <tr>
                <td>
                    {article_list}
                </td>
            </tr>
        </table>

        <!-- Python will insert the articles from rss here -->
        {articles}
    </center>
</body>
</html>