-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodern.html
More file actions
96 lines (96 loc) · 3.07 KB
/
modern.html
File metadata and controls
96 lines (96 loc) · 3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="shortcut icon" href="/favicon.ico">
<title>{{.SiteName}}</title>
<style>
body, html {
margin: 0;
padding: 0;
font-family: "Trebuchet MS", "Lucida Grande", Arial, Tahoma, Geneva, sans-serif;
font-size: 12px;
background-color: #d5d6d7;
text-align: left;
}
a:link, a:visited {
text-decoration: none;
color: #06c;
}
a:active {
text-decoration: none;
color: #FF0000;
}
a:hover {
text-decoration: none;
color: #FF8000;
background-color: #FFFFFF;
}
hr {
color: #ccc;
}
#container {
width: 760px;
margin: 20px auto;
background-color: #fff;
padding: 0;
border: 1px solid #ccc;
border-radius: 10px;
box-shadow: 0 0 4px #000;
}
#header {
background-color: #008fc7;
color: #fff;
padding: 20px 0;
margin: 10px;
text-align: center;
border: 0px;
border-radius: 10px;
font-size: 20px;
}
#content {
padding: 20px;
}
#sidebar {
width: 200px;
float: right;
padding: 20px;
}
#footer {
clear: both;
background-color: #eee;
color: #333;
text-align: center;
padding: 10px 0;
border-radius: 0 0 10px 10px;
}
</style>
</head>
<body>
<div id="container">
<div id="header">
<h1 style="margin-bottom: 5px;">{{.SiteName}}</h1>
<small>{{.SubTitle}}<br> </small>
</div>
<div id="content">
<div id="sidebar">
<a href="/">Home</a>
<p><form action="/" method="post"><input type="text" name="query" size="10"> <input type="submit" value="Search"></form></p>
<p>Latest posts:</p>
{{.LatestPosts}}
<p>Tools:</p>
<p>» <a href="{{.AdminUrl}}">Site Admin</a></p>
</div>
<a href="/">Home</a>
{{ if gt .Page 0 }}<a href="/?pg={{ .PgNewer }}">| ← Newer Posts</a>{{ end }} {{ if lt .Page .PgOldest }}| <a href="/?pg={{ .PgOlder }}">Older Posts →</a>{{ end }}<br>
{{.Articles}}
{{ if gt .Page 0 }}<a href="/?pg={{ .PgNewer }}">← Newer Posts</a>{{ end }} {{ if lt .Page .PgOldest }}| <a href="/?pg={{ .PgOlder }}">Older Posts →</a>{{ end }}<br>
</div>
<div id="footer">
Copyright © by authors of the {{.SiteName}} | <a href="https://github.com/tenox7/BloKi">BloKi</a> Modern Template
</div>
</div>
</body>
</html>