diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index eacfec0..0000000 --- a/layouts/404.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ partial "header.html" . }} - -

404: Page not found

- -{{ .Content }} - -{{ partial "footer.html" . }} diff --git a/layouts/blog.html b/layouts/blog.html deleted file mode 100644 index 26dccc7..0000000 --- a/layouts/blog.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} -{{ .Content }} - -{{range.Site.RegularPages}} -
  • {{.Title}}
  • -{{end}} - -{{ partial "tagcloud.html" . }} - -{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 008a42e..df4f9b2 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -13,7 +13,7 @@ {{- end -}} diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index 0d51052..ff7959b 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -1,18 +1,20 @@ - -
    - {{ with .Get "link"}}{{ end }} - - {{ if .Get "link"}}{{ end }} - {{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}} -
    {{ if isset .Params "title" }} -

    {{ .Get "title" }}

    {{ end }} - {{ if or (.Get "caption") (.Get "attr")}}

    - {{ .Get "caption" }} - {{ with .Get "attrlink"}}{{ end }} - {{ .Get "attr" }} - {{ if .Get "attrlink"}}{{ end }} -

    {{ end }} -
    - {{ end }} + +
    + {{- with .Get "link"}}{{ end -}} + {{.}} + {{- if .Get "link"}}{{ end -}} + {{- with .Get "caption" -}} +
    + {{- . -}} +
    + {{- end -}}
    -