|
@@ -1,5 +1,9 @@
|
|
{{ $current_page := . }}
|
|
{{ $current_page := . }}
|
|
|
|
|
|
|
|
+{{/* Check whether to show breadcrumb navigation. */}}
|
|
|
|
+{{ $breadcrumb_page_types := site.Params.breadcrumb.page_types | default dict }}
|
|
|
|
+{{ $show_breadcrumb := index $breadcrumb_page_types .Type | default false }}
|
|
|
|
+
|
|
<div class="container-fluid docs">
|
|
<div class="container-fluid docs">
|
|
<div class="row flex-xl-nowrap">
|
|
<div class="row flex-xl-nowrap">
|
|
<div class="col-12 col-md-3 col-xl-2 docs-sidebar">
|
|
<div class="col-12 col-md-3 col-xl-2 docs-sidebar">
|
|
@@ -24,6 +28,10 @@
|
|
<article class="article">
|
|
<article class="article">
|
|
|
|
|
|
<div class="docs-article-container">
|
|
<div class="docs-article-container">
|
|
|
|
+ {{ if $show_breadcrumb }}
|
|
|
|
+ {{ partial "breadcrumb" $current_page }}
|
|
|
|
+ {{ end }}
|
|
|
|
+
|
|
<h1>{{ .Title }}</h1>
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
|
|
<div class="article-style">
|
|
<div class="article-style">
|