Home

blog @449255bd0573331da000752186baad9297d77e98 - refs - log -
-
https://git.jolheiser.com/blog.git
My nonexistent blog
blog / _example / templates / index.tmpl
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
{{template "head" (printf "%s's Blog" .Author.Name)}}
<body>
<header>
	<h1>{{.Author.Name}}</h1>
	<p>I really like to hack on Gitea and I use Catppuccin (btw)</p>
</header>
<main>
{{range $category, $articles := .ArticlesByCategory}}
	<h3>{{$category}}</h3>
	<ul>
	{{range $article := $articles}}
		<li><a href="{{$article.Filename}}.html">{{$article.Title}}</a> ({{$article.Time.Format "01/02/2006"}}) - {{$article.Summary}}</li>
	{{end}}
	</ul>
{{end}}
</main>
</body>