fixed duplicate id's for sections
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
02ed552e6d
commit
0dc2d24936
|
@ -22,7 +22,7 @@
|
||||||
<p class="is-size-3"><b>Learn More</b></p>
|
<p class="is-size-3"><b>Learn More</b></p>
|
||||||
<!-- SVG provided by LineIcons https://lineicons.com under CC BY-SA 4.0 -->
|
<!-- SVG provided by LineIcons https://lineicons.com under CC BY-SA 4.0 -->
|
||||||
<!-- Colour has been changed and this SVG is also licensed under CC BY-SA 4.0 as per its license requirements -->
|
<!-- Colour has been changed and this SVG is also licensed under CC BY-SA 4.0 as per its license requirements -->
|
||||||
<a href="#benefits-section"
|
<a href="#benefits"
|
||||||
><img alt="Down Chevron" width="40px" src="/svg/chevron-down.svg"
|
><img alt="Down Chevron" width="40px" src="/svg/chevron-down.svg"
|
||||||
/></a>
|
/></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
<section id="benefits-section" class="section">
|
|
||||||
|
{{ $title := lower .title }}
|
||||||
|
<section id="{{ $title }}" class="section">
|
||||||
<div class="container content">
|
<div class="container content">
|
||||||
<h1 class="is-uppercase">{{ .title }}</h1>
|
<h1 class="is-uppercase">{{ .title }}</h1>
|
||||||
<hr class="hr-header" />
|
<hr class="hr-header" />
|
||||||
{{ $title := lower .title }} {{ $amount := len .data }} {{ range $index,
|
|
||||||
$item := .data }} {{/* Don't place
|
{{ $amount := len .data }}
|
||||||
<hr />
|
{{ range $index, $item := .data }}
|
||||||
if it is the first in the list */}} {{ if gt $index 0 }}
|
{{/* Don't place <hr /> if it is the first in the list */}}
|
||||||
|
{{ if gt $index 0 }}
|
||||||
<hr />
|
<hr />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="columns is-variable is-8">
|
<div class="columns is-variable is-8">
|
||||||
|
|
Loading…
Reference in New Issue