Commit 13ee0054 authored by Jae's avatar Jae
Browse files

Change title

parent e7528aa4
......@@ -98,7 +98,7 @@ func main() {
post := Post{Title: postName, Content: postHTML}
c.HTML(http.StatusOK, "home/post.tmpl", gin.H{
"Title": post.Title,
"title": post.Title,
"Content": post.Content,
})
})
......
{{ define "home/post.tmpl" }}
{{ template "globals/header.tmpl" .}}
<div role="main" id="main">
<h3 id="aboutTitle">{{ .Title }}</h3>
<h3 id="aboutTitle">{{ .title }}</h3>
<div id="presentation" class="prestext">
{{ .Content }}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment