Added P52-28 : Duck Swiming
This commit is contained in:
parent
7252e4b5af
commit
fb168ece72
12 changed files with 438 additions and 9 deletions
7
content/posts/2019/07/19/p52-28-duck-swiming.md
Normal file
7
content/posts/2019/07/19/p52-28-duck-swiming.md
Normal file
|
|
@ -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"]
|
||||
+++
|
||||

|
||||
BIN
content/wp-content/uploads/2019/07/20190713163337.jpg
Normal file
BIN
content/wp-content/uploads/2019/07/20190713163337.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
81
themes/Bleach/layouts/partials/category.html
Normal file
81
themes/Bleach/layouts/partials/category.html
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
<div class="archive-header">
|
||||
<h1>
|
||||
Category: {{ .Title }}
|
||||
{{ if .Site.Params.social.rss }}
|
||||
<a href="{{ .RSSLink }}" data-animate-hover="pulse" class="in-page-rss" target="_blank">
|
||||
<i class="fas fa-rss" title="rss"></i>
|
||||
<span class="screen-reader-text">rss</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<h1 class="screen-reader-text">Posts</h1>
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ 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 }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
{{ else }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<div class="post type-post status-publish format-standard hentry category-standard category-travel excerpt zoom full-without-featured odd excerpt">
|
||||
{{ end }}
|
||||
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
<a class="featured-image-link" href="{{ .Permalink }}"><div class='featured-image lazy lazy-bg-image' {{if isset .Site.Params "usepostimgfolder"}}data-background="{{ .Permalink }}{{ .Params.image }}"{{ else }}data-background="{{ .Params.image | absURL }}"{{ end }}></div></a>
|
||||
{{ end }}
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">{{ .Date.Format "02 January" }}</span>
|
||||
|
||||
|
||||
|
||||
{{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }}
|
||||
{{ if and (isset .Site.Params "author") .Site.Params.author }}
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="{{ $writer.link | default .Site.Params.authorlink | absURL }}" title="Posts by {{ .Params.writer | default .Site.Params.author }}" rel="author">{{ .Params.writer | default .Site.Params.author }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<span class="author">
|
||||
{{ .Params.writer | default .Site.Params.author }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ range .Params.categories }}
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="{{ .Permalink }} "> {{ .Title }} </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
{{ .Summary }}
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="{{ .Permalink }}">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{{ "<!-- google analitycs -->" | safeHTML }}
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', '{{ .Site.Params.googleAnalitycsID }}', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
70
themes/Bleach/layouts/partials/series.html
Normal file
70
themes/Bleach/layouts/partials/series.html
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
<div class="archive-header">
|
||||
<h1>
|
||||
Series: {{ .Title }}
|
||||
{{ if .Site.Params.social.rss }}
|
||||
<a href="{{ .RSSLink }}" data-animate-hover="pulse" class="in-page-rss" target="_blank">
|
||||
<i class="fas fa-rss" title="rss"></i>
|
||||
<span class="screen-reader-text">rss</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<h1 class="screen-reader-text">Posts</h1>
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }}
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
{{ if eq (mod $index 2) 0 }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
{{ else }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
|
||||
<div class="post type-post status-publish format-standard hentry category-standard category-travel excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
<a class="featured-image-link" href="{{ .Permalink }}"><div class='featured-image lazy lazy-bg-image' data-background="{{ .Params.image | absURL }}"></div></a>
|
||||
|
||||
{{ end }}
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">{{ .Date.Format "02 January 2006" }}</span> <span> / </span>
|
||||
|
||||
{{ if and (isset .Site.Params "author") .Site.Params.author }}
|
||||
|
||||
<span class="author">
|
||||
{{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }}
|
||||
<a href="{{ .Site.Params.authorLink | default "" | absURL }}" title="Posts by {{ .Site.Params.author | default "" }}" rel="author">{{ .Site.Params.author | default "" }}</a>
|
||||
{{ else }}
|
||||
{{ .Site.Params.author | default "" }}
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ range .Params.series }}
|
||||
<span> / </span>
|
||||
<span class="series">
|
||||
<a href="/series/{{ . | urlize }}">{{ . }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="{{ .Permalink }} "> {{ .Title }} </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
{{ .Summary }}
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="{{ .Permalink }}">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
70
themes/Bleach/layouts/partials/tag.html
Normal file
70
themes/Bleach/layouts/partials/tag.html
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
<div class="archive-header">
|
||||
<h1>
|
||||
Tag: {{ .Title }}
|
||||
{{ if .Site.Params.social.rss }}
|
||||
<a href="{{ .RSSLink }}" data-animate-hover="pulse" class="in-page-rss" target="_blank">
|
||||
<i class="fas fa-rss" title="rss"></i>
|
||||
<span class="screen-reader-text">rss</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<h1 class="screen-reader-text">Posts</h1>
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }}
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
{{ if eq (mod $index 2) 0 }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
{{ else }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
|
||||
<div class="post type-post status-publish format-standard hentry category-standard category-travel excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
<a class="featured-image-link" href="{{ .Permalink }}"><div class='featured-image lazy lazy-bg-image' data-background="{{ .Params.image | absURL }}"></div></a>
|
||||
|
||||
{{ end }}
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">{{ .Date.Format "02 January 2006" }}</span> <span> / </span>
|
||||
|
||||
{{ if and (isset .Site.Params "author") .Site.Params.author }}
|
||||
|
||||
<span class="author">
|
||||
{{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }}
|
||||
<a href="{{ .Site.Params.authorLink | default "" | absURL }}" title="Posts by {{ .Site.Params.author | default "" }}" rel="author">{{ .Site.Params.author | default "" }}</a>
|
||||
{{ else }}
|
||||
{{ .Site.Params.author | default "" }}
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ range .Params.categories }}
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="{{ .Permalink }} "> {{ .Title }} </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
{{ .Summary }}
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="{{ .Permalink }}">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
26
themes/Bleach/layouts/taxonomy/category.html
Normal file
26
themes/Bleach/layouts/taxonomy/category.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>{{ partial "head.html" . }}</head>
|
||||
|
||||
<body class="home blog ct-body standard">
|
||||
<div id="overflow-container" class="overflow-container">
|
||||
<a class="skip-content" href="#main">Skip to content</a>
|
||||
<header id="site-header" class="site-header" role="banner">
|
||||
<div class='top-navigation'>
|
||||
{{ partial "topnavigation.html" . }}
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main" class="main" role="main">
|
||||
|
||||
{{ partial "category.html" . }}
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
45
themes/Bleach/layouts/taxonomy/category.terms.html
Normal file
45
themes/Bleach/layouts/taxonomy/category.terms.html
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Page.Language | default "en" }}">
|
||||
<head>{{ partial "head.html" . }}</head>
|
||||
<body class="home blog ct-body standard">
|
||||
<div id="overflow-container" class="overflow-container">
|
||||
<a class="skip-content" href="#main">Skip to content</a>
|
||||
<header id="site-header" class="site-header" role="banner">
|
||||
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main" class="main" role="main">
|
||||
<main id="site-main">
|
||||
{{ if .Site.Params.categoriesByCount }}
|
||||
{{ $.Scratch.Set "categories" .Data.Terms.ByCount }}
|
||||
{{ else }}
|
||||
{{ $.Scratch.Set "categories" .Data.Terms.Alphabetical }}
|
||||
{{ end }}
|
||||
<ul class="posts">
|
||||
<header>
|
||||
<h1>{{ i18n .Data.Plural }}</h1>
|
||||
</header>
|
||||
{{ $data := .Data }}
|
||||
{{ range $key, $value := $.Scratch.Get "categories" }}
|
||||
<li>
|
||||
<article>
|
||||
<header>
|
||||
{{ if ne $value.Name "" }}
|
||||
<a href="{{ printf "/%s/%s" $data.Plural $value.Name | urlize | relLangURL }}">{{ $value.Name }}<span style="float:right;">{{ $value.Count }}</span></a>
|
||||
{{ else }}
|
||||
{{ i18n "uncategorized" }}<span style="float:right;">{{ $value.Count }}</span>
|
||||
{{ end }}
|
||||
</header>
|
||||
</article>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</main>
|
||||
{{ $.Scratch.Set "showCategories" false }}
|
||||
</div>
|
||||
{{ partial "scripts" . }}
|
||||
</body>
|
||||
</html>
|
||||
23
themes/Bleach/layouts/taxonomy/series.html
Normal file
23
themes/Bleach/layouts/taxonomy/series.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>{{ partial "head.html" . }}</head>
|
||||
|
||||
<body class="home blog ct-body standard">
|
||||
<div id="overflow-container" class="overflow-container">
|
||||
<a class="skip-content" href="#main">Skip to content</a>
|
||||
<header id="site-header" class="site-header" role="banner">
|
||||
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main" class="main" role="main">
|
||||
|
||||
{{ partial "series.html" . }}
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
45
themes/Bleach/layouts/taxonomy/series.terms.html
Normal file
45
themes/Bleach/layouts/taxonomy/series.terms.html
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Page.Language | default "en" }}">
|
||||
<head>{{ partial "head.html" . }}</head>
|
||||
<body class="home blog ct-body standard">
|
||||
<div id="overflow-container" class="overflow-container">
|
||||
<a class="skip-content" href="#main">Skip to content</a>
|
||||
<header id="site-header" class="site-header" role="banner">
|
||||
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main" class="main" role="main">
|
||||
<main id="site-main">
|
||||
{{ if .Site.Params.seriesByCount }}
|
||||
{{ $.Scratch.Set "series" .Data.Terms.ByCount }}
|
||||
{{ else }}
|
||||
{{ $.Scratch.Set "series" .Data.Terms.Alphabetical }}
|
||||
{{ end }}
|
||||
<ul class="posts">
|
||||
<header>
|
||||
<h1>{{ i18n .Data.Plural }}</h1>
|
||||
</header>
|
||||
{{ $data := .Data }}
|
||||
{{ range $key, $value := $.Scratch.Get "series" }}
|
||||
<li>
|
||||
<article>
|
||||
<header>
|
||||
{{ if ne $value.Name "" }}
|
||||
<a href="{{ printf "/%s/%s" $data.Plural $value.Name | urlize | relLangURL }}">{{ $value.Name }}<span style="float:right;">{{ $value.Count }}</span></a>
|
||||
{{ else }}
|
||||
{{ i18n "uncategorized" }}<span style="float:right;">{{ $value.Count }}</span>
|
||||
{{ end }}
|
||||
</header>
|
||||
</article>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</main>
|
||||
{{ $.Scratch.Set "showCategories" false }}
|
||||
</div>
|
||||
{{ partial "scripts" . }}
|
||||
</body>
|
||||
</html>
|
||||
26
themes/Bleach/layouts/taxonomy/tag.html
Normal file
26
themes/Bleach/layouts/taxonomy/tag.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>{{ partial "head.html" . }}</head>
|
||||
|
||||
<body class="home blog ct-body standard">
|
||||
<div id="overflow-container" class="overflow-container">
|
||||
<a class="skip-content" href="#main">Skip to content</a>
|
||||
<header id="site-header" class="site-header" role="banner">
|
||||
<div class='top-navigation'>
|
||||
{{ partial "topnavigation.html" . }}
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main" class="main" role="main">
|
||||
|
||||
{{ partial "tag.html" . }}
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
45
themes/Bleach/layouts/taxonomy/tag.terms.html
Normal file
45
themes/Bleach/layouts/taxonomy/tag.terms.html
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Page.Language | default "en" }}">
|
||||
<head>{{ partial "head.html" . }}</head>
|
||||
<body class="home blog ct-body standard">
|
||||
<div id="overflow-container" class="overflow-container">
|
||||
<a class="skip-content" href="#main">Skip to content</a>
|
||||
<header id="site-header" class="site-header" role="banner">
|
||||
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main" class="main" role="main">
|
||||
<main id="site-main">
|
||||
{{ if .Site.Params.tagsByCount }}
|
||||
{{ $.Scratch.Set "tags" .Data.Terms.ByCount }}
|
||||
{{ else }}
|
||||
{{ $.Scratch.Set "tags" .Data.Terms.Alphabetical }}
|
||||
{{ end }}
|
||||
<ul class="posts">
|
||||
<header>
|
||||
<h1>{{ i18n .Data.Plural }}</h1>
|
||||
</header>
|
||||
{{ $data := .Data }}
|
||||
{{ range $key, $value := $.Scratch.Get "tags" }}
|
||||
<li>
|
||||
<article>
|
||||
<header>
|
||||
{{ if ne $value.Name "" }}
|
||||
<a href="{{ printf "/%s/%s" $data.Plural $value.Name | urlize | relLangURL }}">{{ $value.Name }}<span style="float:right;">{{ $value.Count }}</span></a>
|
||||
{{ else }}
|
||||
{{ i18n "uncategorized" }}<span style="float:right;">{{ $value.Count }}</span>
|
||||
{{ end }}
|
||||
</header>
|
||||
</article>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</main>
|
||||
{{ $.Scratch.Set "showCategories" false }}
|
||||
</div>
|
||||
{{ partial "scripts" . }}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue