added writing time variable to posts

this shows the user how much time it took to write the article, just for fun
This commit is contained in:
2005 2024-05-27 23:23:17 +02:00
parent 36d2339182
commit 2a96b03884
5 changed files with 16 additions and 8 deletions

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-hourglass-empty"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M6 20v-2a6 6 0 1 1 12 0v2a1 1 0 0 1 -1 1h-10a1 1 0 0 1 -1 -1z" /><path d="M6 4v2a6 6 0 1 0 12 0v-2a1 1 0 0 0 -1 -1h-10a1 1 0 0 0 -1 1z" /></svg>

After

Width:  |  Height:  |  Size: 469 B

View file

@ -12,8 +12,8 @@ lastUpdated = "Jan 02, 2006 15:04 MST"
[sidebar] [sidebar]
subtitle = "Software developer of somekind" subtitle = "Software developer of somekind"
musicTitle = "Nate Growing Up - Labrinth" musicTitle = "Hard dreams - Gesaffelstein"
musicUrl = "https://www.youtube.com/watch?v=mgDMTorgCPg" musicUrl = "https://www.youtube.com/watch?v=4HnUmZOjsyU"
[sidebar.avatar] [sidebar.avatar]

View file

@ -45,11 +45,5 @@ I play a lot of games in my free time, mostly survival, adventure games. Some Pv
You might [catch me streaming](https://live.4o1x5.dev) on my site. You are welcome to watch, maybe even if I offer nothing interesting to watch. You might [catch me streaming](https://live.4o1x5.dev) on my site. You are welcome to watch, maybe even if I offer nothing interesting to watch.
Some of these include: Warframe, Minecraft, CS 1.6, Overwatch, Orcs must die 3 and so on... Some of these include: Warframe, Minecraft, CS 1.6, Overwatch, Orcs must die 3 and so on...
# Future
I plan on working in IT, more specifically backend development.
But lately I have also been thinking of becoming a System Administrator tho I have no idea how that would turn out.
The main problem I have right now is that I don't develop in languages/frameworks that are popular inside industries. Like for example Rust, I saw a few job listings about it, all requiring at least 5 years of experience (i have none). [I'm open for job inquires at all time](https://matrix.to/#/@4o1x5:4o1x5.dev) to be honest, even besides school.
Also here is a picture of my cat Also here is a picture of my cat
<img src="kitty.jpg" alt="tiger" width="400" /> <img src="kitty.jpg" alt="tiger" width="400" />

View file

@ -17,6 +17,8 @@ tags:
- Monitoring - Monitoring
- Docker compose - Docker compose
draft: false draft: false
writingTime: "20m"
--- ---
# Monitoring # Monitoring

View file

@ -53,6 +53,17 @@
{{ .WordCount }} words {{ .WordCount }} words
</time> </time>
</div> </div>
{{ if .Params.WritingTime }}
<div>
{{ partial "helper/icon" "hourglass-empty" }}
<time class="article-time--published">
writing time {{ .Params.WritingTime }}
</time>
</div>
{{ end }}
</footer> </footer>
{{ end }} {{ end }}