60 lines
2.2 KiB
HTML
60 lines
2.2 KiB
HTML
{{ 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">
|
|
{{ partial "talk-infobox" . }}
|
|
{{ .Content }}
|
|
|
|
{{ if .Params.tags }}
|
|
<div class="blog-tags">
|
|
{{ range .Params.tags }}
|
|
<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>
|
|
{{ end }}
|
|
</div><!--/.blog-tags-->
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.socialShare }}
|
|
<hr/>
|
|
<section id="social-share">
|
|
<ul class="list-inline footer-links">
|
|
{{ partial "share-links" . }}
|
|
</ul><!--/.social-share-->
|
|
</section><!--/.list-inline /.footer-links-->
|
|
{{ end }}
|
|
</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 }}">← {{ i18n "previousPost" }}</a>
|
|
</li><!--/.previous-->
|
|
{{ end }}
|
|
{{ if .NextInSection }}
|
|
<li class="next">
|
|
<a href="{{ .NextInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title }}">{{ i18n "nextPost" }} →</a>
|
|
</li><!--/.next-->
|
|
{{ end }}
|
|
</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" . }}
|
|
</div><!--/.disqus-comments-->
|
|
{{ end }}
|
|
{{ if .Site.Params.staticman }}
|
|
<div class="staticman-comments">
|
|
{{ partial "staticman-comments.html" . }}
|
|
</div><!--/.staticman-comments-->
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
</div><!--/.col-lg-8 /.col-lg-offset-2 /.col-md-10 /.col-md-offset-1-->
|
|
</div><!--/.row-->
|
|
</div><!--/.container-->
|
|
{{ end }}
|