css cleanup, added downloads page
This commit is contained in:
44
templates/download.html
Normal file
44
templates/download.html
Normal file
@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>MatterLinux | Download</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=1200">
|
||||
<link href="/global.css" rel="stylesheet">
|
||||
<link href="/download.css" rel="stylesheet">
|
||||
<link href="/md.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
{{template "parts/bar" .}}
|
||||
<main>
|
||||
<div class="md">
|
||||
<h1>Download MatterLinux</h1>
|
||||
</div>
|
||||
<div class="list">
|
||||
<div class="entry">
|
||||
<h1>Version</h1>
|
||||
<h1>{{.readme.Title}}</h1>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<h1>Release Archive</h1>
|
||||
<div class="downloads">
|
||||
<a href="https://rel.matterlinux.xyz/{{.readme.Title}}/matterlinux_{{.readme.Title}}.tar.gz">Download</a>
|
||||
<p>|</p>
|
||||
<a href="https://rel.matterlinux.xyz/{{.readme.Title}}/matterlinux_{{.readme.Title}}.tar.gz.sig">Signature</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<h1>Release ISO</h1>
|
||||
<div class="downloads">
|
||||
<a href="https://rel.matterlinux.xyz/{{.readme.Title}}/matterlinux_{{.readme.Title}}.iso">Download</a>
|
||||
<p>|</p>
|
||||
<a href="https://rel.matterlinux.xyz/{{.readme.Title}}/matterlinux_{{.readme.Title}}.iso.sig">Signature</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="readme md">
|
||||
{{.readme.HTML}}
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
@ -4,13 +4,13 @@
|
||||
<title>MatterLinux</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=1200">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
<link href="/global.css" rel="stylesheet">
|
||||
<link href="/md.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
{{template "parts/bar" .}}
|
||||
<div class="readme md">
|
||||
<main class="md">
|
||||
{{.readme.HTML}}
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,17 +4,18 @@
|
||||
<title>MatterLinux | News</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=1200">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
<link href="/global.css" rel="stylesheet">
|
||||
<link href="/news.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.Title}}</h1>
|
||||
<main>
|
||||
{{range .news}}
|
||||
<a href="/news/{{.ID}}" class="small">
|
||||
<h1>{{.Date}}</h1>
|
||||
<h1>{{.Title}}</h1>
|
||||
</a>
|
||||
{{end}}
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -6,5 +6,6 @@
|
||||
<a href="/wiki">Wiki</a>
|
||||
<a href="https://git.matterlinux.xyz/Matter">Source</a>
|
||||
<a href="https://tracker.matterlinux.xyz">Packages</a>
|
||||
<a href="/download">Download</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -4,17 +4,20 @@
|
||||
<title>MatterLinux | {{.title}}</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=1200">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
<link href="/global.css" rel="stylesheet">
|
||||
<link href="/post.css" rel="stylesheet">
|
||||
<link href="/md.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
{{template "parts/bar" .}}
|
||||
<div class="post">
|
||||
<h1>{{.post.Title}}</h1>
|
||||
<p>{{.post.Date}} | by {{.post.Author}}</p>
|
||||
<main>
|
||||
<div class="md">
|
||||
<h1>{{.post.Title}}</h1>
|
||||
</div>
|
||||
<p class="subtext">{{.post.Date}} | by {{.post.Author}}</p>
|
||||
<div class="md">
|
||||
{{.post.HTML}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user