www/layouts/datengarten/single.html

60 lines
2.2 KiB
HTML
Raw Permalink Normal View History

{{ define "main" }}
<div class="container" role="main">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<article role="main" class="blog-post">
2023-06-13 12:47:07 +02:00
{{ partial "talk-infobox" . }}
{{ .Content }}
{{ if .Params.tags }}
<div class="blog-tags">
{{ range .Params.tags }}
<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
{{ end }}
2023-06-13 12:47:07 +02:00
</div><!--/.blog-tags-->
{{ end }}
{{ if .Site.Params.socialShare }}
<hr/>
<section id="social-share">
<ul class="list-inline footer-links">
{{ partial "share-links" . }}
2023-06-13 12:47:07 +02:00
</ul><!--/.social-share-->
2023-06-13 21:41:28 +02:00
</section><!--/.list-inline .footer-links-->
{{ end }}
2023-06-13 12:47:07 +02:00
</article><!--/.blog-post-->
{{ if ne .Type "page" }}
<ul class="pager blog-pager">
{{ if .PrevInSection }}
<li class="previous">
<a href="{{ .PrevInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">&larr; {{ i18n "previousPost" }}</a>
2023-06-13 12:47:07 +02:00
</li><!--/.previous-->
{{ end }}
{{ if .NextInSection }}
<li class="next">
<a href="{{ .NextInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title }}">{{ i18n "nextPost" }} &rarr;</a>
2023-06-13 12:47:07 +02:00
</li><!--/.next-->
{{ end }}
2023-06-13 21:41:28 +02:00
</ul><!--/.pager .blog-pager-->
{{ end }}
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Type "page"))) }}
{{ if .Site.DisqusShortname }}
<div class="disqus-comments">
{{ template "_internal/disqus.html" . }}
2023-06-13 12:47:07 +02:00
</div><!--/.disqus-comments-->
{{ end }}
{{ if .Site.Params.staticman }}
<div class="staticman-comments">
{{ partial "staticman-comments.html" . }}
2023-06-13 12:47:07 +02:00
</div><!--/.staticman-comments-->
{{ end }}
{{ end }}
2023-06-13 21:41:28 +02:00
</div><!--/.col-lg-8 .col-lg-offset-2 .col-md-10 .col-md-offset-1-->
2023-06-13 12:47:07 +02:00
</div><!--/.row-->
</div><!--/.container-->
{{ end }}