mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	use Parent's Permalink for breadcrumb nav
This commit is contained in:
		| @@ -4,7 +4,7 @@ | |||||||
|   <header class="post-header"> |   <header class="post-header"> | ||||||
|     {{- if (.Param "ShowBreadCrumbs")}} |     {{- if (.Param "ShowBreadCrumbs")}} | ||||||
|     <div class="breadcrumbs"> |     <div class="breadcrumbs"> | ||||||
|       {{- $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} |       {{- $url := replace .Parent.Permalink ( printf "%s" .Site.BaseURL) "" }} | ||||||
|       {{- $lang_url := replace $url ( printf "%s" .Lang) "" }} |       {{- $lang_url := replace $url ( printf "%s" .Lang) "" }} | ||||||
|  |  | ||||||
|       <a href="{{ "" | absLangURL }}">{{ i18n "home" | default "Home"}}</a> |       <a href="{{ "" | absLangURL }}">{{ i18n "home" | default "Home"}}</a> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange