added theme directly
This commit is contained in:
parent
4f54f05a5d
commit
13da00e549
36 changed files with 3502 additions and 0 deletions
51
themes/Bleach/layouts/_default/single.html
Normal file
51
themes/Bleach/layouts/_default/single.html
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{{ define "main" }}
|
||||
|
||||
{{ $dateFormat := $.Site.Params.dateFormat | default "Jan 2, 2006" }}
|
||||
|
||||
<div class="container">
|
||||
<div class="post">
|
||||
<div class="post-header row">
|
||||
<div class="title-tile col-md-6">
|
||||
<h1 class="maintitle">
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
<h2 class="subtitle lightText">
|
||||
{{ .Description }}
|
||||
</h2>
|
||||
|
||||
<div class="clearfix lightText">
|
||||
<i class="icon ion-md-calendar"></i> {{ dateFormat $dateFormat .Date }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="figure col-md-6">
|
||||
<img class="img-fluid"
|
||||
src="{{ absURL (default "images/default-img-header.jpeg" (default .Params.image .Params.thumbnail)) }}"
|
||||
alt="figure" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="post-content">
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{{ if .Params.series }}
|
||||
{{ $name := index .Params.series 0 }}
|
||||
<hr/>
|
||||
<p><a href="" id="series"></a>This is a post in the
|
||||
<b>{{$name}}</b> series.<br/>
|
||||
Other posts in this series:</p>
|
||||
|
||||
{{ $name := $name | urlize }}
|
||||
{{ $series := index .Site.Taxonomies.series $name }}
|
||||
<ul class="series">
|
||||
{{ range $series.Pages }}
|
||||
<li>{{.Date.Format "Jan 02, 2006"}} -
|
||||
<a href="{{.Permalink}}">{{.LinkTitle}}</a></li>
|
||||
{{end}}
|
||||
</ul>
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue