mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-06-29 03:32:20 -04:00
@@ -17,6 +17,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Main menu is now optional
|
||||
|
||||
### Fixed
|
||||
|
||||
- Site logo not linked to home page ([#13](https://github.com/jpanther/congo/issues/13))
|
||||
|
||||
## [1.3.0] - 2021-09-29
|
||||
|
||||
### Added
|
||||
|
||||
@@ -6,12 +6,14 @@
|
||||
{{ if .Site.Params.Logo -}}
|
||||
{{ $logo := resources.Get .Site.Params.Logo }}
|
||||
{{ if $logo }}
|
||||
<img
|
||||
src="{{ $logo.RelPermalink }}"
|
||||
width="{{ div $logo.Width 2 }}"
|
||||
height="{{ div $logo.Height 2 }}"
|
||||
alt="{{ .Site.Title }}"
|
||||
/>
|
||||
<a href="{{ "/" | relURL }}">
|
||||
<img
|
||||
src="{{ $logo.RelPermalink }}"
|
||||
width="{{ div $logo.Width 2 }}"
|
||||
height="{{ div $logo.Height 2 }}"
|
||||
alt="{{ .Site.Title }}"
|
||||
/>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<a
|
||||
|
||||
Reference in New Issue
Block a user