|
@@ -77,28 +77,27 @@
|
|
|
<style>
|
|
|
/* 0 to 299 */
|
|
|
#homePageBackgroundImageDivStyled {
|
|
|
- /*background-image: url('{{ $tiny.RelPermalink }}'); This does not work on https://themes.gohugo.io/ */
|
|
|
- background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $tiny.RelPermalink }}');
|
|
|
+ background-image: url('{{ $tiny.RelPermalink }}');
|
|
|
}
|
|
|
/* 300 to X */
|
|
|
@media (min-width: 500px) and (max-width: 800px) { /* or 301 if you want really the same as previously. */
|
|
|
#homePageBackgroundImageDivStyled {
|
|
|
- background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $small.RelPermalink }}');
|
|
|
+ background-image: url('{{ $small.RelPermalink }}');
|
|
|
}
|
|
|
}
|
|
|
@media (min-width: 801px) and (max-width: 1200px) { /* or 301 if you want really the same as previously. */
|
|
|
#homePageBackgroundImageDivStyled {
|
|
|
- background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $medium.RelPermalink }}');
|
|
|
+ background-image: url('{{ $medium.RelPermalink }}');
|
|
|
}
|
|
|
}
|
|
|
@media (min-width: 1201px) and (max-width: 1500px) { /* or 301 if you want really the same as previously. */
|
|
|
#homePageBackgroundImageDivStyled {
|
|
|
- background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $large.RelPermalink }}');
|
|
|
+ background-image: url('{{ $large.RelPermalink }}');
|
|
|
}
|
|
|
}
|
|
|
@media (min-width: 1501px) { /* or 301 if you want really the same as previously. */
|
|
|
#homePageBackgroundImageDivStyled {
|
|
|
- background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $src.RelPermalink }}');
|
|
|
+ background-image: url('{{ $src.RelPermalink }}');
|
|
|
}
|
|
|
}
|
|
|
</style>
|