Remove unnecessary uses of baseURL that could block the site from functioning if the URL isn't working

This commit is contained in:
Jay Burgess 2020-11-08 09:53:25 -07:00
parent 5e1e78c846
commit e290fbe813
No known key found for this signature in database
GPG key ID: 29540CB282917542
3 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@
<div class="content">
<div class="container p-0 read-area">
<!--Hero Area-->
<div class="hero-area col-sm-12" id="hero-area" style='background-image: url({{ strings.TrimSuffix "/" site.BaseURL }}{{ partial "helpers/get-hero.html" . | relURL }});'>
<div class="hero-area col-sm-12" id="hero-area" style='background-image: url({{ partial "helpers/get-hero.html" . | relURL }});'>
</div>
<!--Content Start-->

View file

@ -1,6 +1,6 @@
<div
class="achievement-entry text-center"
style="background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ .image | relURL }}');"
style="background-image: url('{{ .image | relURL }}');"
>
<i class="fas fa-search-plus" id="enlarge-icon"></i>
<h4 class="title" id="achievement-title">{{ .title }}</h4>

View file

@ -28,7 +28,7 @@
<div class="container-fluid home" id="home">
<div
class="background container-fluid"
style="background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $backgroundImage | relURL }}');"
style="background-image: url('{{ $backgroundImage | relURL }}');"
></div>
<div class="container content text-center">
<img src="{{ $authorImage | relURL }}"