diff --git a/layouts/post/li-next.html b/layouts/_default/li-next.html similarity index 84% rename from layouts/post/li-next.html rename to layouts/_default/li-next.html index c7e30c0..0999f7c 100644 --- a/layouts/post/li-next.html +++ b/layouts/_default/li-next.html @@ -8,7 +8,7 @@ {{ end }}

{{ .Title }}

-

{{ .Description }}

+

{{ if (isset .Params "description") }}{{ index .Params "description" }}{{ else }}{{ .Summary }}{{ end }}

Posted

{{ range .Params.categories }}#{{ . }} {{ end }}

diff --git a/layouts/post/li.html b/layouts/_default/li.html similarity index 100% rename from layouts/post/li.html rename to layouts/_default/li.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7d7cfb9..af8f6c2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,19 +4,26 @@ {{ partial "nav-bar.html" . }}
-
+

{{ .Title }}

+
{{ if isset .Params "featuredimage" }}
- +
{{ end }} {{ .Content }}
+
{{ partial "scripts.html" . }} diff --git a/layouts/partials/home-card.html b/layouts/partials/home-card.html index e91635d..33312c4 100644 --- a/layouts/partials/home-card.html +++ b/layouts/partials/home-card.html @@ -1,4 +1,4 @@ + href="/" class="card home-card" style="background-image: url({{if isset .Site.Params "homeimg"}} {{ .Site.Params.homeimg }} {{ else }} /img/grey-cloud.jpg {{ end }})" rel="bookmark" > Home \ No newline at end of file diff --git a/layouts/post/single.html b/layouts/post/single.html deleted file mode 100644 index af8f6c2..0000000 --- a/layouts/post/single.html +++ /dev/null @@ -1,31 +0,0 @@ - - - {{ partial "head.html" . }} - - {{ partial "nav-bar.html" . }} -
-
-
-

{{ .Title }}

- -
- {{ if isset .Params "featuredimage" }} -
- -
- {{ end }} - {{ .Content }} -
- -
- - {{ partial "scripts.html" . }} - - \ No newline at end of file diff --git a/static/img/grey-cloud.jpg b/static/img/grey-cloud.jpg new file mode 100644 index 0000000..bd06c66 Binary files /dev/null and b/static/img/grey-cloud.jpg differ