diff --git a/content/posts/2019/07/19/p52-28-duck-swiming.md b/content/posts/2019/07/19/p52-28-duck-swiming.md new file mode 100644 index 00000000..35f1d77c --- /dev/null +++ b/content/posts/2019/07/19/p52-28-duck-swiming.md @@ -0,0 +1,7 @@ ++++ +date = "2019-07-19T04:00:00-07:00" +title = "P52-28 : Duck Swiming" +image = "/wp-content/uploads/2019/07/20190713163337.jpg" +series = ["Project 52"] ++++ +![P52-28 : Duck Swiming](/wp-content/uploads/2019/07/20190713163337.jpg) diff --git a/content/wp-content/uploads/2019/07/20190713163337.jpg b/content/wp-content/uploads/2019/07/20190713163337.jpg new file mode 100644 index 00000000..0c7b25a4 Binary files /dev/null and b/content/wp-content/uploads/2019/07/20190713163337.jpg differ diff --git a/themes/Bleach/layouts/partials/category.html b/themes/Bleach/layouts/partials/category.html new file mode 100644 index 00000000..10b2b019 --- /dev/null +++ b/themes/Bleach/layouts/partials/category.html @@ -0,0 +1,81 @@ +
+

+ Category: {{ .Title }} + {{ if .Site.Params.social.rss }} + + + rss + + {{ end }} +

+
+ +

Posts

+
+ {{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }} + + {{ $scratch := newScratch }} + {{ if .Site.Params.writers }} + {{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }} + {{ else }} + {{ $scratch.Set "writer" .Site.Params.social | default dict }} + {{ end }} + {{ $writer := $scratch.Get "writer" }} + + {{ if and (isset .Params "image") .Params.image }} + {{ if eq (mod $index 2) 0 }} +
+ {{ else }} +
+ {{ end }} + {{ else }} +
+ {{ end }} + + {{ if and (isset .Params "image") .Params.image }} + + {{ end }} + +
+
+ {{ .Date.Format "02 January" }} + + + + {{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }} + {{ if and (isset .Site.Params "author") .Site.Params.author }} + / + + + + {{ end }} + {{ else }} + + {{ .Params.writer | default .Site.Params.author }} + + {{ end }} + + + {{ range .Params.categories }} + / + + {{ . }} + + {{ end }} +
+ +
+ +
+
+
+ {{ end }} +
diff --git a/themes/Bleach/layouts/partials/scripts.html b/themes/Bleach/layouts/partials/scripts.html index e0d0f306..e69de29b 100644 --- a/themes/Bleach/layouts/partials/scripts.html +++ b/themes/Bleach/layouts/partials/scripts.html @@ -1,9 +0,0 @@ -{{ "" | safeHTML }} - \ No newline at end of file diff --git a/themes/Bleach/layouts/partials/series.html b/themes/Bleach/layouts/partials/series.html new file mode 100644 index 00000000..5075ac36 --- /dev/null +++ b/themes/Bleach/layouts/partials/series.html @@ -0,0 +1,70 @@ +
+

+ Series: {{ .Title }} + {{ if .Site.Params.social.rss }} + + + rss + + {{ end }} +

+
+ +

Posts

+
+ {{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }} + {{ if and (isset .Params "image") .Params.image }} + {{ if eq (mod $index 2) 0 }} +
+ {{ else }} +
+ {{ end }} + {{ else }} + +
+ + {{ end }} + + {{ if and (isset .Params "image") .Params.image }} + + + {{ end }} + +
+
+ {{ .Date.Format "02 January 2006" }} / + + {{ if and (isset .Site.Params "author") .Site.Params.author }} + + + {{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }} + + {{ else }} + {{ .Site.Params.author | default "" }} + {{ end }} + + {{ end }} + + {{ range .Params.series }} + / + + {{ . }} + + {{ end }} +
+ +
+ +
+
+
+ {{ end }} +
diff --git a/themes/Bleach/layouts/partials/tag.html b/themes/Bleach/layouts/partials/tag.html new file mode 100644 index 00000000..ad8fef79 --- /dev/null +++ b/themes/Bleach/layouts/partials/tag.html @@ -0,0 +1,70 @@ +
+

+ Tag: {{ .Title }} + {{ if .Site.Params.social.rss }} + + + rss + + {{ end }} +

+
+ +

Posts

