mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 07:44:23 +01:00
Added single.html
This commit is contained in:
parent
065a32bd1f
commit
903e02a624
1 changed files with 34 additions and 0 deletions
34
layouts/_default/single.html
Normal file
34
layouts/_default/single.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
{{ define "main" }}
|
||||
|
||||
{{ partial "navigation.html" . }}
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row bg-one">
|
||||
<div class="col-lg-8 offset-lg-2 text-center">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<ul class="list-inline mb-50">
|
||||
<li class="list-inline-item"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}/">{{ .Params.Author }}</a></li>
|
||||
<li class="list-inline-item">Published Date: {{ dateFormat "Monday, Jan 2, 2006" .Date }}</li>
|
||||
<li class="list-inline-item">Last Modified: {{ dateFormat "Monday, Jan 2, 2006" .Date }}</li>
|
||||
</ul>
|
||||
<img class="img-fluid mb-50 lozad" src="{{ .Params.Image | absURL }}" alt="blog-image">
|
||||
</div>
|
||||
<div class="col-lg-8 offset-lg-2">
|
||||
<div class="post-single-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ if site.Params.post_share }}
|
||||
{{ partial "post-share.html" . }}
|
||||
{{ end }}
|
||||
|
||||
<!-- comments -->
|
||||
{{ if site.Params.comments }}
|
||||
{{ partial "comments.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ end }}
|
Loading…
Reference in a new issue