7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-30 01:28:49 +00:00
web-ansol.org/themes/academic/layouts/partials/docs_layout.html

58 lines
1.3 KiB
HTML
Raw Normal View History

2020-06-11 11:46:16 +00:00
{{ $current_page := . }}
<div class="container-fluid docs">
<div class="row flex-xl-nowrap">
<div class="col-12 col-md-3 col-xl-2 docs-sidebar">
{{ partial "docs_sidebar" . }}
</div>
{{ if .Params.toc }}
<div class="d-none d-xl-block col-xl-2 docs-toc">
<ul class="nav toc-top">
<li><a href="#" id="back_to_top" class="docs-toc-title">{{ i18n "on_this_page" }}</a></li>
</ul>
{{ .TableOfContents }}
{{ partial "docs_toc_foot" . }}
</div>
{{ end }}
<main class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 docs-content" role="main">
<article class="article">
<div class="docs-article-container">
<h1>{{ .Title }}</h1>
<div class="article-style">
{{ .Content }}
</div>
{{ partial "tags.html" . }}
{{ if site.Params.docs_section_pager }}
<div class="article-widget">
{{ partial "section_pager" . }}
</div>
{{ end }}
</div>
<div class="body-footer">
2021-09-30 01:05:18 +00:00
<p>{{ i18n "last_updated" }} {{ $.Date.Format site.Params.date_format }}</p>
2020-06-11 11:46:16 +00:00
{{ partial "page_edit" . }}
{{ partial "comments" . }}
{{ partial "page_related" . }}
</div>
</article>
{{ partial "site_footer" . }}
</main>
</div>
</div>