- Change color from orange to blue; improve colors elsewhere
- Change `div.section` to `section`
- Rename  `posts` directory to `blog`
- Add ability to specify extra CSS files in `config.toml`
- Removed `WebFontsFile` feature from `config.toml`
- Remove the initials displayed on top right of single post pages
- Update example site
This commit is contained in:
Nishanth Shanmugham
2015-12-24 16:45:37 -06:00
parent 0d9d498caa
commit 204880aac9
19 changed files with 283 additions and 327 deletions

29
layouts/blog/single.html Normal file
View File

@@ -0,0 +1,29 @@
{{ partial "header.html" . }}
<section class="main post non-narrow zero-top-spacing">
<div class="container">
<div class="content">
<div class="front-matter">
<div class="title-container">
{{ partial "page-heading" . }}
<div class="initials"><a href="{{ .Site.BaseURL }}">{{ .Site.Params.Initials }}</a></div>
</div>
<div class="meta">
<div class="date" title="{{ .Date.Format .Site.Params.DateFormFull }}">{{ .Date.Format .Site.Params.DateForm }}</div>
<div class="reading-time"><div class="middot"></div>{{ if eq 1 .ReadingTime }}{{ .ReadingTime }} minute read{{ else }}{{ .ReadingTime }} minutes read{{ end }}</div>
</div>
</div>
<div class="markdown">
{{ .Content }}
<br>
<p><a href="/posts/">Back to posts</a></p>
</div>
<br>
<div class="disqus">
{{ template "_internal/disqus.html" . }}
</div>
</div>
</div>
</section>
{{ partial "footer.html" . }}