add header,css

This commit is contained in:
ds
2026-07-12 18:20:31 +00:00
parent ae0dcd1046
commit 3d87c4be9f
+6 -1
View File
@@ -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>