diff --git a/config.toml b/config.toml index 6503f95..49dc006 100644 --- a/config.toml +++ b/config.toml @@ -22,7 +22,7 @@ DefaultContentLanguage = "en" # Default language fo introHeight = "fullheight" # Input either "medium" or "large" or "fullheight" showLatest = false # Show latest blog post summary showAllPosts = false # Set true to list all posts on home page, or set false to link to separate blog list page - allPostsArchiveFormat = true # show all posts in an archive format + allPostsArchiveFormat = false # show all posts in an archive format numberOfProjectsToShow = 0 # Maximum number of projects to show on home page. Unset or comment out to show all projects localTime = false # Show your current local time in contact section timeZone = "America/Los_Angeles" # Your timezone as in the TZ* column of this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones diff --git a/content/blog/PrettyRivers/index.md b/content/blog/PrettyRivers/index.md index 19ae82b..f14c3b4 100644 --- a/content/blog/PrettyRivers/index.md +++ b/content/blog/PrettyRivers/index.md @@ -1,6 +1,7 @@ +++ date = '2024-01-01T19:13:02Z' title = 'Pretty rivers' +image = 'wisconsin_rivers.png' +++ I like maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art. diff --git a/content/blog/RiverLevelCharts/index.md b/content/blog/RiverLevelCharts/index.md index dc1bdfa..2c33f10 100644 --- a/content/blog/RiverLevelCharts/index.md +++ b/content/blog/RiverLevelCharts/index.md @@ -1,6 +1,7 @@ +++ date = '2024-10-14T19:13:18Z' title = 'River level charts' +image = 'example_last_6_months.png' +++ I'm interested in rivers (both ecologically and recreationally) and I want to know diff --git a/layouts/blog/list.html b/layouts/blog/list.html new file mode 100644 index 0000000..c366a7d --- /dev/null +++ b/layouts/blog/list.html @@ -0,0 +1,31 @@ +{{ define "main" }} +
+ {{ .Content }} +
+
+ {{ if .Site.Params.home.showLatest | default true }} +

{{ i18n "index_blog_latestPosts" . }}

+ {{ range first 1 .Pages.ByPublishDate.Reverse }} +
+ {{ if .Params.date }}{{ .Date.Format (.Site.Params.dateFormat | default ":date_medium") }}{{ end }} +

+ + {{ .Title | markdownify }} + +

+
+ {{ .Summary }} + {{ if .Truncated }} + {{ i18n "index_blog_readMore" . }} + {{ end }} +
+
+ {{ end }} + {{ end }} + {{if .Site.Params.home.allPostsArchiveFormat}} + {{ partialCached "blog/archive.html" .}} + {{else}} + {{ partialCached "blog/li.html" . }} + {{end}} +
+{{ end }} diff --git a/layouts/partials/blog/li.html b/layouts/partials/blog/li.html new file mode 100644 index 0000000..d60eb7d --- /dev/null +++ b/layouts/partials/blog/li.html @@ -0,0 +1,29 @@ +{{ range .Pages.ByPublishDate.Reverse }} +{{ $post := . }} +
+ {{ with .Params.image }} + {{ with $post.Resources.GetMatch . }} + {{ with .Resize "400x" }} +
+ + {{ $post.Title }} + +
+ {{ end }} + {{ end }} + {{ end }} +
+

+ {{ $post.Title | markdownify }} +

+ {{ if $post.Params.date }} +

+ {{ $post.Date.Format (.Site.Params.dateFormat | default ":date_medium") }} +

+ {{ end }} + {{ if $post.Summary }} +

{{ $post.Summary | truncate 150 }}

+ {{ end }} +
+
+{{ end }} diff --git a/public/blog/index.html b/public/blog/index.html index 730ba1c..56a0b95 100644 --- a/public/blog/index.html +++ b/public/blog/index.html @@ -139,48 +139,69 @@ Posts - Dendroalsia
-

