mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-10 10:15:41 +00:00
posts.html: Use "relURL" (#50)
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
This commit is contained in:
1 parent
890f89d8d1
commit
74cf40df08
1 file changed
+2
-2
@@ -13,7 +13,7 @@
|
||||
{{ with $page.Params.subtitle }}<p>{{ . | markdownify }}</p>{{ end }}
|
||||
{{ if gt $posts_len $page.Params.count }}
|
||||
<p class="view-all">
|
||||
<a href="{{ .Site.BaseURL }}post/">
|
||||
<a href="{{ "/post/" | relURL }}">
|
||||
{{ with $page.Params.str_all }}{{ . | markdownify }}{{ end }}
|
||||
<i class="fa fa-angle-double-right"></i>
|
||||
</a>
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class="article-list-item" itemscope itemprop="blogPost">
|
||||
{{ if .Params.image }}
|
||||
<a href="{{ .Permalink }}">
|
||||
<img src="{{ $.Site.BaseURL }}img/{{ .Params.image }}" class="article-banner"
|
||||
<img src="{{ "/img/" | relURL }}{{ .Params.image }}" class="article-banner"
|
||||
itemprop="image">
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
Reference in new issue
Block a user