From fec3d75d9ca5c94d2062fdfd6ee1f304e01a8af4 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Fri, 5 Nov 2021 09:30:59 +0100 Subject: [PATCH] Add param logoPath. --- README.md | 1 + layouts/_default/baseof.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6828aff..68f2b86 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,7 @@ params: jquery: true # Add jQuery languageDir: "" # Set ltr or rtl, defaults to ltr. logo: false # Turn off the logo. + logoPath: # Relative path to site logo, defaults to "images/logo.png", no leading slash. mainSections: # The sections you want to have listed on the front page. - "section1" # Default to the section with most content if not set. - "section2" # Set to empty if no section should be listed. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5f7e87e..5c36272 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -15,7 +15,7 @@
-{{ if $.Param "logo" | default true }}{{ end }} +{{ if $.Param "logo" | default true }}{{ end }}

{{ .Site.Title }}