Use generated css, common to the project
This commit is contained in:
parent
bad7e8e689
commit
af2b407c52
14 changed files with 1242 additions and 132 deletions
|
|
@ -1,51 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<div id="all">
|
||||
{{ partial "nav.html" . }} {{ partial "breadcrumbs.html" . }}
|
||||
|
||||
<body>
|
||||
<div
|
||||
id="content"
|
||||
class="mt-5 mb-5"
|
||||
style="min-height: calc(80vh - 152px)"
|
||||
>
|
||||
{{ if isset .Params "id" }} {{ partial .Params.id . }} {{ else
|
||||
}}
|
||||
|
||||
<div id="all">
|
||||
<div class="container">
|
||||
{{ if .Params.toc }}
|
||||
<aside>
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
</header>
|
||||
{{ .TableOfContents }}
|
||||
</aside>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "nav.html" . }}
|
||||
|
||||
{{ partial "breadcrumbs.html" . }}
|
||||
|
||||
<div id="content" class="mt-5 mb-5" style="min-height: calc(80vh - 180px)">
|
||||
{{ if isset .Params "id" }}
|
||||
|
||||
{{ partial .Params.id . }}
|
||||
|
||||
{{ else }}
|
||||
|
||||
<div class="container">
|
||||
|
||||
{{ if .Params.toc }}
|
||||
<aside>
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
</header>
|
||||
{{ .TableOfContents }}
|
||||
</aside>
|
||||
{{ end }}
|
||||
|
||||
<div>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
<div>{{ .Content }}</div>
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
|
||||
{{ end }}
|
||||
</div>
|
||||
<!-- /#content -->
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
<!-- /#all -->
|
||||
|
||||
{{ end }}
|
||||
</div>
|
||||
<!-- /#content -->
|
||||
|
||||
</div>
|
||||
<!-- /#all -->
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
{{ partial "scripts.html" . }}
|
||||
|
||||
</body>
|
||||
{{ partial "footer.html" . }} {{ partial "scripts.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue