Add reset.css. Create new thread btn
This commit is contained in:
@@ -1,32 +1,30 @@
|
||||
package shared
|
||||
|
||||
templ Layout() {
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Comfychan</title>
|
||||
<link rel="stylesheet" href="/static/index.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="boardList">
|
||||
<span>
|
||||
[
|
||||
<a href="/">index</a>
|
||||
]
|
||||
</span>
|
||||
<span>
|
||||
[
|
||||
<a href="/comfy">comfy</a>
|
||||
/
|
||||
<a>r9k</a>
|
||||
]
|
||||
</span>
|
||||
</div>
|
||||
{ children... }
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<title>Comfychan</title>
|
||||
<link rel="stylesheet" href="/static/reset.css"/>
|
||||
<link rel="stylesheet" href="/static/index.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="boardList">
|
||||
<span>
|
||||
[
|
||||
<a href="/">index</a>
|
||||
]
|
||||
</span>
|
||||
<span>
|
||||
[
|
||||
<a href="/comfy">comfy</a>
|
||||
/
|
||||
<a href="#">r9k</a>
|
||||
]
|
||||
</span>
|
||||
</div>
|
||||
{ children... }
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ func Layout() templ.Component {
|
||||
templ_7745c5c3_Var1 = templ.NopComponent
|
||||
}
|
||||
ctx = templ.ClearChildren(ctx)
|
||||
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<!doctype html><html lang=\"en\"><head><meta charset=\"UTF-8\"><title>Comfychan</title><link rel=\"stylesheet\" href=\"/static/index.css\"></head><body><div id=\"boardList\"><span>[ <a href=\"/\">index</a> ]</span> <span>[ <a href=\"/comfy\">comfy</a> / <a>r9k</a> ]</span></div>")
|
||||
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<!doctype html><html lang=\"en\"><head><meta charset=\"UTF-8\"><title>Comfychan</title><link rel=\"stylesheet\" href=\"/static/reset.css\"><link rel=\"stylesheet\" href=\"/static/index.css\"></head><body><div id=\"boardList\"><span>[ <a href=\"/\">index</a> ]</span> <span>[ <a href=\"/comfy\">comfy</a> / <a href=\"#\">r9k</a> ]</span></div>")
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user