Replace absURL with relURL and .Site.X with site.X
This commit is contained in:
parent
dda04c533e
commit
c542effd65
20 changed files with 72 additions and 72 deletions
|
@ -1,6 +1,6 @@
|
|||
<div
|
||||
class="achievement-entry text-center"
|
||||
style="background-image: url({{ .image | absURL }});"
|
||||
style="background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ .image | relURL }}');"
|
||||
>
|
||||
<i class="fas fa-search-plus" id="enlarge-icon"></i>
|
||||
<h4 class="title" id="achievement-title">{{ .title }}</h4>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue