Skip to content

Instantly share code, notes, and snippets.

@sivy
Forked from anonymous/archive.html
Last active December 10, 2015 00:48
Show Gist options
  • Save sivy/4353680 to your computer and use it in GitHub Desktop.
Save sivy/4353680 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Archive - {{ site.title }}</title>
<meta name="author" content="{{ user.display_name }}">
<meta name="description" content="{{ site.description }}">
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1">
<link href="/atom.xml" rel="alternate" title="{{ site.url }} feed" type="application/atom+xml">
<link rel="canonical" href="">
<link href="/favicon.png" rel="shortcut icon">
<link href="http://www.markbox.io/static/themes/bitprophet/screen.css" media="screen, projection" rel="stylesheet"
type="text/css">
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
</head>
<body>
<header id="header" class="inner">
<h1><a href="{{ site.url }}">{{ site.title }}</a></h1>
<nav id="main-nav"><ul>
<li class="page">
<a href="{{ site.url }}">Blog</a>
</li>
<li class="page">
<a href="{{ site.url }}/archive/">Archives</a>
</li>
</ul></nav>
<nav id="mobile-nav">
<div class="alignleft menu">
<a class="button">Menu</a>
<div class="container"><ul>
<li class="page">
<a href="{{ site.url }}">Blog</a>
</li>
<li class="page">
<a href="{{ site.url }}/archive/">Archives</a>
</li>
</ul></div>
</div>
<div class="alignright search">
<a class="button"></a>
<div class="container">
<form action="http://google.com/search" method="get">
<input type="text" name="q" results="0">
<input type="hidden" name="q" value="site:{{ site.url.replace('http://', '') }}">
</form>
</div>
</div>
</nav>
<nav id="sub-nav" class="alignright">
<div class="social">
<!--a class="twitter" href="http://twitter.com/bitprophet" title="Twitter">Twitter</a>
<a class="github" href="https://github.com/bitprophet" title="GitHub">GitHub</a-->
<a class="rss" href="{{ site.url }}/atom.xml" title="Feed">Feed</a>
</div>
<form action="http://google.com/search" method="get">
<input type="text" name="q" results="0">
<input type="hidden" name="q" value="site:{{ site.url.replace('http://', '') }}">
</form>
</nav>
</header>
<div id="content" class="inner">
{% if archive_type == 'years' %}
{% for year in years %}
<div class="year">
<h3>{{ year }}</h3>
<ul>
{% for month in archives[year] %}
<li style="list-style-type: none"><a
href="{{ site.url }}/archive/{{year}}/{{ "%02d" % month }}"
>{{ getmonthname(month) }}</a></li>
{% endfor %}
</ul>
</div>
{% endfor %}
{% elif archive_type == 'month' %}
<div class="month">
<h3>{{ getmonthname(month) }}, {{ year }}</h3>
<ul>
{% for post in archives %}
<li style="list-style-type: none"><strong>{{ post.published.strftime("%d") }}</strong> <a
href="{{ site.url }}{{ post.permalink }}"
>{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
<nav id="pagenavi">
<div class="center"><a href="{{ site.url }}/archive/">Blog Archives</a></div>
</nav>
</div><!-- /content -->
<footer id="footer" class="inner">
Copyright &copy; 2012 {{ user.display_name }}. Theme by, and kindly provided for adaptation by, <a href="http://bitprophet.org">Jeff Forcier</a> -- based on <a href="http://zespia.tw/Octopress-Theme-Slash/">Slash</a> for <a href="http://octopress.org">Octopress</a>.
</footer>
<script src="/javascripts/slash.js"></script>
{% if settings.gaid %}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ settings.gaid }}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
{% endif %}
</body>
</html>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>{{ site.title }}</title>
<meta name="author" content="{{ user.display_name }}">
<meta name="description" content="{{ site.description }}">
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1">
<link href="/atom.xml" rel="alternate" title="{{ site.url }} feed" type="application/atom+xml">
<link rel="canonical" href="">
<link href="/favicon.png" rel="shortcut icon">
<link href="http://www.markbox.io/static/themes/bitprophet/screen.css" media="screen, projection" rel="stylesheet"
type="text/css">
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
</head>
<body>
<header id="header" class="inner">
<h1><a href="{{ site.url }}">{{ site.title }}</a></h1>
<nav id="main-nav"><ul>
<li class="page">
<a href="{{ site.url }}">Blog</a>
</li>
<li class="page">
<a href="{{ site.url }}/archive/">Archives</a>
</li>
</ul></nav>
<nav id="mobile-nav">
<div class="alignleft menu">
<a class="button">Menu</a>
<div class="container"><ul>
<li class="page">
<a href="{{ site.url }}">Blog</a>
</li>
<li class="page">
<a href="{{ site.url }}/archive/">Archives</a>
</li>
</ul></div>
</div>
<div class="alignright search">
<a class="button"></a>
<div class="container">
<form action="http://google.com/search" method="get">
<input type="text" name="q" results="0">
<input type="hidden" name="q" value="site:{{ site.url.replace('http://', '') }}">
</form>
</div>
</div>
</nav>
<nav id="sub-nav" class="alignright">
<div class="social">
<!--a class="twitter" href="http://twitter.com/bitprophet" title="Twitter">Twitter</a>
<a class="github" href="https://github.com/bitprophet" title="GitHub">GitHub</a-->
<a class="rss" href="{{ site.url }}/atom.xml" title="Feed">Feed</a>
</div>
<form action="http://google.com/search" method="get">
<input type="text" name="q" results="0">
<input type="hidden" name="q" value="site:{{ site.url.replace('http://', '') }}">
</form>
</nav>
</header>
<div id="content" class="inner">
{% for post in paginator.posts %}
<article class="post listing">
<h1 class="title"><a href="{{ site.url }}{{ post.permalink }}">{{ post.title }}</a></h1>
<div class="entry-content">
{{ post.content | safe }} <!-- trim? -->
<a href="{{ site.url }}{{ post.permalink }}" class="more-link">Read more</a>
</div>
<div class="meta">
<div class="date"><time datetime="{{ post.created.strftime('%Y-%m-%DT%H:%M:%S-00:00') }}" pubdate data-updated="true">{{ post.published.strftime('%b %d, %Y') }}</time></div>
</div>
</article>
{% endfor %}
<nav id="pagenavi">
<div class="center"><a href="{{ site.url }}/archive/">Blog Archives</a></div>
</nav>
</div><!-- /content -->
<footer id="footer" class="inner">
Copyright &copy; 2012 {{ user.display_name }}. Theme by, and kindly provided for adaptation by, <a href="http://bitprophet.org">Jeff Forcier</a> -- based on <a href="http://zespia.tw/Octopress-Theme-Slash/">Slash</a> for <a href="http://octopress.org">Octopress</a>.
</footer>
<script src="/javascripts/slash.js"></script>
{% if settings.gaid %}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ settings.gaid }}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
{% endif %}
</body>
</html>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>{{ page.title }} - {{ site.title }}</title>
<meta name="author" content="{{ user.display_name }}">
<meta name="description" content="{{ page.short }}">
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1">
<link href="/atom.xml" rel="alternate" title="bitprophet.org" type="application/atom+xml">
<link rel="canonical" href="">
<link href="/favicon.png" rel="shortcut icon">
<link href="http://www.markbox.io/static/themes/bitprophet/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
</head>
<body>
<header id="header" class="inner">
<h1><a href="{{ site.url }}">{{ site.title }}</a></h1>
<nav id="main-nav"><ul>
<li class="page">
<a href="{{ site.url }}">Blog</a>
</li>
<li class="page">
<a href="{{ site.url }}/archive/">Archives</a>
</li>
</ul></nav>
<nav id="mobile-nav">
<div class="alignleft menu">
<a class="button">Menu</a>
<div class="container"><ul>
<li class="page">
<a href="{{ site.url }}">Blog</a>
</li>
<li class="page">
<a href="{{ site.url }}/archive/">Archives</a>
</li>
</ul></div>
</div>
<div class="alignright search">
<a class="button"></a>
<div class="container">
<form action="http://google.com/search" method="get">
<input type="text" name="q" results="0">
<input type="hidden" name="q" value="site:{{ site.url.replace('http://', '') }}">
</form>
</div>
</div>
</nav>
<nav id="sub-nav" class="alignright">
<div class="social">
<!--a class="twitter" href="http://twitter.com/bitprophet" title="Twitter">Twitter</a>
<a class="github" href="https://github.com/bitprophet" title="GitHub">GitHub</a-->
<a class="rss" href="{{ site.url }}/atom.xml" title="Feed">Feed</a>
</div>
<form action="http://google.com/search" method="get">
<input type="text" name="q" results="0">
<input type="hidden" name="q" value="site:{{ site.url.replace('http://', '') }}">
</form>
</nav>
</header>
<div id="content" class="inner">
<article class="post">
<h1 class="title">{{ page.title }}</h1>
<div class="entry-content">
{{ page.formatted | safe }}
</div>
<div class="meta">
<div class="date">
<time datetime="2012-06-01T10:05:00-07:00" pubdate data-updated="true">Jun 1<span>st</span>, 2012</time>
</div>
<div class="tags">
<a class='category' href='/blog/categories/meta/'>meta</a>
</div>
</div>
</article>
<div class="sharing"></div>
<section id="comment">
<h1 class="title">Comments</h1>
<div id="disqus_thread" aria-live="polite"><noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</div>
</section>
</div>
<footer id="footer" class="inner">
Copyright &copy; 2012 {{ user.display_name }}. Theme by, and kindly provided for adaptation by, <a href="http://bitprophet.org">Jeff Forcier</a> -- based on <a href="http://zespia.tw/Octopress-Theme-Slash/">Slash</a> for <a href="http://octopress.org">Octopress</a>.
</footer>
<script src="http://www.markbox.io/static/themes/bitprophet/slash.js"></script>
{% if settings.discus_id %}
<script type="text/javascript">
var disqus_shortname = '{{ settings.discus_id }}';
var disqus_script = 'count.js';
(function () {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
</script>
{% endif %}
{% if settings.gaid %}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ settings.gaid }}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
{% endif %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment