@@ -15,7 +15,7 @@
{{ $basename := (replace .File.Dir "\\" "/") }}
{{ range .Params.Images }}
-
+
{{ .caption }}
{{ end }}
@@ -33,7 +33,7 @@
{{ $basename := (replace .File.Dir "\\" "/") }}
{{ range (readDir (print "./static/" $basename)) }}
-
+
{{ index (split .Name ".") 0 }}
{{ end }}
diff --git a/layouts/partials/body/fancybox.html b/layouts/partials/body/fancybox.html
index e946a8b..d84a293 100644
--- a/layouts/partials/body/fancybox.html
+++ b/layouts/partials/body/fancybox.html
@@ -24,10 +24,10 @@
}
});
- var imgElements = $('.single__contents:not(".single__contents--gallery")').find('img');
- imgElements.each(function(i, v) {
+ var imgElements = $('.single__contents:not(".single__contents--gallery")').find('img');
+ imgElements.each(function(i, v) {
$(this).css('cursor', 'pointer');
- $(this).wrap(`
`);
+ $(this).wrap(`
`);
});
});
diff --git a/layouts/partials/body/rss.xml b/layouts/partials/body/rss.xml
deleted file mode 100644
index 31d2ca4..0000000
--- a/layouts/partials/body/rss.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-{{ printf "" | safeHTML }}
-
-
- {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}
- {{ .Permalink }}
- Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}
- Hugo -- gohugo.io{{ with .Site.LanguageCode }}
- {{.}}{{end}}{{ with .Site.Author.email }}
- {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }}
- {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }}
- {{.}}{{end}}{{ if not .Date.IsZero }}
- {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }}
- {{ with .OutputFormats.Get "RSS" }}
- {{ printf "" .Permalink .MediaType | safeHTML }}
- {{ end }}
- {{ range .Pages }}
- -
- {{ .Title }}
- {{ .Permalink }}
- {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}
- {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}
- {{ .Permalink }}
- {{ .Summary | html }}
-
- {{ end }}
-
-
\ No newline at end of file
diff --git a/layouts/partials/footer/links-feed.html b/layouts/partials/footer/links-feed.html
index 3f13bf0..a740f9b 100644
--- a/layouts/partials/footer/links-feed.html
+++ b/layouts/partials/footer/links-feed.html
@@ -1,11 +1,5 @@
{{ if $.Param "showFeedLinks" }}
- {{ if .Site.LanguagePrefix -}}
-
+
{{ partial "svgs/etc/rss.svg" (dict "width" 32 "height" 32) }}
- {{ else }}
-
- {{ partial "svgs/etc/rss.svg" (dict "width" 32 "height" 32) }}
-
- {{ end }}
{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/sidebar/site-search.html b/layouts/partials/sidebar/site-search.html
index 06e42b7..a26cbe5 100644
--- a/layouts/partials/sidebar/site-search.html
+++ b/layouts/partials/sidebar/site-search.html
@@ -30,16 +30,11 @@
{{ end }}