diff --git a/assets/img/default.png b/assets/img/default.png new file mode 100644 index 0000000..187fff0 Binary files /dev/null and b/assets/img/default.png differ diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 3ed4376..9673eb9 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -8,7 +8,8 @@
{{ range .Pages }} -
+ {{ $default_img := resources.Get "img/default.png" }} +
{{ if .Params.band }} {{ .Params.band }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 33de276..0efd949 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,7 +21,8 @@ {{ if .Params.cover }} {{ end }} - {{ .Title }} + {{ $default_img := resources.Get "img/default.png" }} + {{ .Title }} {{ if .Params.cover }} {{ end }}