mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 22:16:07 +01:00
Remove site name from likeof titles
This commit is contained in:
parent
4603d1550e
commit
d45fdd7075
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
{{- else if .Params.likeOf -}}
|
||||
{{- $ref := partial "reference.obj" (dict "url" .Params.likeOf "references" .Params.references) -}}
|
||||
{{- if $ref -}}
|
||||
{{ $ref.name }}
|
||||
{{ index (split $ref.name "|" | first 1) 0 }}
|
||||
{{- else -}}
|
||||
{{- partial "partials/fallback-title.txt" . -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue