diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-27 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-27 00:00:00 +0000 |
commit | d8bd01dc55cb321ab7d227afcf1a2c637c4e56016b57e120513df5838a5173dc (patch) | |
tree | 043b01ccc113aa159fa3383cb96d90dd292bdebe7e19db2dea796bdacee0b490 | |
parent | f50663f74639aff525348fd6345c70689a1fa2a9c3dbf30e447a739c1c101e24 (diff) | |
download | hugo-theme-journal-d8bd01dc55cb321ab7d227afcf1a2c637c4e56016b57e120513df5838a5173dc.tar.gz hugo-theme-journal-d8bd01dc55cb321ab7d227afcf1a2c637c4e56016b57e120513df5838a5173dc.zip |
Replace site config var with local file template
-rw-r--r-- | layouts/partials/header.gmi | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.gmi b/layouts/partials/header.gmi index acdb5eb..3dafe9b 100644 --- a/layouts/partials/header.gmi +++ b/layouts/partials/header.gmi @@ -1,3 +1,3 @@ ```nicksphere logo -{{ $.Site.Params.logo | safeHTML }} +{{ readFile "/content/templates/logo" | safeHTML }} ``` diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ca27841..ef3f99d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,3 +1,3 @@ <header> - <pre id="logo">{{ $.Site.Params.logo }}</pre> -</header>
\ No newline at end of file + <pre id="logo">{{ readFile "/content/templates/logo" }}</pre> +</header> |