Change text on index page

master
Hugo Thunnissen 2 years ago
parent 8b60280631
commit 7ab0d011f2

@ -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 $?

@ -1,8 +1,12 @@
<h1>Hugo's Homepage</h1>
<p>
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 <a href="blog.html">blog</a>
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!
</p>
<p>
@ -19,14 +23,15 @@
<section>
<header><h2>My Projects</h2></header>
<div class="cardbox">
<a href="projects/dns-yml/index.html" class="card">
<header>dns-yml</header>
<p>
Manage DNS records through version controlled yaml files.
</p>
</a>
<p>
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!
</p>
<div class="cardbox">
<a href="projects/phpinspect.el/index.html" class="card">
<header>phpinspect.el</header>
<p>
@ -35,8 +40,15 @@
</p>
</a>
<a href="projects/dns-yml/index.html" class="card">
<header>dns-yml</header>
<p>
Manage DNS records through version controlled yaml files.
</p>
</a>
<a href="projects/gitea-api-protector/index.html" class="card">
<header>gitea-api-protector</header>
<header>Gitea Api Protector</header>
<p>
Shield your gitea API from bad actors on public instances.
</p>

@ -1 +1 @@
2028812665 1438
2773733410 2102

@ -1 +1 @@
1653333435
1653337232

Loading…
Cancel
Save