diff --git a/content/_index.md b/content/_index.md index 750ed55..0a7eb59 100644 --- a/content/_index.md +++ b/content/_index.md @@ -5,8 +5,6 @@ date = "2017-09-07" description = "iSTRUM" +++ -![](images/istrum-logo-mod.png) - **i**nve**S**tigating the **T**ransient **R**heology of the **U**pper **M**antle To learn more about iSTRUM, read more about the project [here](/about) or check out the [blog](/blog). \ No newline at end of file diff --git a/layouts/partials/home/card.html b/layouts/partials/home/card.html index fa513e5..46cb309 100644 --- a/layouts/partials/home/card.html +++ b/layouts/partials/home/card.html @@ -1,8 +1,27 @@
-
-
{{ .Content | emojify }}
+
+ {{ $homepageImage := "" }} + {{ with .Site.Params.defaultBackgroundImage }} + {{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} + {{ $homepageImage = resources.GetRemote . }} + {{ else }} + {{ $homepageImage = resources.Get . }} + {{ end }} + {{ end }} + {{ with .Site.Params.homepage.homepageImage }} + {{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} + {{ $homepageImage = resources.GetRemote . }} + {{ else }} + {{ $homepageImage = resources.Get . }} + {{ end }} + {{ end }} + {{ if $homepageImage }} + + {{ end }} +
{{ .Content | emojify }}