update about, contact, author-social, and remove search page
This commit is contained in:
parent
2e9a23387f
commit
8b50622a2b
@ -21,35 +21,30 @@ weight = 4
|
|||||||
name = "Pages"
|
name = "Pages"
|
||||||
hasChildren = true
|
hasChildren = true
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
parent = "Pages"
|
parent = "Pages"
|
||||||
name = "Blog"
|
name = "Blog"
|
||||||
url = "blog/"
|
url = "blog/"
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
parent = "Pages"
|
parent = "Pages"
|
||||||
name = "Contact"
|
name = "Contact"
|
||||||
url = "contact/"
|
url = "contact/"
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
parent = "Pages"
|
parent = "Pages"
|
||||||
name = "Authors"
|
name = "Authors"
|
||||||
url = "authors/"
|
url = "authors/"
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
parent = "Pages"
|
parent = "Pages"
|
||||||
name = "Search"
|
name = "Categories"
|
||||||
url = "search/"
|
url = "categories/"
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
parent = "Pages"
|
parent = "Pages"
|
||||||
name = "Categories"
|
name = "404 Page"
|
||||||
url = "categories/"
|
url = "404/"
|
||||||
|
|
||||||
[[main]]
|
|
||||||
parent = "Pages"
|
|
||||||
name = "404 Page"
|
|
||||||
url = "404/"
|
|
||||||
|
|
||||||
|
|
||||||
# footer menu
|
# footer menu
|
||||||
|
@ -3,7 +3,6 @@ title: "Hey, I am John Doe!"
|
|||||||
meta_title: "About"
|
meta_title: "About"
|
||||||
description: "this is meta description"
|
description: "this is meta description"
|
||||||
image: "/images/avatar.png"
|
image: "/images/avatar.png"
|
||||||
layout: "about"
|
|
||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
@ -4,9 +4,17 @@ email: johndoe@email.com
|
|||||||
image: "/images/avatar.png"
|
image: "/images/avatar.png"
|
||||||
description: this is meta description
|
description: this is meta description
|
||||||
social:
|
social:
|
||||||
facebook: https://www.facebook.com/
|
- name: github
|
||||||
twitter: https://www.twitter.com/
|
icon: fa-brands fa-github
|
||||||
instagram: https://www.instagram.com/
|
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.
|
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.
|
||||||
|
@ -4,9 +4,17 @@ email: samwilson@email.com
|
|||||||
image: "/images/avatar.png"
|
image: "/images/avatar.png"
|
||||||
description: this is meta description
|
description: this is meta description
|
||||||
social:
|
social:
|
||||||
facebook: https://www.facebook.com/
|
- name: github
|
||||||
twitter: https://www.twitter.com/
|
icon: fa-brands fa-github
|
||||||
instagram: https://www.instagram.com/
|
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.
|
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.
|
||||||
|
@ -4,9 +4,17 @@ email: williamjacob@email.com
|
|||||||
image: "/images/avatar.png"
|
image: "/images/avatar.png"
|
||||||
description: this is meta description
|
description: this is meta description
|
||||||
social:
|
social:
|
||||||
facebook: https://www.facebook.com/
|
- name: github
|
||||||
twitter: https://www.twitter.com/
|
icon: fa-brands fa-github
|
||||||
instagram: https://www.instagram.com/
|
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.
|
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.
|
||||||
|
@ -2,6 +2,5 @@
|
|||||||
title: "Contact"
|
title: "Contact"
|
||||||
meta_title: ""
|
meta_title: ""
|
||||||
description: "this is meta description"
|
description: "this is meta description"
|
||||||
layout: "contact"
|
|
||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: "Elements"
|
title: "Elements"
|
||||||
|
# meta title
|
||||||
meta_title: ""
|
meta_title: ""
|
||||||
# meta description
|
# meta description
|
||||||
description: "This is meta description"
|
description: "This is meta description"
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: "Privacy"
|
title: "Privacy"
|
||||||
|
# meta title
|
||||||
meta_title: ""
|
meta_title: ""
|
||||||
description: "this is meta description"
|
# meta description
|
||||||
|
description: "This is meta description"
|
||||||
|
# save as draft
|
||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
8
exampleSite/content/english/pages/search.md
Normal file → Executable file
8
exampleSite/content/english/pages/search.md
Normal file → Executable file
@ -1,7 +1,9 @@
|
|||||||
---
|
---
|
||||||
title: "Search"
|
title: "Elements"
|
||||||
meta_title: ""
|
# meta title
|
||||||
description: "this is meta description"
|
|
||||||
layout: "search"
|
layout: "search"
|
||||||
|
# meta description
|
||||||
|
description: "This is meta description"
|
||||||
|
# save as draft
|
||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
@ -1,9 +0,0 @@
|
|||||||
{{ define "main" }}
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-12">
|
|
||||||
{{ partial "search-page.html" (dict "Context" . "Class" "your-custom-class") }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
@ -20,33 +20,14 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
<ul class="social-icons ml-4 mt-10 text-center">
|
<ul class="social-icons ml-4 mt-10 text-center">
|
||||||
{{ if .Params.social.facebook }}
|
{{ range .Params.social }}
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
href="{{ . | safeURL }}"
|
href="{{ .link | safeURL }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener nofollow">
|
rel="noopener nofollow">
|
||||||
<i class="fa-brands fa-facebook-f"></i>
|
<span class="sr-only">{{ .title }}</span>
|
||||||
</a>
|
<i class="{{ .icon }}"></i>
|
||||||
</li>
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Params.social.twitter }}
|
|
||||||
<li>
|
|
||||||
<a
|
|
||||||
href="{{ . | safeURL }}"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener nofollow">
|
|
||||||
<i class="fa-brands fa-twitter"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Params.social.instagram }}
|
|
||||||
<li>
|
|
||||||
<a
|
|
||||||
href="{{ . | safeURL }}"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener nofollow">
|
|
||||||
<i class="fa-brands fa-instagram"></i>
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
{{ with site.GetPage "homepage" }}
|
||||||
<!-- Banner -->
|
<!-- Banner -->
|
||||||
{{ with .Params.banner }}
|
{{ with .Params.banner }}
|
||||||
<section class="section pt-14">
|
<section class="section pt-14">
|
||||||
@ -71,7 +72,8 @@
|
|||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="md:col-10 lg:col-8 xl:col-6 mx-auto mb-12 text-center">
|
<div
|
||||||
|
class="md:col-10 lg:col-8 xl:col-6 mx-auto mb-12 text-center">
|
||||||
<h2 class="mb-4">
|
<h2 class="mb-4">
|
||||||
{{ .Title | markdownify }}
|
{{ .Title | markdownify }}
|
||||||
</h2>
|
</h2>
|
||||||
@ -128,4 +130,5 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<!-- /Testimonials -->
|
<!-- /Testimonials -->
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -18,24 +18,11 @@
|
|||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
</p>
|
</p>
|
||||||
<ul class="social-icons">
|
<ul class="social-icons">
|
||||||
{{ if .Params.social.facebook }}
|
{{ range .Params.social }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ . | safeURL }}" target="_blank" rel="noopener nofollow">
|
<a href="{{ .link | safeURL }}" target="_blank" rel="noopener nofollow">
|
||||||
<i class="fa-brands fa-facebook-f"></i>
|
<span class="sr-only">{{ .title }}</span>
|
||||||
</a>
|
<i class="{{ .icon }}"></i>
|
||||||
</li>
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Params.social.twitter }}
|
|
||||||
<li>
|
|
||||||
<a href="{{ . | safeURL }}" target="_blank" rel="noopener nofollow">
|
|
||||||
<i class="fa-brands fa-twitter"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Params.social.instagram }}
|
|
||||||
<li>
|
|
||||||
<a href="{{ . | safeURL }}" target="_blank" rel="noopener nofollow">
|
|
||||||
<i class="fa-brands fa-instagram"></i>
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "hugoplate",
|
"name": "hugoplate",
|
||||||
"description": "hugo tailwindcss boilerplate",
|
"description": "hugo tailwindcss boilerplate",
|
||||||
"version": "1.6.3",
|
"version": "1.7.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "zeon.studio",
|
"author": "zeon.studio",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user