Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mmrath/hugo-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/single.boot.html')
-rw-r--r--layouts/post/single.boot.html50
1 files changed, 22 insertions, 28 deletions
diff --git a/layouts/post/single.boot.html b/layouts/post/single.boot.html
index 21db0c6..08946e8 100644
--- a/layouts/post/single.boot.html
+++ b/layouts/post/single.boot.html
@@ -1,33 +1,27 @@
-<footer>
<!--navigation-->
{{ if .IsPage }}
{{ if or ( .NextInSection ) ( .PrevInSection ) }}
- <nav>
- <ul class="pagination">
- {{ if .PrevInSection }}
- <li class="page-item">
- <a href="{{ .PrevInSection.Permalink }}" title="{{ .PrevInSection.Title }} " class="page-link">
- <span aria-hidden="true">&larr;</span>{{ .Site.Data.Strings.previous }}
- </a>
- </li>
- {{end}}
- {{ if .NextInSection }}
- <li class="page-item">
- <a href="{{ .NextInSection.Permalink }}" title="{{ .NextInSection.Title }}" class="page-link">
- {{ .Site.Data.Strings.next }}
- <span aria-hidden="true">&rarr;</span>
- </a>
- </li>
- {{end}}
- </ul>
- </nav>
- {{ end }}
- {{ end }}
- <div class="row">
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
- <div class="pt-4">
- {{ if ne .Site.DisqusShortname "" }} {{ template "_internal/disqus.html" . }} {{ end }}
+
+ <section>
+ <div class="section-title">
+ <span>You might also like</span>
+ </div>
+ <div class="row px-2">
+ {{ if .PrevInSection }}
+ {{ partial "post/card" .PrevInSection }}
+ {{ end }}
+ {{ partial "content/related-posts" . }}
+ {{ if .NextInSection }}
+ {{ partial "post/card" .NextInSection }}
+ {{ end }}
+ </div>
+ </section>
+ <div class="row">
+ <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
+ <div class="pt-4" id="comment-section">
+ {{ if ne .Site.DisqusShortname "" }} {{ template "_internal/disqus.html" . }} {{ end }}
+ </div>
</div>
</div>
- </div>
-</footer> \ No newline at end of file
+ {{ end }}
+ {{ end }} \ No newline at end of file