add header,css
This commit is contained in:
+6
-1
@@ -65,15 +65,20 @@ func handlePage(w http.ResponseWriter, r *http.Request) {
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{.Title}}</title>
|
||||
<meta charset="UTF-8" />
|
||||
<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>
|
||||
body { font-family: sans-serif; margin: 0; padding: 1em; max-width: 800px; margin: auto; }
|
||||
h1 { margin-top: 0; }
|
||||
a { color: #333; text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
</style>
|
||||
<link type="text/css" rel="stylesheet" href="/themes/default/css/main.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{.Title}}</h1>
|
||||
|
||||
Reference in New Issue
Block a user