Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/body-article-content.html')
-rw-r--r--layouts/partials/body-article-content.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/layouts/partials/body-article-content.html b/layouts/partials/body-article-content.html
index 14d911d..0eedee2 100644
--- a/layouts/partials/body-article-content.html
+++ b/layouts/partials/body-article-content.html
@@ -1,8 +1,8 @@
<!-- FIL D'ARIANE -->
{{if not (in .Params.hide "breadcrumb")}}
- <nav id="breadcrumb" aria-label="breadcrumb">
- <ol class="breadcrumb">
+ <nav id="ariane" aria-label="breadcrumb">
+ <ol class="ariane">
{{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
</ol>
</nav>
@@ -56,6 +56,7 @@
{{if not (in .Params.hide "toc")}}
<div class="jump-to-section">
<span onclick="$h = $(this);$h.next('nav').slideToggle(100,function () {$h.children('i').attr('class',function () {return $h.next('nav').is(':visible') ? 'fas fa-chevron-down' : 'fas fa-chevron-right';});});">
+ <span class="fas fa-align-right"></span>
{{ T "jump-to-section"}}
<i style=";" class="fas fa-chevron-right"></i>
</span>
@@ -90,7 +91,7 @@
{{ define "breadcrumbnav" }}
{{ if .p1.Parent }}
{{ if .p1.Parent.IsHome}}
- <li class="breadcrumb-item ">
+ <li >
<a class="text-link" href="{{.p1.Site.BaseURL}}">
{{ T "home"}}
</a>
@@ -101,7 +102,7 @@
{{ else if not .p1.IsHome }}
{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
{{ end }}
- <li class="breadcrumb-item {{ if eq .p1 .p2 }}active{{ end }}">
+ <li class="{{ if eq .p1 .p2 }}active{{ end }}">
{{ if ne .p1 .p2 }}<a class="text-link" href="{{ .p1.RelPermalink }}">{{ end }}
{{ .p1.Title }}
{{ if ne .p1 .p2 }}</a>{{ end }}