diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-01 13:10:00 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-01 13:10:00 +0200 |
| commit | 12117dd89b6d4c928ebf26fb3f3da4f4bc8ebb39 (patch) | |
| tree | f9c50e492e3b8b0c7eb8e54b8c9554b75cc79911 /layouts/partials/sidebar.html | |
| parent | 0a150463af8015b7936d8dd9189f4cdc84b9e60b (diff) | |
| download | gohugo-theme-ed-12117dd89b6d4c928ebf26fb3f3da4f4bc8ebb39.tar.gz | |
Setup github_url
Diffstat (limited to 'layouts/partials/sidebar.html')
| -rw-r--r-- | layouts/partials/sidebar.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 70f0b81..92f0897 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -21,7 +21,9 @@ </a> {{- end -}} {{/* TODO: Add hypothesis support */}} - <a class="sidebar-nav-item" href="{{ site.Params.github_url }}" target="_blank">GitHub project</a> + {{- with site.Params.github_url }} + <a class="sidebar-nav-item" href="{{ . }}" target="_blank">GitHub project</a> + {{- end }} </nav> <div class="sidebar-item"> |
