mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-28 16:53:30 -05:00 
			
		
		
		
	Remove empty 404.html and clean up <title> in head.html
This commit is contained in:
		| @@ -16,9 +16,11 @@ | ||||
|         {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} | ||||
|     {{ end -}} | ||||
|  | ||||
|     {{ $title := print .Title " | " .Site.Title }} | ||||
|     {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} | ||||
|     <title>{{ $title }}</title> | ||||
|     {{ if .IsHome }} | ||||
|     <title>{{ .Site.Title }}</title> | ||||
|     {{ else }} | ||||
|     <title>{{ print .Title " | " .Site.Title }}</title> | ||||
|     {{ end }} | ||||
|  | ||||
|     {{ template "_internal/opengraph.html" . }} | ||||
|     {{ template "_internal/twitter_cards.html" . }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user