Skip to content

Commit dda45fa

Browse files
committed
cover styling revision
1 parent 1e463e1 commit dda45fa

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

layouts/shortcodes/blocks/cover.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,36 @@
6565
{{/**/ -}}
6666

6767
</li>
68+
<li id="carousel__slide2"
69+
tabindex="0"
70+
class="carousel__slide">
71+
<section id="{{ $blockID }}" class="row td-cover-block td-cover-block--height-{{ $height -}}
72+
{{ if not .Site.Params.ui.navbar_translucent_over_cover_disable }} js-td-cover
73+
{{- end }} td-overlay td-overlay--dark -bg-{{ $col_id }}">
74+
<div class="col-12 hero-content-column"
75+
style="background-image: url(./Resources/logoWindows.svg)">
76+
<div class="container td-overlay__inner">
77+
<!-- <img id="banner-hero-logo" class="hero-logo" alt="Interlisp Medley logotype" src="Resources/logoWindows.svg"> -->
78+
<div class="text-center">
79+
{{ with .Get "title" }}<h1 class="display-1 mt-0 mt-md-5 pb-4">{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}<img class="td-cover-logo" src="{{ $logo_image_resized.RelPermalink }}" alt="{{ $title | html }} Logo">{{ end }}{{ $title | html }}</h1>{{ end }}
80+
{{ with .Get "subtitle" }}<p class="display-2 text-uppercase mb-0">{{ . | html }}</p>{{ end }}
81+
<div class="pt-3 lead">
82+
{{ if eq .Page.File.Ext "md" }}
83+
{{ .Inner | markdownify }}
84+
{{ else }}
85+
{{ .Inner | htmlUnescape | safeHTML }}
86+
{{ end }}
87+
</div>
88+
</div>
89+
</div>
90+
</div>
91+
{{ with .Get "byline" | default "" -}}
92+
<div class="byline">{{ . }}</div>
93+
{{- end }}
94+
</section>
95+
{{/**/ -}}
96+
97+
</li>
6898
</ol>
6999
</section>
70100

0 commit comments

Comments
 (0)