diff --git a/layouts/recipes/li.html b/layouts/recipes/li.html new file mode 100644 index 0000000..9d8a659 --- /dev/null +++ b/layouts/recipes/li.html @@ -0,0 +1,4 @@ +
  • + {{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }} + {{ .Title }} +
  • diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html new file mode 100644 index 0000000..231b182 --- /dev/null +++ b/layouts/recipes/list.html @@ -0,0 +1,20 @@ +{{ define "title" }} + {{ title (i18n (lower .Title)) | default .Title }} · {{ .Site.Title }} +{{ end }} +{{ define "content" }} +
    +

    + + {{ title (i18n (lower .Title)) | default .Title }} + +

    + {{ .Content }} + + + {{ partial "pagination.html" . }} +
    +{{ end }} diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html new file mode 100644 index 0000000..6c7509e --- /dev/null +++ b/layouts/recipes/single.html @@ -0,0 +1,52 @@ +{{ define "title" }} + {{ .Title }} · {{ .Site.Title }} +{{ end }} +{{ define "content" }} +
    +
    +
    +
    +

    + + {{ .Title }} + +

    +
    + +
    + +
    + {{ if .Params.featuredImage }} + Featured image + {{ end }} + {{ .Content }} +
    + + + +
    + + {{ partial "posts/math.html" . }} +
    +{{ end }}