Pull in my changes to pickles theme from my fork.
This commit is contained in:
@ -1,16 +0,0 @@
|
||||
<article class="c-article p-list-article">
|
||||
<header>
|
||||
<h2 class="c-title c-article__title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
<p class="c-article__meta">
|
||||
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
|
||||
{{ .Date.Format "2006-01-02" }}
|
||||
</time>
|
||||
</p>
|
||||
</header>
|
||||
<div class="c-article__summary">
|
||||
{{ .Summary | plainify | safeHTML }}
|
||||
</div>
|
||||
{{ if .Truncated }}
|
||||
<a href="{{ .Permalink }}" class="c-article__btn p-list-article__btn">Read more</a>
|
||||
{{ end }}
|
||||
</article>
|
@ -1,57 +0,0 @@
|
||||
{{ partial "header.html" . }}
|
||||
{{ $baseurl := .Site.BaseURL | sanitizeurl }}
|
||||
<article class="p-article">
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<div>
|
||||
<div class="c-time">
|
||||
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
|
||||
{{ .Date.Format "2006-01-02" }}
|
||||
</time>
|
||||
</div>
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ $baseurl }}/tags/{{ . | urlize }}" class="c-tag">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
{{ with .Params.thumbnail }}
|
||||
<img src="{{ . }}" alt="thumbnail" class="p-article__thumbnail">
|
||||
{{ end }}
|
||||
<section id="js-article" class="p-article__body">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
<footer>
|
||||
{{ with ($.Param "disqus") }}
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
var disqus_shortname = '{{ . }}';
|
||||
(function() {
|
||||
var d = document, s = d.createElement('script');
|
||||
s.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||
{{ end }}
|
||||
<nav class="p-pagination c-pagination">
|
||||
<div class="c-pagination__ctrl">
|
||||
<div class="c-pagination__newer">
|
||||
{{ if .NextInSection }}
|
||||
<a href="{{ .NextInSection.Permalink }}">Newer</a>
|
||||
{{ else }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="c-pagination__older">
|
||||
{{ if .PrevInSection }}
|
||||
<a href="{{ .PrevInSection.Permalink }}">Older</a>
|
||||
{{ else }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{{ partial "related.html" . }}
|
||||
{{ partial "siteinfo.html" . }}
|
||||
</footer>
|
||||
</article>
|
||||
{{ partial "footer.html" . }}
|
Reference in New Issue
Block a user