the theme is customized for this site so having it as a sub repo dosent make sense
78 lines
3.3 KiB
HTML
78 lines
3.3 KiB
HTML
{{ partial "head.html" . }}
|
|
<body>
|
|
<script src="{{ .Site.Home.Permalink }}js/as-dithered-image.js"></script>
|
|
|
|
<div id="container">
|
|
{{ partial "header.html" . }}
|
|
<section id="main" class="outer">
|
|
{{ range where .Paginator.Pages "Params.hidden" "ne" "true" }}
|
|
<article class="article article-type-post" itemscope itemprop="blogPost">
|
|
<div class="article-inner">
|
|
<!--<%- partial('post/gallery') %>-->
|
|
{{ if .Title }}
|
|
<header class="article-header">
|
|
<h1 itemprop="name"><a class="article-title" href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
|
|
</header>
|
|
{{ end }}
|
|
<div class="article-meta">
|
|
<a href="{{ .RelPermalink }}" class="article-date">
|
|
<time datetime='{{ .Date.Format "2006-01-02T15:04:05.000-07:00" }}' itemprop="datePublished">{{ .Date.Format "2006-01-02" }}</time>
|
|
</a>
|
|
{{ $Site := .Site }}
|
|
{{ if .Params.categories }}
|
|
<div class="post-categories">
|
|
<div class="article-category">
|
|
{{ range $i, $e := .Params.categories }}
|
|
{{ if gt $i 0 }}
|
|
<span>></span>
|
|
{{ end }}
|
|
<a class="article-category-link" href="{{ $Site.BaseURL }}/categories/{{ $e | urlize }}">{{ $e }}</a>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
{{ if .Site.DisqusShortname }}
|
|
<div class="article-comment-link-wrap">
|
|
<a href="{{ .RelPermalink }}#disqus_thread" class="article-comment-link">{{ T "Comments" }}</a>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
<div class="article-entry" itemprop="articleBody">
|
|
{{ if .Params.featuredImage }}
|
|
<div class="feature-image">
|
|
<a class="feature-image-link" href="{{ .RelPermalink }}">
|
|
<as-dithered-image id="picture" class="center-cropped" crunch="auto" src="{{.Params.featuredImage | absURL}}"></as-dithered-image>
|
|
</a>
|
|
</div>
|
|
{{ end }}
|
|
<p>
|
|
{{ .Summary }}
|
|
</p>
|
|
<p class="article-more-link">
|
|
<a href="{{ .RelPermalink }}">{{ T "ReadMore" }}</a>
|
|
</p>
|
|
</div>
|
|
|
|
{{ if .Params.tags }}
|
|
<footer class="article-footer">
|
|
<ul class="article-tag-list">
|
|
{{ range .Params.tags }}
|
|
<li class="article-tag-list-item">
|
|
<a class="article-tag-list-link" href="{{ "tags/" | absLangURL }}{{ . | urlize }}">{{ . }}
|
|
</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</footer>
|
|
{{ end }}
|
|
</div>
|
|
</article>
|
|
{{ end }}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
</section>
|
|
{{ partial "footer.html" . }}
|
|
</div>
|
|
</body>
|
|
</html>
|