Skip to content

Commit

Permalink
fix navbar logo element
Browse files Browse the repository at this point in the history
  • Loading branch information
RadioPotin committed Aug 29, 2024
1 parent df4666f commit 84a504a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Paginate = 10
legal = "DéCySif is a project funded by the i-Démo call and the Ile-de-France region."

[params]
site_logo = '/images/logo_decysif_excellence_for_security_blank_bg_rectangle.svg'
site_logo = '../images/logo_decysif_excellence_for_security_blank_bg_rectangle.svg'
text_color = ""
recent_posts_number = 5
[params.contact]
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/site-navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="flex-l justify-between items-center center">
<a href="{{ .Site.Home.RelPermalink }}" class="f3 fw2 hover-white no-underline white-90 dib">
{{ with .Site.Params.site_logo }}
<img src="{{ relURL . }}" class="w100 mw5-ns" id="sitelogo" alt="{{ $.Site.Title }}" />
<img src="{{ . }}" class="w100 mw5-ns" id="sitelogo" alt="{{ $.Site.Title }}" />
{{ else }}
{{ .Site.Title }}
{{ end }}
Expand Down

0 comments on commit 84a504a

Please sign in to comment.