diff --git a/blog.html b/blog.html index ffc5fde..b453972 100644 --- a/blog.html +++ b/blog.html @@ -25,7 +25,7 @@

Blog

-

How To Use Your Email Client For Physical Mail

Mon 17 Feb 2020 11:55:42 AM CET

<article> +

How To Use Your Email Client For Physical Mail

ma, 17 feb 2020 11:55:42 CET

<article> <h1> How To Use Your Email Client For Physical Mail </h1> @@ -138,9 +138,9 @@ </p> </article> ... Continue reading

-

Creating a Simple Static Blog

Sat 08 Feb 2020 12:14:16 PM CET

... Continue reading

+

Creating a Simple Static Blog

za, 08 feb 2020 12:14:16 CET

... Continue reading

-

Introduction

Sat 08 Feb 2020 09:30:06 AM CET

<article> +


Introduction

za, 08 feb 2020 09:30:06 CET

<article> <h1> Introduction </h1> diff --git a/feed.xml b/feed.xml index 5f4c7d4..9398550 100644 --- a/feed.xml +++ b/feed.xml @@ -5,12 +5,12 @@ https://hugot.nl/blog.html Hugo's personal blog en-us - do 16 apr 2020 7:43:28 CEST - do 16 apr 2020 7:43:28 CEST + do, 16 apr 2020 07:58:04 CEST + do, 16 apr 2020 07:58:04 CEST http://blogs.law.harvard.edu/tech/rss Hugo's Custom Bash Script - social@hugot.nl - infra@hugot.nl + social@hugot.nl (Hugot) + infra@hugot.nl (Hugot Infra) How To Use Your Email Client For Physical Mail https://hugot.nl/posts/use-your-mail-client-for-physical-mail/index.html<article> <h1> How To Use Your Email Client For Physical Mail @@ -122,9 +122,9 @@ don&#39;t recommend using it if you don&#39;t fully understand its contents, it&#39;s not a polished user experience 🤓. </p> -</article>Mon 17 Feb 2020 11:55:42 AM CET How To Use Your Email Client For Physical Mail NDc2MDg1MjYxIDQxODUK +</article>ma, 17 feb 2020 11:55:42 CET How To Use Your Email Client For Physical Mail NDc2MDg1MjYxIDQxODUK - Creating a Simple Static Blog https://hugot.nl/posts/simple-static-blog/index.htmlSat 08 Feb 2020 12:14:16 PM CET Creating a Simple Static Blog MjU5OTIyNDIwMyA2MTI5Cg== + Creating a Simple Static Blog https://hugot.nl/posts/simple-static-blog/index.htmlza, 08 feb 2020 12:14:16 CET Creating a Simple Static Blog MjU5OTIyNDIwMyA2MTI5Cg== Introduction https://hugot.nl/posts/introduction/index.html<article> <h1> @@ -159,7 +159,7 @@ <p> I hope to see you around! - Hugo </p> -</article>Sat 08 Feb 2020 09:30:06 AM CET Introduction MzYzMzkyNDgwOCA5MDcK +</article>za, 08 feb 2020 09:30:06 CET Introduction MzYzMzkyNDgwOCA5MDcK diff --git a/generate-blog.bash b/generate-blog.bash index d847b12..a732877 100755 --- a/generate-blog.bash +++ b/generate-blog.bash @@ -67,6 +67,10 @@ print-blog-html-bottom() { ' } +rfc-822-date-time() { + date "$@" +'%a, %d %b %Y %H:%M:%S %Z' +} + # Note: pubDate and lastBuildDate are both set to the current time. print-blog-rss-top() { cat <https://hugot.nl/blog.html Hugo's personal blog en-us - $(date) - $(date) + $(rfc-822-date-time) + $(rfc-822-date-time) http://blogs.law.harvard.edu/tech/rss Hugo's Custom Bash Script - social@hugot.nl - infra@hugot.nl + social@hugot.nl (Hugot) + infra@hugot.nl (Hugot Infra) EOF } @@ -150,6 +154,9 @@ while read -r post_html; do echo "$pubdate" > "$pubdate_file" fi + # Convert publishing date to be conform RFC 822 + pubdate="$(rfc-822-date-time --date="$pubdate")" + { el div