website/layouts/partials/single_article.html

28 lines
804 B
HTML

<section id="main">
<article>
<div class="article-inner">
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
<img src="{{ .Site.BaseURL }}{{ .Params.banner }}" class="article-banner">
{{ end }}
{{ partial "article_header" . }}
<div class="article-entry" itemprop="articleBody">
{{ .Content }}
</div>
{{ partial "article_footer" . }}
</div>
<script type="text/javascript">
talaria.init({REPOSITORY_NAME: 'syui.gitlab.io-comment',
GITHUB_USERNAME: 'mba-hack'});
</script>
</article>
<section id="comments">
<div id="disqus_thread">
{{ template "_internal/disqus.html" . }}
</div>
</section>
</section>