You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

53 lines
1.9 KiB

<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
{{ partial "head.html" . }}
</head>
<body>
{{ partial "nav.html" . }}
<section id="wrapper">
<article class="post">
<header>
<h1>{{ .Title }}</h1>
<h2 class="headline">{{ .Date.Format "January 2, 2006" }}</h2>
</header>
<section id="post-body">
{{ .Content }}
</section>
</article>
<footer id="post-meta" class="clearfix">
{{ with .Site.Params.twitter }}<a href="http://twitter.com/{{ . }}">{{ end }}
<img class="avatar" src="{{ .Site.BaseURL }}images/avatar.png">
<div>
<span class="dark">{{ .Site.Params.name }}</span>
<span>{{ .Site.Params.bio }}</span>
</div>
{{ with .Site.Params.twitter }}</a>{{ end }}
<section id="sharing">
{{ partial "share.html" . }}
</section>
</footer>
{{ if isset .Site.Params "disqusShortname" }}
{{ partial "disqus.html" . }}
{{ end }}
<ul id="post-list" class="archive readmore">
<h3>Read more</h3>
{{ range first 10 .Site.Pages }}
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ if ne $url "about/" }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}<aside class="dates">{{ .Date.Format "Jan 2" }}</aside></a>
</li>
{{ end }}
{{ end }}
</ul>
{{ partial "footer.html" . }}
</section>
{{ partial "js.html" . }}
</body>
</html>