Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
23 changes: 21 additions & 2 deletions layouts/partials/home/card.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
<div class="relative pt-16 pb-32">
<div aria-hidden="true" class="absolute inset-x-0 top-0 h-48 bg-gradient-to-b from-gray-100"></div>
<div class="relative">
<article class="max-w-full prose dark:prose-invert">
<section>{{ .Content | emojify }}</section>
<article class="max-w-full prose dark:prose-invert" style="text-align: center;">
{{ $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 }}
<img style="display: block; margin-left: auto; margin-right: auto; width: 60%;"
src="{{ $homepageImage.RelPermalink }}">
{{ end }}
<section>{{ .Content | emojify }}</section>
</article>
</div>
</div>
Expand Down