Ajout d'un mutex pour pouvoir mettre à jour via une goroutine la liste des messages
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>{{.Title}}</title>
|
||||
<title>{{.BlogTitle}}</title>
|
||||
</head>
|
||||
<h1>{{.Title}}</h1>
|
||||
<h1>{{.BlogTitle}}</h1>
|
||||
<body>
|
||||
<h2>{{(index .Posts 0).Title}}</h2>
|
||||
<h2>{{.Title}}</h2>
|
||||
<div>
|
||||
{{(index .Posts 0).HTML}}
|
||||
{{.HTML}}
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
Reference in New Issue
Block a user