From f34addf7933cc0ca1b19efdce97626d613b1c494 Mon Sep 17 00:00:00 2001 From: horhik Date: Sun, 6 Jun 2021 17:26:13 +0300 Subject: [PATCH] add content types --- layouts/portfolio/li.html | 4 ++++ layouts/portfolio/li.html~ | 0 layouts/portfolio/list.html | 28 ++++++++++++++++++++++++++++ layouts/portfolio/list.html~ | 8 ++++++++ layouts/portfolio/summary.html | 9 +++++++++ layouts/portfolio/summary.html~ | 30 ++++++++++++++++++++++++++++++ layouts/posts/li.html | 4 ++++ layouts/posts/li.html~ | 0 layouts/posts/list.html | 26 ++++++++++++++++++++++++++ layouts/posts/list.html~ | 8 ++++++++ layouts/posts/summary.html | 9 +++++++++ layouts/posts/summary.html~ | 30 ++++++++++++++++++++++++++++++ 12 files changed, 156 insertions(+) create mode 100644 layouts/portfolio/li.html create mode 100644 layouts/portfolio/li.html~ create mode 100644 layouts/portfolio/list.html create mode 100644 layouts/portfolio/list.html~ create mode 100644 layouts/portfolio/summary.html create mode 100644 layouts/portfolio/summary.html~ create mode 100644 layouts/posts/li.html create mode 100644 layouts/posts/li.html~ create mode 100644 layouts/posts/list.html create mode 100644 layouts/posts/list.html~ create mode 100644 layouts/posts/summary.html create mode 100644 layouts/posts/summary.html~ diff --git a/layouts/portfolio/li.html b/layouts/portfolio/li.html new file mode 100644 index 0000000..695a172 --- /dev/null +++ b/layouts/portfolio/li.html @@ -0,0 +1,4 @@ +
  • + {{ .Title }} +
    {{ .Date.Format "Mon, Jan 2, 2006" }}
    +
  • diff --git a/layouts/portfolio/li.html~ b/layouts/portfolio/li.html~ new file mode 100644 index 0000000..e69de29 diff --git a/layouts/portfolio/list.html b/layouts/portfolio/list.html new file mode 100644 index 0000000..f517284 --- /dev/null +++ b/layouts/portfolio/list.html @@ -0,0 +1,28 @@ + + + + + {{ .Title }} + {{ $style := resources.Get "css/basic.scss" }} + {{ $style = $style | toCSS }} + + + + {{ with .Site.Params.description }}{{ end }} + {{ with .Site.Params.author }}{{ end }} + + + + + {{ with .OutputFormats.Get "RSS" -}} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} + {{- end }} + +
    +
    +

    {{ .Title }}

    + {{ range .Pages }} + {{ .Render "summary"}} + {{ end }} +
    +
    diff --git a/layouts/portfolio/list.html~ b/layouts/portfolio/list.html~ new file mode 100644 index 0000000..1e51ba2 --- /dev/null +++ b/layouts/portfolio/list.html~ @@ -0,0 +1,8 @@ +
    +
    +

    {{ .Title }}

    + {{ range .Pages }} + {{ .Render "summary"}} + {{ end }} +
    +
    diff --git a/layouts/portfolio/summary.html b/layouts/portfolio/summary.html new file mode 100644 index 0000000..d5b9cc3 --- /dev/null +++ b/layouts/portfolio/summary.html @@ -0,0 +1,9 @@ +
    +
    + {{ .Title }} +
    + + {{ range .Params.tags }} + {{ . }} + {{ end }} +
    diff --git a/layouts/portfolio/summary.html~ b/layouts/portfolio/summary.html~ new file mode 100644 index 0000000..133cdf9 --- /dev/null +++ b/layouts/portfolio/summary.html~ @@ -0,0 +1,30 @@ + + + + + {{ .Title }} + {{ $style := resources.Get "css/basic.scss" }} + {{ $style = $style | toCSS }} + + + + {{ with .Site.Params.description }}{{ end }} + {{ with .Site.Params.author }}{{ end }} + + + + + {{ with .OutputFormats.Get "RSS" -}} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} + {{- end }} + + +
    +
    + {{ .Title }} +
    + + {{ range .Params.tags }} + {{ . }} + {{ end }} +
    diff --git a/layouts/posts/li.html b/layouts/posts/li.html new file mode 100644 index 0000000..695a172 --- /dev/null +++ b/layouts/posts/li.html @@ -0,0 +1,4 @@ +
  • + {{ .Title }} +
    {{ .Date.Format "Mon, Jan 2, 2006" }}
    +
  • diff --git a/layouts/posts/li.html~ b/layouts/posts/li.html~ new file mode 100644 index 0000000..e69de29 diff --git a/layouts/posts/list.html b/layouts/posts/list.html new file mode 100644 index 0000000..36f4a56 --- /dev/null +++ b/layouts/posts/list.html @@ -0,0 +1,26 @@ + + + + + {{ .Title }} + {{ $style := resources.Get "css/basic.scss" }} + {{ $style = $style | toCSS }} + {{ with .Site.Params.description }}{{ end }} + {{ with .Site.Params.author }}{{ end }} + + + + + {{ with .OutputFormats.Get "RSS" -}} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} + {{- end }} + + +
    +
    +

    {{ .Title }}

    + {{ range .Pages }} + {{ .Render "summary"}} + {{ end }} +
    +
    diff --git a/layouts/posts/list.html~ b/layouts/posts/list.html~ new file mode 100644 index 0000000..1e51ba2 --- /dev/null +++ b/layouts/posts/list.html~ @@ -0,0 +1,8 @@ +
    +
    +

    {{ .Title }}

    + {{ range .Pages }} + {{ .Render "summary"}} + {{ end }} +
    +
    diff --git a/layouts/posts/summary.html b/layouts/posts/summary.html new file mode 100644 index 0000000..d5b9cc3 --- /dev/null +++ b/layouts/posts/summary.html @@ -0,0 +1,9 @@ +
    +
    + {{ .Title }} +
    + + {{ range .Params.tags }} + {{ . }} + {{ end }} +
    diff --git a/layouts/posts/summary.html~ b/layouts/posts/summary.html~ new file mode 100644 index 0000000..133cdf9 --- /dev/null +++ b/layouts/posts/summary.html~ @@ -0,0 +1,30 @@ + + + + + {{ .Title }} + {{ $style := resources.Get "css/basic.scss" }} + {{ $style = $style | toCSS }} + + + + {{ with .Site.Params.description }}{{ end }} + {{ with .Site.Params.author }}{{ end }} + + + + + {{ with .OutputFormats.Get "RSS" -}} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} + {{- end }} + + +
    +
    + {{ .Title }} +
    + + {{ range .Params.tags }} + {{ . }} + {{ end }} +