mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-11 03:25:33 +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 -}}
|
{{- else if .Params.likeOf -}}
|
||||||
{{- $ref := partial "reference.obj" (dict "url" .Params.likeOf "references" .Params.references) -}}
|
{{- $ref := partial "reference.obj" (dict "url" .Params.likeOf "references" .Params.references) -}}
|
||||||
{{- if $ref -}}
|
{{- if $ref -}}
|
||||||
{{ $ref.name }}
|
{{ index (split $ref.name "|" | first 1) 0 }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- partial "partials/fallback-title.txt" . -}}
|
{{- partial "partials/fallback-title.txt" . -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in a new issue