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>
|
||||
<!-- 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 -->
|
||||
<a href="#benefits-section"
|
||||
<a href="#benefits"
|
||||
><img alt="Down Chevron" width="40px" src="/svg/chevron-down.svg"
|
||||
/></a>
|
||||
</div>
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
<section id="benefits-section" class="section">
|
||||
|
||||
{{ $title := lower .title }}
|
||||
<section id="{{ $title }}" class="section">
|
||||
<div class="container content">
|
||||
<h1 class="is-uppercase">{{ .title }}</h1>
|
||||
<hr class="hr-header" />
|
||||
{{ $title := lower .title }} {{ $amount := len .data }} {{ range $index,
|
||||
$item := .data }} {{/* Don't place
|
||||
<hr />
|
||||
if it is the first in the list */}} {{ if gt $index 0 }}
|
||||
|
||||
{{ $amount := len .data }}
|
||||
{{ range $index, $item := .data }}
|
||||
{{/* Don't place <hr /> if it is the first in the list */}}
|
||||
{{ if gt $index 0 }}
|
||||
<hr />
|
||||
{{ end }}
|
||||
<div class="columns is-variable is-8">
|
||||
|
|
Reference in New Issue