fix the problem wrong url for secondary path location
This commit is contained in:
parent
af6cb2b23e
commit
f49368aa50
3 changed files with 9 additions and 8 deletions
|
@ -29,7 +29,7 @@
|
|||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<!-- the Moments style css file -->
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{.Site.BaseURL}}/css/style.css">
|
||||
|
||||
<!-- website title -->
|
||||
<title>{{ .Site.Params.title }}</title>
|
|
@ -13,7 +13,8 @@
|
|||
{{ with .Params.avatar }}
|
||||
<img src='{{ . }}' class="avatar">
|
||||
{{ else }}
|
||||
<img src='{{ .Site.Params.avatar}}' class="avatar">
|
||||
<!-- fixme check whether the default avatar path is url or not-->
|
||||
<img src='{{ $.Site.BaseURL }}/{{ .Site.Params.avatar }}' class="avatar">
|
||||
{{ end }}
|
||||
<div class="intro">
|
||||
{{ with .Params.name }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue