{{ .Title }}
--
+
- - + {{ end }} {{ if $paginator.HasPrev }}
- - + {{ end }} {{ range $paginator.Pagers }} @@ -72,6 +69,5 @@ {{ end }}
- - + {{ end }} {{ if $paginator.HasPrev }}
- - + {{ end }} {{ range $paginator.Pagers }} @@ -76,6 +73,5 @@ {{ end }}
-
{{ if ne $paginator.PageNumber 1 }}
+
{{ .Title }}
-
+
+
{{ .Content }}
{{ if ne .Params.noLicense true }}
-
+
{{ i18n "postCopyrightFront" }}{{ .Site.Params.license }}{{ i18n "postCopyrightEnd" }}
diff --git a/layouts/_default/tag.html b/layouts/_default/tag.html
index b2860b2..97d6ead 100644
--- a/layouts/_default/tag.html
+++ b/layouts/_default/tag.html
@@ -1,42 +1,39 @@
{{ define "main" }}
-
+
{{ i18n "tagsCurrentTag" . }}
{{ $paginator := .Paginator }}
{{ range $paginator.Pages }}
-
-
+
+
{{ .Title }}
-
+
+
{{ .Summary }}
-
- {{ partial "post-exlink.html" . }}
-
{{ end }}
-
+
{{ $offsetLinks := 2 }}
{{ $maxLinks := (add (mul $offsetLinks 2) 1) }}
{{ $lowerLimit := (add $offsetLinks 1) }}
{{ $upperLimit := (sub $paginator.TotalPages $offsetLinks) }}
{{ if gt $paginator.TotalPages 1 }}
-
+
{{ if ne $paginator.PageNumber 1 }}
{{ end }}
-
{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/comment-disqus.html b/layouts/partials/comment-disqus.html
index 81c9c68..539f8c7 100644
--- a/layouts/partials/comment-disqus.html
+++ b/layouts/partials/comment-disqus.html
@@ -1,5 +1,5 @@
{{ with .Site.Params.disqusShortname }}
-
+
{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index e4fcaae..3166a36 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,8 +1,10 @@
-
- {{ .Site.Title }}
- {{ with .Site.Params.subTitle }}{{ . }}{{ end }}
+
+ {{ .Site.Title }}
+ {{ with .Site.Params.subTitle }}
+ {{ . }}
+ {{ end }}
\ No newline at end of file
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 894d5c3..839a87a 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -7,19 +7,19 @@
var commentCheckInterval = self.setInterval(checkUtterances, 500);
function checkUtterances() {
- commentStatus = $('#post-comment .utterances').attr('style');
+ commentStatus = $('.post-comment .utterances').attr('style');
if (commentStatus == undefined) {
commentLoadingTime += 1;
if (commentLoadingTime > 20) {
clearInterval(commentCheckInterval);
- $('#post-comment').hide();
- $('#post-loading p').text('{{ i18n "postCommentLoadingFailed" }}');
- $('#post-loading i').attr('class', 'far fa-times-circle');
+ $('.post-comment').hide();
+ $('.post-loading p').text('{{ i18n "postCommentLoadingFailed" }}');
+ $('.post-loading i').attr('class', 'far fa-times-circle');
}
return;
} else {
clearInterval(commentCheckInterval);
- $('#post-loading').hide();
+ $('.post-loading').hide();
}
}
});
@@ -29,7 +29,7 @@
{{ if in .Site.Params.mainSections .Type }}
-
{{ with .Params.playerURL }}
{{ end }}
-
diff --git a/layouts/_default/tag.html b/layouts/_default/tag.html index b2860b2..97d6ead 100644 --- a/layouts/_default/tag.html +++ b/layouts/_default/tag.html @@ -1,42 +1,39 @@ {{ define "main" }} -{{ i18n "postCopyrightFront" }}{{ .Site.Params.license }}{{ i18n "postCopyrightEnd" }}
+
+
{{ .Title }}
-
+
+
{{ .Summary }}
-
- {{ partial "post-exlink.html" . }}
-
{{ end }}
-
+
{{ $offsetLinks := 2 }}
{{ $maxLinks := (add (mul $offsetLinks 2) 1) }}
{{ $lowerLimit := (add $offsetLinks 1) }}
{{ $upperLimit := (sub $paginator.TotalPages $offsetLinks) }}
{{ if gt $paginator.TotalPages 1 }}
-
+
{{ if ne $paginator.PageNumber 1 }}
{{ end }}
-
{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/comment-disqus.html b/layouts/partials/comment-disqus.html
index 81c9c68..539f8c7 100644
--- a/layouts/partials/comment-disqus.html
+++ b/layouts/partials/comment-disqus.html
@@ -1,5 +1,5 @@
{{ with .Site.Params.disqusShortname }}
-
+
{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index e4fcaae..3166a36 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,8 +1,10 @@
-
- {{ .Site.Title }}
- {{ with .Site.Params.subTitle }}{{ . }}{{ end }}
+
+ {{ .Site.Title }}
+ {{ with .Site.Params.subTitle }}
+ {{ . }}
+ {{ end }}
\ No newline at end of file
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 894d5c3..839a87a 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -7,19 +7,19 @@
var commentCheckInterval = self.setInterval(checkUtterances, 500);
function checkUtterances() {
- commentStatus = $('#post-comment .utterances').attr('style');
+ commentStatus = $('.post-comment .utterances').attr('style');
if (commentStatus == undefined) {
commentLoadingTime += 1;
if (commentLoadingTime > 20) {
clearInterval(commentCheckInterval);
- $('#post-comment').hide();
- $('#post-loading p').text('{{ i18n "postCommentLoadingFailed" }}');
- $('#post-loading i').attr('class', 'far fa-times-circle');
+ $('.post-comment').hide();
+ $('.post-loading p').text('{{ i18n "postCommentLoadingFailed" }}');
+ $('.post-loading i').attr('class', 'far fa-times-circle');
}
return;
} else {
clearInterval(commentCheckInterval);
- $('#post-loading').hide();
+ $('.post-loading').hide();
}
}
});
@@ -29,7 +29,7 @@
{{ if in .Site.Params.mainSections .Type }}
-
{{ .Title }}
--
+
-
{{ if ne $paginator.PageNumber 1 }}