website/templates/news.html

21 lines
475 B
HTML
Raw Normal View History

2023-12-09 16:25:38 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>Matter Linux</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=1200">
<link href="/style.css" rel="stylesheet">
</head>
<body>
{{template "parts/bar" .}}
<div class="news">
{{range $new := .news}}
<a href="/news/{{$new.ID}}" class="new-small">
<h1>{{$new.Date}}</h1>
<h1>{{$new.Name}}</h1>
</a>
{{end}}
</div>
</body>
</html>