All Posts

- -
- - - - - - - + +
- - - -

2024

- -
  • - Oct 14, 2024 - + +
    + + River level charts + +
    + - River level charts -
  • - - - - - -
  • +
    +

    + River level charts +

    - Jan 1, 2024 - +

    + Oct 14, 2024 +

    - Pretty rivers -
  • - - - -
    + +

    I’m interested in rivers (both ecologically and recreationally) and I want to know

    +

    + +
    + + +
    + + +
    + + Pretty rivers + +
    + + + +
    +

    + Pretty rivers +

    + +

    + Jan 1, 2024 +

    + + +

    I like maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a …

    + +
    +
    + + + diff --git a/public/blog/prettyrivers/index.html b/public/blog/prettyrivers/index.html index e217553..35e63af 100644 --- a/public/blog/prettyrivers/index.html +++ b/public/blog/prettyrivers/index.html @@ -166,6 +166,8 @@ Pretty Rivers - Dendroalsia + +
    diff --git a/public/blog/prettyrivers/wisconsin_rivers_hu_d6e96c96b70bfc8f.png b/public/blog/prettyrivers/wisconsin_rivers_hu_d6e96c96b70bfc8f.png new file mode 100644 index 0000000..e314060 Binary files /dev/null and b/public/blog/prettyrivers/wisconsin_rivers_hu_d6e96c96b70bfc8f.png differ diff --git a/public/blog/riverlevelcharts/example_last_6_months_hu_3ee8d3a026ad5207.png b/public/blog/riverlevelcharts/example_last_6_months_hu_3ee8d3a026ad5207.png new file mode 100644 index 0000000..48d246b Binary files /dev/null and b/public/blog/riverlevelcharts/example_last_6_months_hu_3ee8d3a026ad5207.png differ diff --git a/public/blog/riverlevelcharts/index.html b/public/blog/riverlevelcharts/index.html index a8a7474..9d102d8 100644 --- a/public/blog/riverlevelcharts/index.html +++ b/public/blog/riverlevelcharts/index.html @@ -166,6 +166,8 @@ River Level Charts - Dendroalsia + +
    diff --git a/resources/_gen/images/blog/prettyrivers/wisconsin_rivers_hu_8f68886e635e2e1f.png b/resources/_gen/images/blog/prettyrivers/wisconsin_rivers_hu_8f68886e635e2e1f.png new file mode 100644 index 0000000..6754eae Binary files /dev/null and b/resources/_gen/images/blog/prettyrivers/wisconsin_rivers_hu_8f68886e635e2e1f.png differ diff --git a/resources/_gen/images/blog/prettyrivers/wisconsin_rivers_hu_d6e96c96b70bfc8f.png b/resources/_gen/images/blog/prettyrivers/wisconsin_rivers_hu_d6e96c96b70bfc8f.png new file mode 100644 index 0000000..e314060 Binary files /dev/null and b/resources/_gen/images/blog/prettyrivers/wisconsin_rivers_hu_d6e96c96b70bfc8f.png differ diff --git a/resources/_gen/images/blog/riverlevelcharts/example_last_6_months_hu_3ee8d3a026ad5207.png b/resources/_gen/images/blog/riverlevelcharts/example_last_6_months_hu_3ee8d3a026ad5207.png new file mode 100644 index 0000000..48d246b Binary files /dev/null and b/resources/_gen/images/blog/riverlevelcharts/example_last_6_months_hu_3ee8d3a026ad5207.png differ diff --git a/resources/_gen/images/blog/riverlevelcharts/example_last_6_months_hu_f99784ff15f12d9d.png b/resources/_gen/images/blog/riverlevelcharts/example_last_6_months_hu_f99784ff15f12d9d.png new file mode 100644 index 0000000..63310c8 Binary files /dev/null and b/resources/_gen/images/blog/riverlevelcharts/example_last_6_months_hu_f99784ff15f12d9d.png differ