mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	Only show vertical bar if necessary in post-meta (#193)
fixes unnecessary "|" shown when post-meta is empty but translations are available
This commit is contained in:
		| @@ -12,7 +12,8 @@ | ||||
|     {{- if not (.Param "hideMeta") }} | ||||
|     <div class="post-meta"> | ||||
|       {{- partial "post_meta.html" . -}} | ||||
|       {{- if .IsTranslated -}} |  | ||||
|       {{- if .IsTranslated -}} | ||||
|       {{- if or .Params.author $.Site.Params.author $.Site.Params.ShowReadingTime (not .Date.IsZero) }} | {{- end -}} | ||||
|       <ul class="i18n_list"> | ||||
|         {{- i18n "translations" | default "Translations"}}: | ||||
|         {{- range .Translations }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Florian Kohrt
					Florian Kohrt