mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Add feature to use Isso for comments
This commit is contained in:
@@ -50,6 +50,9 @@
|
|||||||
<div class="disqus">
|
<div class="disqus">
|
||||||
{{ template "_internal/disqus.html" . }}
|
{{ template "_internal/disqus.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
{{ if .Site.Params.issoHost }}
|
||||||
|
<div class="isso" id="isso-thread"></div>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@@ -18,6 +18,15 @@
|
|||||||
<script src="{{ .Site.BaseURL }}js/progressively.min.js" defer></script>
|
<script src="{{ .Site.BaseURL }}js/progressively.min.js" defer></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if .Site.Params.issoHost }}
|
||||||
|
<script
|
||||||
|
data-isso="//{{ .Site.Params.issoHost }}/"
|
||||||
|
data-isso-css="true"
|
||||||
|
data-isso-lang="{{ .Site.LanguageCode }}"
|
||||||
|
src="//{{ .Site.Params.issoHost }}/js/embed.min.js"
|
||||||
|
></script>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@@ -38,6 +38,14 @@
|
|||||||
<link rel="stylesheet" href="{{ . | absURL }}">
|
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if .Site.Params.issoHost }}
|
||||||
|
<style type="text/css" media="screen">
|
||||||
|
.isso section {
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<!-- Icon -->
|
<!-- Icon -->
|
||||||
<link rel="shortcut icon"
|
<link rel="shortcut icon"
|
||||||
{{ if .Site.Params.faviconfile }}
|
{{ if .Site.Params.faviconfile }}
|
||||||
|
Reference in New Issue
Block a user