37 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<html>
 | 
						|
  <head>
 | 
						|
    <title>Planet TVL</title>
 | 
						|
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 | 
						|
    <meta name="generator" content="planet-mars">
 | 
						|
    <link rel="shortcut icon" href="/favicon.ico">
 | 
						|
    <link rel="stylesheet" href="planet.css" type="text/css">
 | 
						|
    {# todo <link rel="alternate" type="application/rss+xml" title="Planet Haskell RSS Feed" href="rss20.xml"> #}
 | 
						|
    <link rel="alternate" type="application/xml+atom" title="Planet Haskell Atom Feed" href="atom.xml">
 | 
						|
  </head>
 | 
						|
  <body>
 | 
						|
    <header>
 | 
						|
      <h1>Planet TVL</h1>
 | 
						|
    </header>
 | 
						|
    <div id="maincontainer">
 | 
						|
      <main>
 | 
						|
        {% for entry in entries %}
 | 
						|
          <article>
 | 
						|
            <h2><a href="{{entry.link}}">{{ entry.title|striptags }}<a></h2>
 | 
						|
            <date>{% if entry.published %}{{ entry.published | date(format="%Y-%m-%d %H:%M", timezone="Europe/Moscow") }}{% endif %}</date>{# todo: maybe group posts by day? #}
 | 
						|
            <p class="entry_author">{{ entry.author|striptags }}</p>
 | 
						|
            <div class="entry_content">
 | 
						|
              {{ entry.content }}
 | 
						|
            </div>
 | 
						|
            <p><a href="{{entry.link}}">full post</a></p>
 | 
						|
          </article>
 | 
						|
        {% endfor %}
 | 
						|
      </main>
 | 
						|
 | 
						|
      <aside>
 | 
						|
        <img src="logo.svg">
 | 
						|
        <p>Last updated: {{now()|date(format="%Y-%m-%d %H:%M")}}
 | 
						|
      </aside>
 | 
						|
    </div>
 | 
						|
  </body>
 | 
						|
</html>
 |