diff options
author | somrat <monnaf37@gmail.com> | 2019-12-03 08:39:37 +0300 |
---|---|---|
committer | somrat <monnaf37@gmail.com> | 2019-12-03 08:39:37 +0300 |
commit | a05060f50fe51dfb509be11a7214e830705ff18e (patch) | |
tree | 231c21d479be280c019f499c1ddf5e44b57c498f | |
parent | 227b32c2b91c20d571ae86ee551c209f4cd7dca7 (diff) |
modified navigation for scrolling
-rw-r--r-- | exampleSite/config.toml | 6 | ||||
-rw-r--r-- | layouts/partials/features.html | 2 | ||||
-rw-r--r-- | layouts/partials/testimonials.html | 2 | ||||
-rw-r--r-- | theme.toml | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8d84770..902d7c2 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -37,17 +37,17 @@ theme = "vex-hugo" [[menu.main]] name = "Feature" - URL = "#feature" + URL = "feature" weight = 2 [[menu.main]] name = "Gallery" - URL = "#gallery" + URL = "gallery" weight = 3 [[menu.main]] name = "Testimonial" - URL = "#testimonial" + URL = "testimonial" weight = 4 diff --git a/layouts/partials/features.html b/layouts/partials/features.html index cabc0eb..f24eccc 100644 --- a/layouts/partials/features.html +++ b/layouts/partials/features.html @@ -1,6 +1,6 @@ {{- if .Site.Data.homepage.features.enable }} {{- with .Site.Data.homepage.features }} -<section class="section" id="features"> +<section class="section" id="feature"> <div class="container"> <div class="row"> <div class="col-12"> diff --git a/layouts/partials/testimonials.html b/layouts/partials/testimonials.html index 92d6617..e85c6f2 100644 --- a/layouts/partials/testimonials.html +++ b/layouts/partials/testimonials.html @@ -1,6 +1,6 @@ {{ if .Site.Data.homepage.testimonial.enable }} {{ with .Site.Data.homepage.testimonial }} -<section class="testimonials section"> +<section class="testimonials section" id="testimonial"> <div class="container"> <div class="row justify-content-center"> <div class="col-12"> @@ -10,7 +10,7 @@ features = ["onepage", "product"] min_version = "0.58.0" [author] - name = "Giacomo Mariani (@karjudev) for Themefisher" + name = "Themefisher" homepage = "https://themefisher.com/" [original] |