diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-08 16:26:15 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-08 16:26:15 +0200 |
| commit | cddf95ff6a1cd0559714d048db9b9c9615ff018b (patch) | |
| tree | 0b070add08c0906944449025e47c3cafdb04e6fe /layouts/partials/sidebar.html | |
| parent | 1f6ece84ae9d201271506a4672ecf86d0a952658 (diff) | |
| download | gohugo-theme-ed-cddf95ff6a1cd0559714d048db9b9c9615ff018b.tar.gz | |
Provide ability to use custom footer text
Diffstat (limited to 'layouts/partials/sidebar.html')
| -rw-r--r-- | layouts/partials/sidebar.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index d9f64e1..57bca9d 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -23,8 +23,12 @@ <div class="sidebar-item"> <p> - Built with <a href="https://github.com/sergeyklay/gohugo-theme-ed" target="_blank">Ed.</a> + {{- with site.Params.footer }} + {{ . | safeHTML }} + {{- else }} + Built with <a href="https://github.com/sergeyklay/gohugo-theme-ed" target="_blank" rel="noopener noreferrer">Ed.</a> Distributed under an MIT license. + {{- end }} </p> </div> </aside> |
