Add about page back in, and override some layout pages... wish this was more granular.
This commit is contained in:
parent
938c35c96d
commit
002e1affbb
13
content/about.md
Normal file
13
content/about.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: About
|
||||
---
|
||||
## About the Site
|
||||
|
||||
Anna and the Bunches is a self-indulgent blog about technology, with occasional forays into games and media.
|
||||
|
||||
I like to tell myself it is intelligently written, witty, and deeply interesting, but I’ve been known to lie. Caveat lector.
|
||||
|
||||
|
||||
## About the Author
|
||||
|
||||
Everything here is written by me, Anna, a feminist witch in my 30s who spends my days writing software. My interests include, but are not limited to: programming, video gaming, table-top roleplaying, speculative fiction, linguistics, strategy board games, hiking, and the simultaneous application of contradictory, overlapping worldviews.
|
16
layouts/_default/li.html
Executable file
16
layouts/_default/li.html
Executable file
|
@ -0,0 +1,16 @@
|
|||
<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>
|
57
layouts/_default/single.html
Executable file
57
layouts/_default/single.html
Executable file
|
@ -0,0 +1,57 @@
|
|||
{{ 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" . }}
|
51
layouts/page/single.html
Executable file
51
layouts/page/single.html
Executable file
|
@ -0,0 +1,51 @@
|
|||
{{ partial "header.html" . }}
|
||||
{{ $baseurl := .Site.BaseURL | sanitizeurl }}
|
||||
<article class="p-article">
|
||||
<header>
|
||||
<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" . }}
|
Loading…
Reference in New Issue
Block a user