diff --git a/assets/css/099_breadcrumb.css b/assets/css/099_breadcrumb.css new file mode 100644 index 0000000..eac0f70 --- /dev/null +++ b/assets/css/099_breadcrumb.css @@ -0,0 +1,30 @@ + + + + + +/************* + # BREADCRUMB + *************/ + +.nav-breadcrumb { + font-size: var(--text-s); + + ul, ol { + display: flex; + padding-inline: 0; + } + + li { + list-style-type: none; + } + + li:not(:first-child) { + margin-inline-start: var(--space-xs); + + &::before { + content: "›"; + margin-inline-end: var(--space-xs); + } + } +} diff --git a/i18n/en.yaml b/i18n/en.yaml new file mode 100644 index 0000000..12ba225 --- /dev/null +++ b/i18n/en.yaml @@ -0,0 +1 @@ +home: Home diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index aa748b2..38d2ec2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,6 +9,9 @@ {{ partial "site/header.html" . }}
+ {{ if not .IsNode }} + {{ partial "page_breadcrumb.html" . }} + {{ end }} {{ block "main" . }}{{ end }}