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
|
@ -8,7 +8,7 @@
|
|||
<div>
|
||||
<div class="d-flex">
|
||||
{{ if .logo }}
|
||||
<img class="card-img-xs" src="{{ .logo | absURL }}" alt="{{ .name }}" />
|
||||
<img class="card-img-xs" src="{{ .logo | relURL }}" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
<h5 class="card-title mb-0">{{ .name }}</h5>
|
||||
</div>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue