-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathseveneleven.html
More file actions
129 lines (129 loc) · 3.79 KB
/
seveneleven.html
File metadata and controls
129 lines (129 loc) · 3.79 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!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>
a {
text-decoration: none;
}
a:active, a:hover {
color: #ff8000;
}
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 14px;
margin: 0;
padding: 20px;
background: #e2e2e2;
}
.container {
width: 940px;
margin: 0 auto;
background: #fff;
box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
header {
background: #fff;
color: #000;
padding: 40px;
text-align: left;
}
.head-search {
display: flex;
align-items: center;
}
.image-banner {
width: 940px;
height: 197px;
background-image: url('/media/seveneleven.jpg');
background-size: cover;
background-position: center;
}
nav {
background: #000;
color: #fff;
padding: 10px 40px;
text-align: left;
}
nav a {
color: #fff;
text-decoration: none;
padding: 10px 15px;
font-weight: bold;
}
nav a:hover a:link a:visited {
color: #fff;
}
.content {
display: flex;
margin: 20px;
}
.content a {
color: #000;
}
.content a:active, a:hover {
color: #ff8000;
}
.main-content {
flex: 1;
padding: 20px;
}
.sidebar {
width: 200px;
}
footer {
text-align: center;
padding: 5px;
background: #f9f9f9;
color: #000;
margin-top: 20px;
}
hr {
size: 1px;
color: #f9f9f9;
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="head-search">
<div style="flex:1;">
<h1 style="margin-bottom: 0px;">{{.SiteName}}</h1>
<small>{{.SubTitle}}</small>
</div>
<div style="flex:1; text-align: right;">
<form action="/" method="post"><input type="text" name="query" size="15"></form>
</div>
</div>
</header>
<div class="image-banner">
</div>
<nav>
<a href="/">Home</a>
<a href="/">About</a>
</nav>
<div class="content">
<div class="main-content">
{{ 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 class="sidebar">
<a href="/">Home</a>
<h4>Latest posts:</h4>
{{.LatestPosts}}
<h4>Tools:</h4>
<p>» <a href="{{.AdminUrl}}">Site Admin</a></p>
</div>
</div>
<footer>
<p>Copyright © by authors of the {{.SiteName}} | <a href="https://github.com/tenox7/BloKi">BloKi</a> Modern 2 Template</p>
</footer>
</div>
</body>
</html>