diff --git a/generate-blog.bash b/generate-blog.bash index 52f2493..f29c37e 100755 --- a/generate-blog.bash +++ b/generate-blog.bash @@ -229,16 +229,16 @@ while read -r post_html_path; do # Use the first 5 lines after the title as post excerpt. excerpt="$(tail -n +2 <<<"$text" | head -n 5)" || exit $? + read -rd '' post_html < "$post_html_path" || true # Escape just the article element for use in the RSS feed article description. # This way the entire article can be read from an RSS reader. - article_html="$({ head -n -1 | tail -n +2 | escape-html; } < "$post_html_path")" + article_html="$(escape-html <<<"$post_html")" # Escape the post html file name to safely use it in the generated html. href="$(escape-html <<<"$post_html_path")" || exit $? post_dir="$(dirname "$post_html_path")" || exit $? post_publish_dir="$publish_dir/posts/$(basename "$post_dir")" || exit $? - read -rd '' post_html < "$post_html_path" || true publish-html "$publish_dir" "$post_dir" "$post_publish_dir" "$post_html" "$title" || exit $? diff --git a/index/index.html b/index/index.html index 802e368..4517e7e 100644 --- a/index/index.html +++ b/index/index.html @@ -1,8 +1,12 @@

Hugo's Homepage

- Hello and welcome to my personal homepage! I'll add some info about my - projects to this page soon. In the mean time, maybe take a look at - my blog + Hello and welcome to my personal homepage! A little bit about myself: My name + is Hugo. I am a software developer from the Netherlands and mainly like to work + with golang, PHP, elisp, BASH and web technologies (javascript/html etc). I am + interested in infrastructure, open source, decentralized technologies, linux + and shell scripting. I am also a big proponent of not using javascript wen you + don't need it, so this website is entirely functional without having javascript + enabled!

@@ -19,14 +23,15 @@

My Projects

-
- -
dns-yml
-

- Manage DNS records through version controlled yaml files. -

-
+

+ I regularly work on software projects that I make publicly available. Below is + a selected few of my projects that I am either currently working on or am + currenty the most proud of. If you want to see all of the open source projects + that I have worked on in the past, feel free to checkout the github or + snorbaart links above! +

+