fix the url issue for link logo
This commit is contained in:
parent
4f5b65561d
commit
ddf60d30ca
2 changed files with 5 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
<table class="link-table">
|
<table class="link-table">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<img src="{{ $.Site.BaseURL }}\link-logos\default_link_logo.png" class="link-logo">
|
<img src="{{ .baseurl }}\link-logos\default_link_logo.png" class="link-logo">
|
||||||
</td>
|
</td>
|
||||||
<td style="padding-left: 20px">
|
<td style="padding-left: 20px">
|
||||||
<a href="{{ .a }}">{{.word}}</a>
|
<a href="{{ .a }}">{{.word}}</a>
|
||||||
|
|
|
@ -63,12 +63,14 @@
|
||||||
{{ partial "pic_set.html" (dict "pic_set" .) }}
|
{{ partial "pic_set.html" (dict "pic_set" .) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- todo format the name of this part -->
|
||||||
|
<!-- add-on info 3: link -->
|
||||||
{{ $link_link := .Params.link }}
|
{{ $link_link := .Params.link }}
|
||||||
{{ $link_logo := .Params.link_logo }}
|
{{ $link_logo := .Params.link_logo }}
|
||||||
{{ $link_text := .Params.link_text }}
|
{{ $link_text := .Params.link_text }}
|
||||||
|
|
||||||
{{ with .Params.link }}
|
{{ with .Params.link }}
|
||||||
{{ partial "link-block.html" (dict "logo" $link_logo "a" $link_link "word" $link_text)}}
|
{{ partial "link-block.html" (dict "logo" $link_logo "a" $link_link "word" $link_text "baseurl" $.Site.BaseURL)}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- 附注信息 -->
|
<!-- 附注信息 -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue