{{ define "main" }} <div class="container mx-auto my-5"> <div class="post"> {{ partial "single/header.html" . }} <div class="alert alert-info" role="alert"> <div class="btn-group"> <a class="btn btn-primary" href="{{.Params.project_url}}"> {{ partial "icon.html" "link" }} {{.Params.project_url}} </a> {{ if .Params.git_url}} <a class="btn btn-primary" href="{{.Params.git_url}}"> {{ partial "icon.html" "git" }} {{.Params.git_url}} </a> {{ end }} </div> </div> <div class="e-content">{{ .Content }}</div> {{ partial "single/footer.html" . }} </div> </div> {{ end }}