mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-10-24 22:22:34 +02:00
init feat Breadcrumb Navigation (#207)
* adds Breadcrumb nav above title of single page/post
* add enabler var 'ShowBreadCrumbs'
* introduce i18n var "home"
usage:
in site config:
Params:
ShowBreadCrumbs: true
in page front-matter:
ShowBreadCrumbs: false
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
.post-meta,
|
||||
.breadcrumbs {
|
||||
color: var(--secondary);
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
@@ -26,6 +27,10 @@
|
||||
box-shadow: 0 1px 0 var(--secondary)
|
||||
}
|
||||
|
||||
.breadcrumbs a {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.post-content {
|
||||
color: var(--content)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user