Skip to content

Instantly share code, notes, and snippets.

@callumacrae
Created May 8, 2012 17:31
Show Gist options
  • Select an option

  • Save callumacrae/2637674 to your computer and use it in GitHub Desktop.

Select an option

Save callumacrae/2637674 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf8">
<title>{{ site.name }} &bull; Index Page</title>
<link href="{{ css_url }}">
</head>
<body>
<header>
<a href="{{ site.url }}"><h1>{{ site.name }}</h1></a>
</header>
{% for article in articles %}
<article>
<header>
<h1>{{ article.title }}</h1>
<p>Published: <time pubdate="pubdate">{{ article.pubdate|date("m/d/y") }}</time></p>
</header>
{% autoescape false %}
{{ article.text }}
{% endautoescape %}
<footer>
<span class="comments">{{ article.comments }}</span>
<a class="readmore" href="{{ article.url }}">Read more</a>
</footer>
</article>
{% endfor %}
<footer>
<span class="copyright">Design Copyright &copy; {{ site.name }}</span>
<span class="license"><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons Licence" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.</span>
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment