File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ date = "2017-09-07"
55description = " iSTRUM"
66+++
77
8- ![ ] ( images/istrum-logo-mod.png )
9-
108** i** nve** S** tigating the ** T** ransient ** R** heology of the ** U** pper ** M** antle
119
1210To learn more about iSTRUM, read more about the project [ here] ( /about ) or check out the [ blog] ( /blog ) .
Original file line number Diff line number Diff line change 11< div class ="relative pt-16 pb-32 ">
22 < div aria-hidden ="true " class ="absolute inset-x-0 top-0 h-48 bg-gradient-to-b from-gray-100 "> </ div >
33 < div class ="relative ">
4- < article class ="max-w-full prose dark:prose-invert ">
5- < section > {{ .Content | emojify }}</ section >
4+ < article class ="max-w-full prose dark:prose-invert " style ="text-align: center; ">
5+ {{ $homepageImage := "" }}
6+ {{ with .Site.Params.defaultBackgroundImage }}
7+ {{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
8+ {{ $homepageImage = resources.GetRemote . }}
9+ {{ else }}
10+ {{ $homepageImage = resources.Get . }}
11+ {{ end }}
12+ {{ end }}
13+ {{ with .Site.Params.homepage.homepageImage }}
14+ {{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
15+ {{ $homepageImage = resources.GetRemote . }}
16+ {{ else }}
17+ {{ $homepageImage = resources.Get . }}
18+ {{ end }}
19+ {{ end }}
20+ {{ if $homepageImage }}
21+ < img style ="display: block; margin-left: auto; margin-right: auto; width: 60%; "
22+ src ="{{ $homepageImage.RelPermalink }} ">
23+ {{ end }}
24+ < section > {{ .Content | emojify }}</ section >
625 </ article >
726 </ div >
827</ div >
You can’t perform that action at this time.
0 commit comments