blob: 9dea045baaae6f6c4e605ad993a151ba68019b7c (
plain) (
tree)
|
|
{{ define "main" }}
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-4 sidebar">
<h1 class="post-title fw-semibold">←<a href="{{.Page.FirstSection.RelPermalink}}">{{.Page.FirstSection.Title}}</a></h1>
{{ if .Page.TableOfContents }}
<h2 class="fw-semibold">Содержание</h2>
{{ .Page.TableOfContents }}
{{ end }}
</div>
<div class="col-xs-12 col-sm-12 col-md-8 content">
<div class="post">
{{ partial "single/header.html" . }}
<div class="alert alert-info" role="alert">
<div class="btn-group">
<a class="btn btn-primary" target="_blank" href="{{.Params.project_url}}">
{{ partial "icon.html" "link" }} {{.Params.project_url}}
</a>
{{ if .Params.git_url}}
<a class="btn btn-primary" target="_blank" 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>
</div>
</div>
</div>
{{ end }}
|