Replies: 2 comments 1 reply
-
The solution at: https://cv.domagic.site/posts/breadcrumbs-for-publii works. |
Beta Was this translation helpful? Give feedback.
-
For post breadcrumbs, as per the article in the previous link, try adding the following code to your CustomCSS in Publii: `/* Add breadcrumbs */ .breadcrumbs li { .breadcrumbs li:nth-child(1) { For the new Pages feature in Publii https://getpublii.com/blog/release-046.html, the breadcumbs method outlined above for Posts relies on tags. But the new Pages feature in Publii doesn't interact with tags -- Pages are just standalone pages with no relationship to other pages or posts (unless we specifically add discrete links). So this breadcrumb system won't work in the same way. It seems that any breadcumb system for Pages in Publii will need a different set-up (even though it displays okay for pages in Splitian theme, the functionality of course won't work as it is now since tags are not referenced in Pages). Maybe the Publii devs or someone else could produce a plugin that addresses this issue that covers both Pages and Posts in Publii. Fingers crossed. |
Beta Was this translation helpful? Give feedback.
-
Is there any way to add breadcrumbs to my custom theme?
I haven't found any code snippet in the documentation to do something similar with the new page system.
Beta Was this translation helpful? Give feedback.
All reactions