Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lucperkins/hugo-fresh.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGareth Oakley <gaz@gazoakley.com>2022-08-13 09:49:51 +0300
committerGareth Oakley <gaz@gazoakley.com>2022-08-13 09:49:51 +0300
commit98b1ab344ed03340bacb053ee5c284d49b952a6c (patch)
tree7176cfd7bf7c3cee41c0b0099c4631fa6fd14ae6
parent8a3fe0559acf4eb1f1e88bb903d558d0fe96b81d (diff)
feat: Add `id` attributes to sections
-rw-r--r--layouts/partials/section1.html2
-rw-r--r--layouts/partials/section2.html2
-rw-r--r--layouts/partials/section3.html2
-rw-r--r--layouts/partials/section4.html2
-rw-r--r--layouts/partials/section5.html2
5 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/section1.html b/layouts/partials/section1.html
index a380023..ea7dae1 100644
--- a/layouts/partials/section1.html
+++ b/layouts/partials/section1.html
@@ -2,7 +2,7 @@
{{- $title := index $section1 "title" }}
{{- $subtitle := index $section1 "subtitle" }}
{{- $tiles := index $section1 "tiles" }}
-<section class="section section-feature-grey is-medium">
+<section class="section section-feature-grey is-medium" id="section1">
<div class="container">
<div class="title-wrapper has-text-centered">
<h2 class="title is-2">{{ $title }}</h2>
diff --git a/layouts/partials/section2.html b/layouts/partials/section2.html
index 7fefd9f..3bc7160 100644
--- a/layouts/partials/section2.html
+++ b/layouts/partials/section2.html
@@ -2,7 +2,7 @@
{{- $title := index $section2 "title" }}
{{- $subtitle := index $section2 "subtitle" }}
{{- $features := index $section2 "features" }}
-<section class="section is-medium">
+<section class="section is-medium" id="section2">
<div class="container">
<div class="columns">
<div class="column is-centered-tablet-portrait">
diff --git a/layouts/partials/section3.html b/layouts/partials/section3.html
index 78351e2..9683791 100644
--- a/layouts/partials/section3.html
+++ b/layouts/partials/section3.html
@@ -4,7 +4,7 @@
{{- $image := index $section3 "image" }}
{{- $buttonText := index $section3 "buttontext" }}
{{- $buttonLink := index $section3 "buttonlink" }}
-<section class="section section-feature-grey is-medium">
+<section class="section section-feature-grey is-medium" id="section3">
<div class="container">
<div class="columns">
<div class="column is-10 is-offset-1">
diff --git a/layouts/partials/section4.html b/layouts/partials/section4.html
index bf6f7ce..3ba05a5 100644
--- a/layouts/partials/section4.html
+++ b/layouts/partials/section4.html
@@ -2,7 +2,7 @@
{{- $title := index $section4 "title" }}
{{- $subtitle := index $section4 "subtitle" }}
{{- $clients := index $section4 "clients" }}
-<section class="section is-medium section-secondary">
+<section class="section is-medium section-secondary" id="section4">
<div class="container">
<div class="title-wrapper has-text-centered">
diff --git a/layouts/partials/section5.html b/layouts/partials/section5.html
index 88ce24b..199d8ab 100644
--- a/layouts/partials/section5.html
+++ b/layouts/partials/section5.html
@@ -1,4 +1,4 @@
-<section class="section section-light-grey is-medium">
+<section class="section section-light-grey is-medium" id="section5">
<div class="container">
<div class="title-wrapper has-text-centered">
<h2 class="title is-2 is-spaced">Drop us a line or two </h2>