{{define "PostList"}}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{.Title}}</title>
    {{template "UIkit"}}
</head>
<body>
    <h1>{{.Title}}!</h1>    
    <div class="uk-card uk-card-default uk-card-body">
        <span>Новых сообщений: {{len .Post}}</span>

        {{template "Post" .}}

    </div>
</body>
</html>
{{end}}

{{define "Post"}}
<div class="uk-card uk-card-body">
    <ul