initial commit
This commit is contained in:
31
layouts/partials/comments.html
Normal file
31
layouts/partials/comments.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!--
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: 2019 Max Mehl <mail@mehl.mx>
|
||||
SPDX-v: 2019 Björn Schießle
|
||||
-->
|
||||
{{ if ne .Params.page true }}
|
||||
<div class="comments-container">
|
||||
<h5>Comments</h5>
|
||||
<noscript>
|
||||
<p class="bg-info" style="text-align: center; padding: 5px;">
|
||||
Comments are only visible with JavaScript enabled. They are
|
||||
dynamically loaded from Mastodon. The code to display the
|
||||
comments is Free Software and <a
|
||||
href="https://src.mehl.mx/mxmehl/hugo-mastodon-comments">completely
|
||||
transparent</a>.
|
||||
</p>
|
||||
</noscript>
|
||||
<div id="statistics">
|
||||
<div id="like-count-container"></div><div id="reblog-count-container"></div><div id="reply-count-container"></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div id="comments"></div>
|
||||
<div class="clear"></div>
|
||||
<div id="reference"></div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<script>var RelPermalink="{{ .RelPermalink }}"</script>
|
||||
<script>var MastodonUser="{{ .Site.Params.mastodoncomments.user }}"</script>
|
||||
<script>var BlogRegex="{{ .Site.Params.mastodoncomments.regex }}"</script>
|
||||
<script>var CommentsContact="{{ .Site.Params.mastodoncomments.contact }}"</script>
|
||||
Reference in New Issue
Block a user