Pracownia.Programowania/views/index.html
2018-12-22 20:04:32 +01:00

20 lines
434 B
HTML

{{ range $key, $value := . }}
<div class="row">
<div class="col-xs-2"></div>
<div class="col-xs-8">
<h1><a href ="/edit/{{$value.Id}}">{{ $value.Title }}</a></h1>
</div>
<div class="col-xs-2"></div>
</div>
<div class="row">
<div class="col-xs-2"></div>
<div class="col-xs-8">
{{ $value.ContentHtml | unescape }}
</div>
<div class="col-xs-2"></div>
</div>
{{end}}