new: add feeds to news page

This commit is contained in:
ngn
2024-08-23 14:11:48 +03:00
parent 52af211541
commit 60bff6356c
15 changed files with 204 additions and 45 deletions

View File

@ -2,9 +2,7 @@
<html lang="en">
<head>
<title>MatterLinux | {{.title}}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=1200">
<link href="/global.css" rel="stylesheet">
{{template "parts/head" .}}
<link href="/post.css" rel="stylesheet">
<link href="/md.css" rel="stylesheet">
</head>
@ -14,7 +12,10 @@
<div class="md">
<h1>{{.post.Title}}</h1>
</div>
<p class="subtext">{{.post.Date}} | by {{.post.Author}}</p>
<div class="subtext">
<p class="date">{{.post.Date}}</p>
<p class="author">by {{.post.Author}}</p>
</div>
<div class="md">
{{.post.HTML}}
</div>