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

github.com/themefisher/parsa-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomratpro <abdulmonnafsomrat@gmail.com>2020-10-01 09:58:23 +0300
committersomratpro <abdulmonnafsomrat@gmail.com>2020-10-01 09:58:23 +0300
commitdf24e83ce3d2ac97f64500bb77538447815d9cc7 (patch)
treedb8b6ba2c1f1bc7ac412bc80bc0c7f38c383e4af /exampleSite
parent24a4b41d878868640ea663c6a20a7502b34a27bd (diff)
added multiple homepage and cookie popup
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml37
-rw-r--r--exampleSite/content/homepage/home-1.md4
-rw-r--r--exampleSite/content/homepage/home-2.md4
3 files changed, 37 insertions, 8 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 4ca132a..3f3292a 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,5 +1,5 @@
# default config
-baseURL = "https://examplesite.org"
+baseurl = "https://examplesite.org"
languageCode = "en-us"
title = "Parsa Hugo | Personal Blog Template"
theme = "parsa-hugo"
@@ -44,13 +44,29 @@ link = "plugins/search/search.js"
# navigation
[[menu.main]]
+name = "Homepage"
+url = ""
+weight = 1
+hasChildren = true
+
+ [[menu.main]]
+ parent = "Homepage"
+ name = "Homepage 1"
+ url = "homepage/home-1"
+
+ [[menu.main]]
+ parent = "Homepage"
+ name = "Homepage 2"
+ url = "homepage/home-2"
+
+[[menu.main]]
name = "About"
-URL = "about"
+url = "about"
weight = 2
[[menu.main]]
name = "Contact"
-URL = "contact"
+url = "contact"
weight = 3
# deult parameter
@@ -66,7 +82,7 @@ preloader = true
# search
search = true
# about author
-author = "Themefisher"
+author = "John Doe"
author_image = "images/banner-img.png"
bio = "I’m a Freelance Interactive Art Director based in France. Focusing across branding and identity, digital and print."
# Contact info
@@ -85,19 +101,24 @@ copyright = "Copyright &copy; 2020 a theme by [themefisher.com](themefisher.com)
enable = true
access_token = "IGQVJYeUk4YWNIY1h4OWZANeS1wRHZARdjJ5QmdueXN2RFR6NF9iYUtfcGp1NmpxZA3RTbnU1MXpDNVBHTzZAMOFlxcGlkVHBKdjhqSnUybERhNWdQSE5hVmtXT013MEhOQVJJRGJBRURn"
+# cookies
+[params.cookies]
+enable = true
+expire_days = 2
+
# social site
[[params.social]]
icon = "ti-facebook"
-URL = "#"
+url = "#"
[[params.social]]
icon = "ti-twitter-alt"
-URL = "#"
+url = "#"
[[params.social]]
icon = "ti-linkedin"
-URL = "#"
+url = "#"
[[params.social]]
icon = "ti-github"
-URL = "#" \ No newline at end of file
+url = "#" \ No newline at end of file
diff --git a/exampleSite/content/homepage/home-1.md b/exampleSite/content/homepage/home-1.md
new file mode 100644
index 0000000..43de444
--- /dev/null
+++ b/exampleSite/content/homepage/home-1.md
@@ -0,0 +1,4 @@
+---
+title: "Homepage 1"
+layout: "1"
+--- \ No newline at end of file
diff --git a/exampleSite/content/homepage/home-2.md b/exampleSite/content/homepage/home-2.md
new file mode 100644
index 0000000..51c7df4
--- /dev/null
+++ b/exampleSite/content/homepage/home-2.md
@@ -0,0 +1,4 @@
+---
+title: "Homepage 2"
+layout: "2"
+--- \ No newline at end of file