fixed duplicate id's for sections
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Roxie Gibson 2021-03-31 15:21:30 +01:00
parent 02ed552e6d
commit 0dc2d24936
Signed by: roxxers
GPG Key ID: 5D0140EDEE123F4D
2 changed files with 9 additions and 6 deletions

View File

@ -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>

View File

@ -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">