+
+ {{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }} + {{ if and (isset .Params "image") .Params.image }} + {{ if eq (mod $index 2) 0 }} +
+ {{ else }} +
+ {{ end }} + {{ else }} + +
+ + {{ end }} + + {{ if and (isset .Params "image") .Params.image }} + + + {{ end }} + +
+
+ {{ .Date.Format "02 January 2006" }} / + + {{ if and (isset .Site.Params "author") .Site.Params.author }} + + + {{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }} + + {{ else }} + {{ .Site.Params.author | default "" }} + {{ end }} + + {{ end }} + + {{ range .Params.categories }} + / + + {{ . }} + + {{ end }} +
+ +
+ +
+
+
+ {{ end }} +
diff --git a/themes/Bleach/layouts/taxonomy/category.html b/themes/Bleach/layouts/taxonomy/category.html new file mode 100644 index 00000000..99613c74 --- /dev/null +++ b/themes/Bleach/layouts/taxonomy/category.html @@ -0,0 +1,26 @@ + + + {{ partial "head.html" . }} + + +
+ Skip to content + + +
+ + {{ partial "category.html" . }} +
+ + {{ partial "footer.html" . }} +
+ {{ partial "scripts.html" . }} + diff --git a/themes/Bleach/layouts/taxonomy/category.terms.html b/themes/Bleach/layouts/taxonomy/category.terms.html new file mode 100644 index 00000000..9d676f80 --- /dev/null +++ b/themes/Bleach/layouts/taxonomy/category.terms.html @@ -0,0 +1,45 @@ + + + {{ partial "head.html" . }} + +
+ Skip to content + + +
+
+ {{ if .Site.Params.categoriesByCount }} + {{ $.Scratch.Set "categories" .Data.Terms.ByCount }} + {{ else }} + {{ $.Scratch.Set "categories" .Data.Terms.Alphabetical }} + {{ end }} +
    +
    +

    {{ i18n .Data.Plural }}

    +
    + {{ $data := .Data }} + {{ range $key, $value := $.Scratch.Get "categories" }} +
  • + +
  • + {{ end }} +
+
+ {{ $.Scratch.Set "showCategories" false }} +
+ {{ partial "scripts" . }} + + diff --git a/themes/Bleach/layouts/taxonomy/series.html b/themes/Bleach/layouts/taxonomy/series.html new file mode 100644 index 00000000..7291aa57 --- /dev/null +++ b/themes/Bleach/layouts/taxonomy/series.html @@ -0,0 +1,23 @@ + + + {{ partial "head.html" . }} + + +
+ Skip to content + + +
+ + {{ partial "series.html" . }} +
+ + {{ partial "footer.html" . }} +
+ {{ partial "scripts.html" . }} + diff --git a/themes/Bleach/layouts/taxonomy/series.terms.html b/themes/Bleach/layouts/taxonomy/series.terms.html new file mode 100644 index 00000000..9830160b --- /dev/null +++ b/themes/Bleach/layouts/taxonomy/series.terms.html @@ -0,0 +1,45 @@ + + + {{ partial "head.html" . }} + +
+ Skip to content + + +
+
+ {{ if .Site.Params.seriesByCount }} + {{ $.Scratch.Set "series" .Data.Terms.ByCount }} + {{ else }} + {{ $.Scratch.Set "series" .Data.Terms.Alphabetical }} + {{ end }} +
    +
    +

    {{ i18n .Data.Plural }}

    +
    + {{ $data := .Data }} + {{ range $key, $value := $.Scratch.Get "series" }} +
  • + +
  • + {{ end }} +
+
+ {{ $.Scratch.Set "showCategories" false }} +
+ {{ partial "scripts" . }} + + diff --git a/themes/Bleach/layouts/taxonomy/tag.html b/themes/Bleach/layouts/taxonomy/tag.html new file mode 100644 index 00000000..c801c330 --- /dev/null +++ b/themes/Bleach/layouts/taxonomy/tag.html @@ -0,0 +1,26 @@ + + + {{ partial "head.html" . }} + + +
+ Skip to content + + +
+ + {{ partial "tag.html" . }} +
+ + {{ partial "footer.html" . }} +
+ {{ partial "scripts.html" . }} + diff --git a/themes/Bleach/layouts/taxonomy/tag.terms.html b/themes/Bleach/layouts/taxonomy/tag.terms.html new file mode 100644 index 00000000..cd7ae918 --- /dev/null +++ b/themes/Bleach/layouts/taxonomy/tag.terms.html @@ -0,0 +1,45 @@ + + + {{ partial "head.html" . }} + +
+ Skip to content + + +
+
+ {{ if .Site.Params.tagsByCount }} + {{ $.Scratch.Set "tags" .Data.Terms.ByCount }} + {{ else }} + {{ $.Scratch.Set "tags" .Data.Terms.Alphabetical }} + {{ end }} +
    +
    +

    {{ i18n .Data.Plural }}

    +
    + {{ $data := .Data }} + {{ range $key, $value := $.Scratch.Get "tags" }} +
  • + +
  • + {{ end }} +
+
+ {{ $.Scratch.Set "showCategories" false }} +
+ {{ partial "scripts" . }} + +