Adding the wiki route and better styling
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Matter Linux</title>
|
||||
<title>MatterLinux | Error</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=1200">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Matter Linux</title>
|
||||
<title>MatterLinux</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=1200">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
@ -10,7 +10,7 @@
|
||||
<body>
|
||||
{{template "parts/bar" .}}
|
||||
<div class="readme md">
|
||||
{{.readme.Content}}
|
||||
{{.readme.HTML}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Matter Linux</title>
|
||||
<title>MatterLinux | News</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=1200">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
@ -12,7 +12,7 @@
|
||||
{{range $new := .news}}
|
||||
<a href="/news/{{$new.ID}}" class="new-small">
|
||||
<h1>{{$new.Date}}</h1>
|
||||
<h1>{{$new.Name}}</h1>
|
||||
<h1>{{$new.Title}}</h1>
|
||||
</a>
|
||||
{{end}}
|
||||
</div>
|
||||
|
@ -3,7 +3,8 @@
|
||||
<div class="links">
|
||||
<a href="/">Home</a>
|
||||
<a href="/news">News</a>
|
||||
<a href="https://wiki.matterlinux.xyz">Wiki</a>
|
||||
<a href="/wiki">Wiki</a>
|
||||
<a href="https://git.matterlinux.xyz">Source</a>
|
||||
<a href="https://pkgs.matterlinux.xyz">Packages</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Matter Linux</title>
|
||||
<title>MatterLinux | {{.title}}</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=1200">
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
@ -10,10 +10,10 @@
|
||||
<body>
|
||||
{{template "parts/bar" .}}
|
||||
<div class="post">
|
||||
<h1>{{.post.Name}}</h1>
|
||||
<h1>{{.post.Title}}</h1>
|
||||
<p>{{.post.Date}} | by {{.post.Author}}</p>
|
||||
<div class="md">
|
||||
{{.post.Content}}
|
||||
{{.post.HTML}}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user