mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-06 16:15:51 +00:00
- Close #405 - See #681 (improve consistency after #571 Bootstrap 4 migration) - Add `search_results` to language file - example site: Add example `tutorial` folder - example site: Set privacy page to hidden (draft)
48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
{{ partial "header.html" . }}
|
|
{{ partial "navbar.html" . }}
|
|
{{ $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.html" . }}
|
|
</div>
|
|
|
|
{{ if .Params.toc }}
|
|
<div class="d-none d-xl-block col-xl-2 docs-toc">
|
|
{{ .TableOfContents }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
<main class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 docs-content" role="main">
|
|
<div id="search-hits">
|
|
<!-- Search results will appear here -->
|
|
</div>
|
|
<article class="article" itemscope itemtype="http://schema.org/Article">
|
|
|
|
{{ partial "header_image.html" . }}
|
|
|
|
<div class="docs-article-container">
|
|
<h1 itemprop="name">{{ .Title }}</h1>
|
|
|
|
<div class="article-style" itemprop="articleBody">
|
|
{{ .Content }}
|
|
</div>
|
|
|
|
{{ partial "tags.html" . }}
|
|
</div>
|
|
|
|
<div class="body-footer">
|
|
{{ i18n "last_updated" }} {{ $.Lastmod.Format $.Site.Params.date_format }}
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{{ partial "footer_section.html" . }}
|
|
|
|
</main>
|
|
</div>
|
|
</div>
|
|
|
|
{{ partial "footer.html" . }}
|