first commit
This commit is contained in:
20
templates/news.html
Normal file
20
templates/news.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!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>
|
Reference in New Issue
Block a user