refactor: paths for components

This commit is contained in:
George Cushen committed 2021-12-14 19:21:52 +00:00
1 parent 2eecb5875a
commit c937b22f1e
5 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@
<div class="docs-article-container">
{{ if $show_breadcrumb }}
{{ partial "breadcrumb" $current_page }}
{{ partial "components/breadcrumb" $current_page }}
{{ end }}
<h1>{{ .Title }}</h1>
@@ -1,7 +1,7 @@
{{ if not .IsHome }}
<nav class="d-none d-md-flex" aria-label="breadcrumb">
<ol class="breadcrumb">
{{ partial "breadcrumb_helper" . }}
{{ partial "components/breadcrumb_child" . }}
<li class="breadcrumb-item active" aria-current="page">
{{ .LinkTitle | emojify }}
</li>
@@ -1,5 +1,5 @@
{{ with .Parent }}
{{ partial "breadcrumb_helper" . }}
{{ partial "components/breadcrumb_child" . }}
<li class="breadcrumb-item">
<a href="{{ .RelPermalink }}">
{{ if .IsHome }}
+1 -1
View File
@@ -1,6 +1,6 @@
{{ partial "page_edit" . }}
{{ partial "tags" . }}
{{ partial "share" . }}
{{ partial "components/page_sharer" . }}
{{ partial "page_author" . }}
{{ partial "comments" . }}