mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
v0.3.0
- 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:
29
layouts/blog/single.html
Normal file
29
layouts/blog/single.html
Normal 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" . }}
|
Reference in New Issue
Block a user