Compare commits

...

3 commits

6 changed files with 14 additions and 1 deletions

View file

@ -27,6 +27,11 @@ grids.forEach(function(grid) {
// layout Masonry after each image loads
msnry.layout();
});
// layout Masonry after page load
$(window).on('load', function() {
msnry.layout();
});
}
});

View file

@ -1,5 +1,7 @@
{{ define "main" }}
{{ partial "top_button.html" . }}
{{ partial "navigation.html" . }}
{{ partial "bradcrumb.html" . }}

View file

@ -1,5 +1,7 @@
{{ define "main" }}
{{ partial "top_button.html" . }}
{{ partial "navigation.html" . }}
{{ partial "bradcrumb.html" . }}

View file

@ -36,7 +36,7 @@
{{ end }}
</ul>
{{- if site.IsMultiLingual }}
{{- if hugo.IsMultilingual }}
<select id="select-language" onchange="location = this.value;">
{{ $siteLanguages := site.Languages }}
{{ $pageLang := .Page.Lang}}

View file

@ -1,5 +1,7 @@
{{ define "main" }}
{{ partial "top_button.html" . }}
{{ partial "navigation.html" . }}
{{ partial "bradcrumb.html" . }}

View file

@ -1,5 +1,7 @@
{{ define "main" }}
{{ partial "top_button.html" . }}
{{ partial "navigation.html" . }}
{{ partial "bradcrumb.html" . }}