Move customMenus and other site related config into data section
This commit is contained in:
parent
faa91755f9
commit
9f923f97d3
10 changed files with 56 additions and 47 deletions
|
@ -36,12 +36,6 @@ enableEmoji: true
|
|||
|
||||
# Custom parameters
|
||||
params:
|
||||
# Copyright Notice
|
||||
copyright: © 2020 Copyright.
|
||||
|
||||
# Meta description for your site. This will help the search engines to find your site.
|
||||
description: Portfolio and personal blog of Jane Doe.
|
||||
|
||||
# background image of the landing page
|
||||
background: "images/background.jpg"
|
||||
|
||||
|
@ -62,25 +56,7 @@ params:
|
|||
# specify whether you want to show Table of Contents in reading page
|
||||
enableTOC: true
|
||||
|
||||
# specify the list of custom menus that you want to show in the top navbar.
|
||||
# they will be separated by a divider from the main menus.
|
||||
customMenus:
|
||||
- name: Notes
|
||||
url: https://hossainnotes.netlify.app/docs/example/
|
||||
|
||||
# Provide newsletter configuration. This feature hasn't been implemented yet.
|
||||
# Currently, you can just hide it from the footer.
|
||||
newsletter:
|
||||
enable: true
|
||||
|
||||
# some information about you
|
||||
author:
|
||||
name: "Jane Doe"
|
||||
nickname: "Jane"
|
||||
image: "images/avatar.png"
|
||||
# greeting message before your name. it will default to "Hi! I am" if not provided
|
||||
greeting: "Hi, I am"
|
||||
# give your some contact information. they will be used in the footer
|
||||
contactInfo:
|
||||
email: "janedoe@example.com"
|
||||
phone: "+0123456789"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# some information about you
|
||||
name: "Jane Doe"
|
||||
nickname: "Jane"
|
||||
# greeting message before your name. it will default to "Hi! I am" if not provided
|
||||
greeting: "Hi, I am"
|
||||
image: "images/avatar.png"
|
||||
# give your some contact information. they will be used in the footer
|
||||
contactInfo:
|
||||
|
|
11
exampleSite/data/en/site.yaml
Normal file
11
exampleSite/data/en/site.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright Notice
|
||||
copyright: © 2020 Copyright.
|
||||
|
||||
# Meta description for your site. This will help the search engines to find your site.
|
||||
description: Portfolio and personal blog of Jane Doe.
|
||||
|
||||
# specify the list of custom menus that you want to show in the top navbar.
|
||||
# they will be separated by a divider from the main menus.
|
||||
customMenus:
|
||||
- name: Notes
|
||||
url: https://hossainemruz.gitbook.io/
|
|
@ -1,5 +1,10 @@
|
|||
name: "Jane Doe"
|
||||
nickname: "Jane"
|
||||
image: "images/avatar.png"
|
||||
|
||||
# greeting message before your name. it will default to "Hi! I am" if not provided
|
||||
greeting: "Bonjour, je suis"
|
||||
|
||||
# give your some contact information. they will be used in the footer
|
||||
contactInfo:
|
||||
email: "janedoe@example.com"
|
||||
|
|
11
exampleSite/data/fr/site.yaml
Normal file
11
exampleSite/data/fr/site.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright Notice
|
||||
copyright: © 2020 Droits d'auteur.
|
||||
|
||||
# Meta description for your site. This will help the search engines to find your site.
|
||||
description: Portfolio et blog personnel de Jane Doe.
|
||||
|
||||
# specify the list of custom menus that you want to show in the top navbar.
|
||||
# they will be separated by a divider from the main menus.
|
||||
customMenus:
|
||||
- name: Remarques
|
||||
url: https://hossainemruz.gitbook.io/
|
Loading…
Add table
Add a link
Reference in a new issue