add header,css
This commit is contained in:
+6
-1
@@ -65,15 +65,20 @@ func handlePage(w http.ResponseWriter, r *http.Request) {
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<title>{{.Title}}</title>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
<title>{{.Title}}</title>
|
<meta name="description" content="microblog demo">
|
||||||
|
<meta property="og:title" content="Home">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||||
<style>
|
<style>
|
||||||
body { font-family: sans-serif; margin: 0; padding: 1em; max-width: 800px; margin: auto; }
|
body { font-family: sans-serif; margin: 0; padding: 1em; max-width: 800px; margin: auto; }
|
||||||
h1 { margin-top: 0; }
|
h1 { margin-top: 0; }
|
||||||
a { color: #333; text-decoration: none; }
|
a { color: #333; text-decoration: none; }
|
||||||
a:hover { text-decoration: underline; }
|
a:hover { text-decoration: underline; }
|
||||||
</style>
|
</style>
|
||||||
|
<link type="text/css" rel="stylesheet" href="/themes/default/css/main.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>{{.Title}}</h1>
|
<h1>{{.Title}}</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user