Reste à prévoir la pagination et la recherche

This commit is contained in:
Laurent Ulrich
2025-08-20 16:19:55 +02:00
parent 10ebdaad4a
commit 9dd396e95f
8 changed files with 183 additions and 70 deletions

View File

@@ -3,14 +3,23 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="../styles.css">
<title>{{.BlogTitle}}</title>
</head>
<h1><a href="/proxy/8080/">{{.BlogTitle}}</a></h1>
<h1 class="blogtitle"><a href="/proxy/8080/">{{.BlogTitle}}</a></h1>
<body>
<h2>{{.Title}}</h2>
<div>
<article class="post">
<header class="postheader">
<h2 class="posttitle">{{.Title}}</h2>
<p class="postdate"><time datetime="{{.Date}}">{{.Date}}</Time></p>
</header>
<div class="postcontent">
{{ if .HTML }}
{{.HTML}}
{{ else }}
{{.Text}}
{{ end }}
</div>
</article>
</body>
</html>