side base url removed
BaseUrl in single.html file been removed when background url is here with BaseURL, image is not openning when you accessing your page through another link. example: when instead of accessing http:/toha.example.com/posts/some-post you trying to access with: http://127.0.0.1/posts/some-post
This commit is contained in:
parent
440f424e44
commit
86ae544e64
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
{{ define "content" }}
|
||||
<div class="container p-0 read-area">
|
||||
<!--Hero Area-->
|
||||
<div class="hero-area col-sm-12" style='background-image: url({{ strings.TrimSuffix "/" .Site.BaseURL }}{{ partial "helpers/get-hero.html" . }});'>
|
||||
<div class="hero-area col-sm-12" style='background-image: url({{ partial "helpers/get-hero.html" . }});'>
|
||||
</div>
|
||||
|
||||
<!--Content Start-->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue