hugo-PaperMod/layouts/partials
David Segonds 4cc3fb26ce Modify breadcrumbs logic
First part of the breadcrumbs generation algorithm is to remove the
base URL from the parent's permalink URL.

In the existing code, this is achieve by replacing all instances of
base URL in the parent's permalink URL by an empty string.

This algorithm fails to produces breadcrumbs in the instance where the
base URL is "/" for example.

I believe this is erroneous as only the first instance of the base URLi,
starting at the beginning of the parent's permalink URL should be
replaced by an empty string.

This is the reason I replaced the call to "replace" by a call to
"replaceRE".
2023-01-06 09:11:50 +01:00
..
templates [PATCH] Fix date format in schema and opengraph templates 2022-09-03 16:29:45 +05:30
anchored_headings.html Fix Spacing in overall repo 2021-03-30 18:26:43 +05:30
author.html Use site function instead of .Site or $.Site 2022-03-27 18:44:06 +05:30
breadcrumbs.html Modify breadcrumbs logic 2023-01-06 09:11:50 +01:00
comments.html Fix Spacing in overall repo 2021-03-30 18:26:43 +05:30
cover.html Use site function instead of .Site or $.Site 2022-03-27 18:44:06 +05:30
edit_post.html Use site function instead of .Site or $.Site 2022-03-27 18:44:06 +05:30
extend_footer.html Fix Spacing in overall repo 2021-03-30 18:26:43 +05:30
extend_head.html Fix Spacing in overall repo 2021-03-30 18:26:43 +05:30
footer.html Stop using git.io link 2022-05-29 11:12:48 +05:30
head.html Add a meta tag for naver site verification (#991) 2022-07-24 12:25:28 +05:30
header.html Allow adding SVG in place of logo image (#976) 2022-07-23 09:45:32 +05:30
home_info.html Remove redundant <p> tags from home-info mode 2022-05-27 22:40:41 +05:30
index_profile.html Fix error with profileMode imageUrl on Windows devices 2022-09-03 16:06:39 +05:30
post_canonical.html Use site function instead of .Site or $.Site 2022-03-27 18:44:06 +05:30
post_meta.html Use site function instead of .Site or $.Site 2022-03-27 18:44:06 +05:30
post_nav_links.html Move post nav links to a partial section (#343) 2021-04-09 14:55:56 +05:30
share_icons.html Simplify share-buttons svg 2022-07-08 20:28:22 +05:30
social_icons.html Add optional custom "title" for social links (#999) 2022-08-06 12:09:58 +05:30
svg.html add sketchfab icon (#998) 2022-08-28 15:26:51 +05:30
toc.html Add UseHugoToc so that Hugo's default ToC can be used. 2022-01-22 00:25:35 +05:30
translation_list.html Fix malformed html structure of the translation list on post. (#886) 2022-04-19 20:22:20 +05:30