BUGFIX: icon cannot show in section page
This commit is contained in:
parent
4699aca63c
commit
9462ce49d8
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
{{ $page := .page }}
|
{{ $page := .page }}
|
||||||
{{ $index := .index }}
|
{{ $index := .index }}
|
||||||
{{ $site := .site }}
|
|
||||||
<div class="moment-row">
|
<div class="moment-row">
|
||||||
|
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
|
@ -30,7 +29,7 @@
|
||||||
<img src='{{ . }}' class="avatar">
|
<img src='{{ . }}' class="avatar">
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{/* fixme check whether the default avatar path is url or not--> */}}
|
{{/* fixme check whether the default avatar path is url or not--> */}}
|
||||||
<img src='{{ $site.BaseURL }}/{{ $page.Site.Params.avatar }}' class="avatar">
|
<img src='{{ $page.Site.BaseURL }}/{{ $page.Site.Params.avatar }}' class="avatar">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="intro">
|
<div class="intro">
|
||||||
|
@ -134,7 +133,7 @@
|
||||||
|
|
||||||
{{ with $page.Params.link }}
|
{{ with $page.Params.link }}
|
||||||
{{ partial "link-block.html" (dict "logo" $link_logo "a" $link_link "word" $link_text "baseurl"
|
{{ partial "link-block.html" (dict "logo" $link_logo "a" $link_link "word" $link_text "baseurl"
|
||||||
$.Site.BaseURL)}}
|
$page.Site.BaseURL)}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{/* Note info shown below the main content */}}
|
{{/* Note info shown below the main content */}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue