diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html index a975acef26..7f25493485 100644 --- a/layouts/partials/favicon.html +++ b/layouts/partials/favicon.html @@ -1,14 +1,14 @@ {{- $assetBusting := not .Site.Params.disableAssetsBusting -}} -{{- if (fileExists "/static/images/favicon.svg") }} - -{{- else if (fileExists "/static/images/favicon.png") }} - -{{- else if (fileExists "/static/images/favicon.ico") }} - -{{- else if (fileExists "/static/images/logo.svg") }} - -{{- else if (fileExists "/static/images/logo.png") }} - -{{- else if (fileExists "/static/images/logo.ico") }} - +{{- if (fileExists "/static/images/favicon.svg") -}} + +{{- else if (fileExists "/static/images/favicon.png") -}} + +{{- else if (fileExists "/static/images/favicon.ico") -}} + +{{- else if (fileExists "/static/images/logo.svg") -}} + +{{- else if (fileExists "/static/images/logo.png") -}} + +{{- else if (fileExists "/static/images/logo.ico") -}} + {{- end }} \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2e03b24215..e12bc6597d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -28,7 +28,7 @@ :root #header + #content > #left > #rlblock_left{ display:none !important; } - {{- if .Site.Params.disableInlineCopyToClipBoard }} + {{- if .Site.Params.disableInlineCopyToClipBoard }} :not(pre) > code.copy-to-clipboard-inline + span.copy-to-clipboard { display: none; } @@ -37,7 +37,7 @@ border-top-right-radius: 2px; border-right-width: 1px; } - {{- end }} + {{- end }} {{- partial "custom-header.html" . }}