diff options
-rwxr-xr-x | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/index.html | 19 |
2 files changed, 5 insertions, 16 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 00f7558..62fce20 100755 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -59,6 +59,8 @@ theme = "raditian-free-hugo-theme" [params] + sections = ["showcase", "about", "education", "experience", "client-and-work", "testimonial", "contact", "newsletter"] + googleTagManagerID = "GTM-000000" # Google Analytics works with Google Tag Manager [params.logo] diff --git a/layouts/index.html b/layouts/index.html index c1df43c..d894949 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -14,24 +14,11 @@ {{ partial "header.html" . }} - {{ partial "showcase.html" . }} - - {{ partial "about.html" . }} - - {{ partial "education.html" . }} - - {{ partial "experience.html" . }} - - {{ partial "client-and-work.html" . }} - - {{ partial "testimonial.html" . }} - - {{ partial "contact.html" . }} - - {{ partial "newsletter.html" . }} + {{ range .Site.Params.sections }} + {{ partial . $ }} + {{ end }} {{ partial "footer.html" . }} - {{ partial "base-foot.html" . }} </body> |