From 288fd4215a072f952f51e8dd6973484fb5ed1273 Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Tue, 11 Aug 2020 13:17:05 +0300 Subject: Fix #126 - support for non-root dir --- exampleSite/config.yml | 2 +- layouts/issues/issue.html | 2 +- layouts/partials/header.html | 4 ++-- layouts/partials/index/announcements.html | 4 ++-- layouts/partials/index/components.html | 2 +- layouts/partials/index/tabs.html | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/exampleSite/config.yml b/exampleSite/config.yml index 397eac8..85665f6 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -214,7 +214,7 @@ params: # # Recommended: png, bmp, jpg, or gif # for best browser support! - logo: /logo.png + logo: logo.png # This is the description that is shown # on the footer and meta tags. diff --git a/layouts/issues/issue.html b/layouts/issues/issue.html index 6e00a22..08a6b92 100644 --- a/layouts/issues/issue.html +++ b/layouts/issues/issue.html @@ -20,7 +20,7 @@

{{ range .Params.Affected }} - {{ . }} + {{ . }} {{ end }}

diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 242c4f3..3f58ad4 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,7 +5,7 @@ {{ if .Site.Params.useLargeHeaderDesign }}
-

{{ .Title }} → + {{ .Title }} →

{{ range .Params.Affected }} - {{ . }} + {{ . }} {{ end }}

diff --git a/layouts/partials/index/components.html b/layouts/partials/index/components.html index c45cee2..ff5174f 100644 --- a/layouts/partials/index/components.html +++ b/layouts/partials/index/components.html @@ -59,7 +59,7 @@ {{ $thisIsDown := where $activeComponentIssues "Params.severity" "=" "down" }}
- + {{ default .name .displayName }} diff --git a/layouts/partials/index/tabs.html b/layouts/partials/index/tabs.html index 9544890..477cacb 100644 --- a/layouts/partials/index/tabs.html +++ b/layouts/partials/index/tabs.html @@ -1,7 +1,7 @@ {{ if .Site.Params.customTabs }}
- + {{ T "incidents" }} -- cgit v1.2.3-70-g09d2