diff options
author | alex bezek <alex.bezek@cerner.com> | 2020-10-25 05:07:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 05:07:18 +0300 |
commit | d0c32c5d082c4fa6b09690e60ebf06a4c59713a2 (patch) | |
tree | a5c386dbde67dcc5dc82372e0afbec2b8ffe4911 /layouts/partials/cards/skill.html | |
parent | 4d19b2f8d1695a9cd9f8d39fef2c4a7ad87a9467 (diff) |
Fix the single template to use the authors avatar correctly (#107)
* Fix the single template to use the authors avatar correctly
* Replace absURL with relURL and .Site.X with site.X
Co-authored-by: Emruz Hossain <emruz@appscode.com>
Diffstat (limited to 'layouts/partials/cards/skill.html')
-rw-r--r-- | layouts/partials/cards/skill.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/cards/skill.html b/layouts/partials/cards/skill.html index b911405..4478e1e 100644 --- a/layouts/partials/cards/skill.html +++ b/layouts/partials/cards/skill.html @@ -3,7 +3,7 @@ <div class="card"> <div class="card-head d-flex"> {{ if .icon }} - <img class="card-img-xs" src="{{ .icon | absURL }}" alt="{{ .name }}" /> + <img class="card-img-xs" src="{{ .icon | relURL }}" alt="{{ .name }}" /> {{ end }} <h5 class="card-title">{{ .name }}</h5> </div> |