diff --git a/exampleSite/config/_default/menus.en.toml b/exampleSite/config/_default/menus.en.toml index 2011412..ee3b18c 100755 --- a/exampleSite/config/_default/menus.en.toml +++ b/exampleSite/config/_default/menus.en.toml @@ -21,35 +21,30 @@ weight = 4 name = "Pages" hasChildren = true - [[main]] - parent = "Pages" - name = "Blog" - url = "blog/" +[[main]] +parent = "Pages" +name = "Blog" +url = "blog/" - [[main]] - parent = "Pages" - name = "Contact" - url = "contact/" +[[main]] +parent = "Pages" +name = "Contact" +url = "contact/" - [[main]] - parent = "Pages" - name = "Authors" - url = "authors/" +[[main]] +parent = "Pages" +name = "Authors" +url = "authors/" - [[main]] - parent = "Pages" - name = "Search" - url = "search/" +[[main]] +parent = "Pages" +name = "Categories" +url = "categories/" - [[main]] - parent = "Pages" - name = "Categories" - url = "categories/" - - [[main]] - parent = "Pages" - name = "404 Page" - url = "404/" +[[main]] +parent = "Pages" +name = "404 Page" +url = "404/" # footer menu @@ -66,4 +61,4 @@ weight = 2 [[footer]] name = "Privacy Policy" url = "privacy-policy/" -weight = 3 \ No newline at end of file +weight = 3 diff --git a/exampleSite/content/english/pages/about.md b/exampleSite/content/english/about/_index.md similarity index 97% rename from exampleSite/content/english/pages/about.md rename to exampleSite/content/english/about/_index.md index 416daea..293a3be 100644 --- a/exampleSite/content/english/pages/about.md +++ b/exampleSite/content/english/about/_index.md @@ -3,7 +3,6 @@ title: "Hey, I am John Doe!" meta_title: "About" description: "this is meta description" image: "/images/avatar.png" -layout: "about" draft: false --- diff --git a/exampleSite/content/english/authors/john-doe.md b/exampleSite/content/english/authors/john-doe.md index 2b72bd5..1a385a6 100644 --- a/exampleSite/content/english/authors/john-doe.md +++ b/exampleSite/content/english/authors/john-doe.md @@ -4,9 +4,17 @@ email: johndoe@email.com image: "/images/avatar.png" description: this is meta description social: - facebook: https://www.facebook.com/ - twitter: https://www.twitter.com/ - instagram: https://www.instagram.com/ +- name: github + icon: fa-brands fa-github + link: https://github.com + +- name: twitter + icon: fa-brands fa-twitter + link: https://twitter.com + +- name: linkedin + icon: fa-brands fa-linkedin + link: https://linkedin.com --- lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr navigation et dolore magna aliqua. diff --git a/exampleSite/content/english/authors/sam-wilson.md b/exampleSite/content/english/authors/sam-wilson.md index fd6abc8..198f319 100644 --- a/exampleSite/content/english/authors/sam-wilson.md +++ b/exampleSite/content/english/authors/sam-wilson.md @@ -4,9 +4,17 @@ email: samwilson@email.com image: "/images/avatar.png" description: this is meta description social: - facebook: https://www.facebook.com/ - twitter: https://www.twitter.com/ - instagram: https://www.instagram.com/ +- name: github + icon: fa-brands fa-github + link: https://github.com + +- name: twitter + icon: fa-brands fa-twitter + link: https://twitter.com + +- name: linkedin + icon: fa-brands fa-linkedin + link: https://linkedin.com --- lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr navigation et dolore magna aliqua. diff --git a/exampleSite/content/english/authors/william-jacob.md b/exampleSite/content/english/authors/william-jacob.md index 4f7db81..a557bbc 100644 --- a/exampleSite/content/english/authors/william-jacob.md +++ b/exampleSite/content/english/authors/william-jacob.md @@ -4,9 +4,17 @@ email: williamjacob@email.com image: "/images/avatar.png" description: this is meta description social: - facebook: https://www.facebook.com/ - twitter: https://www.twitter.com/ - instagram: https://www.instagram.com/ +- name: github + icon: fa-brands fa-github + link: https://github.com + +- name: twitter + icon: fa-brands fa-twitter + link: https://twitter.com + +- name: linkedin + icon: fa-brands fa-linkedin + link: https://linkedin.com --- lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr navigation et dolore magna aliqua. diff --git a/exampleSite/content/english/pages/contact.md b/exampleSite/content/english/contact/_index.md similarity index 83% rename from exampleSite/content/english/pages/contact.md rename to exampleSite/content/english/contact/_index.md index a0e4fc0..bd6b9f6 100644 --- a/exampleSite/content/english/pages/contact.md +++ b/exampleSite/content/english/contact/_index.md @@ -2,6 +2,5 @@ title: "Contact" meta_title: "" description: "this is meta description" -layout: "contact" draft: false --- diff --git a/exampleSite/content/english/_index.md b/exampleSite/content/english/homepage/_index.md similarity index 100% rename from exampleSite/content/english/_index.md rename to exampleSite/content/english/homepage/_index.md diff --git a/exampleSite/content/english/pages/elements.md b/exampleSite/content/english/pages/elements.md index 8d62f01..a8a4081 100755 --- a/exampleSite/content/english/pages/elements.md +++ b/exampleSite/content/english/pages/elements.md @@ -1,5 +1,6 @@ --- title: "Elements" +# meta title meta_title: "" # meta description description: "This is meta description" diff --git a/exampleSite/content/english/pages/privacy-policy.md b/exampleSite/content/english/pages/privacy-policy.md index c11d54e..3d16c6e 100644 --- a/exampleSite/content/english/pages/privacy-policy.md +++ b/exampleSite/content/english/pages/privacy-policy.md @@ -1,7 +1,10 @@ --- title: "Privacy" +# meta title meta_title: "" -description: "this is meta description" +# meta description +description: "This is meta description" +# save as draft draft: false --- diff --git a/exampleSite/content/english/pages/search.md b/exampleSite/content/english/pages/search.md old mode 100644 new mode 100755 index 849320f..81d4a88 --- a/exampleSite/content/english/pages/search.md +++ b/exampleSite/content/english/pages/search.md @@ -1,7 +1,9 @@ --- -title: "Search" -meta_title: "" -description: "this is meta description" +title: "Elements" +# meta title layout: "search" +# meta description +description: "This is meta description" +# save as draft draft: false ---- +--- \ No newline at end of file diff --git a/layouts/_default/search.html b/layouts/_default/search.html deleted file mode 100644 index dae937a..0000000 --- a/layouts/_default/search.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ define "main" }} -
-
-
- {{ partial "search-page.html" (dict "Context" . "Class" "your-custom-class") }} -
-
-
-{{ end }} diff --git a/layouts/_default/about.html b/layouts/about/list.html similarity index 100% rename from layouts/_default/about.html rename to layouts/about/list.html diff --git a/layouts/authors/single.html b/layouts/authors/single.html index 76b0e17..3d630f8 100755 --- a/layouts/authors/single.html +++ b/layouts/authors/single.html @@ -20,33 +20,14 @@ {{ .Content }}