diff options
author | Juhair Islam <46952682+Error6251@users.noreply.github.com> | 2022-02-17 06:44:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 06:44:27 +0300 |
commit | e46c35e350ee1513c75301011e8c11a77fb7416b (patch) | |
tree | 4cd4ca17bf7927e048a00814550879b795473ff0 | |
parent | efbea690d277f6c15071ca76e8f5e0ac521c761a (diff) | |
parent | 0198531b348cdf65131c7cba48f683b4e9d91150 (diff) |
Merge pull request #51 from dnth/master
Added: Skills onto the site Main Menu and
-rw-r--r-- | exampleSite/config.toml | 8 | ||||
-rw-r--r-- | layouts/partials/skillSection.html | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e910839..337da55 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -25,13 +25,17 @@ name = "Resume" url = "#resume" weight = 5 [[menu.main]] +name = "Skills" +url = "#skills" +weight = 6 +[[menu.main]] name = "Blog" url = "#blog" -weight = 6 +weight = 7 [[menu.main]] name = "Contact" url = "#contact" -weight = 7 +weight = 8 # Sitemap Menu [[menu.sitemap]] diff --git a/layouts/partials/skillSection.html b/layouts/partials/skillSection.html index 1bd58bc..52dfb75 100644 --- a/layouts/partials/skillSection.html +++ b/layouts/partials/skillSection.html @@ -1,6 +1,6 @@ {{ with .Site.Data.skillSection }} {{ if .enable }} -<section class="section skill"> +<section class="section skill", id="skills"> <div class="skill__background_shape"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 600 600"> <defs> @@ -58,4 +58,4 @@ </div> </section> {{ end }} -{{ end }}
\ No newline at end of file +{{ end }} |