diff options
| -rw-r--r-- | content/_index.md | 15 | ||||
| -rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
| -rw-r--r-- | layouts/shortcodes/article-list.html | 3 | ||||
| -rw-r--r-- | layouts/shortcodes/time-now.html | 1 |
4 files changed, 10 insertions, 11 deletions
diff --git a/content/_index.md b/content/_index.md index 53cc478..a302c1f 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,18 +1,13 @@ --- -title: "Planet F" +title: "cool place" date: 2025-09-14T11:51:17+02:00 --- -Hello lovely-little-thing browsing the web, welcome to my website :) +Hi lovely-little-thing browsing the web, welcome to my website. The last time I modified it was like... The {{< time-now >}} -## Blog +If you want to subscribe to the blog's rss feed, it's [here](/index.xml) {{< article-list category="blog" number="5" >}} +{{< article-list category="guide" number="5" >}} -## Guide - -{{< article-list category="guide" number="5">}} - -## Fair Warning - -I enabled browser caching, so you might want to reload pages to have the latest HTML content. +There is useful links at the bottom of this page. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 580f3c5..ac84d93 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -35,7 +35,7 @@ <a href="/stuff">stuff</a> <a href="/contact">contact</a> <a href="https://git.mielota.com/mielota">git</a> - <a href="https://dns.mielota.com/">dns</a> + <a href="https://dns.mielota.com">dns</a> </nav> {{ else }} <div style="display: flex;justify-content: space-between;align-items: center;"> diff --git a/layouts/shortcodes/article-list.html b/layouts/shortcodes/article-list.html index 338643c..090d654 100644 --- a/layouts/shortcodes/article-list.html +++ b/layouts/shortcodes/article-list.html @@ -1,3 +1,6 @@ +<h2> + {{ .Get "category" | title }} +</h2> <ul> {{- range where .Site.RegularPages "Type" (.Get "category") | first (.Get "number") }} <li>{{ .Date.Format "02/01/06" }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li> diff --git a/layouts/shortcodes/time-now.html b/layouts/shortcodes/time-now.html new file mode 100644 index 0000000..d09ddc4 --- /dev/null +++ b/layouts/shortcodes/time-now.html @@ -0,0 +1 @@ +{{ time.Now.Format "02/01/2006" }} |
