Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 3611fb87 authored by Hugues's avatar Hugues Committed by Christophe Chaudier
Browse files

fix bug on build, create a dummy page to the links

Doc : explain page creation
parent 5ed296db
No related branches found
No related tags found
1 merge request!6Resolve "ci: build fail"
...@@ -31,3 +31,13 @@ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy ...@@ -31,3 +31,13 @@ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
``` ```
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
## Create a new page
We have two different ways to create a new page, in JavaScript, or, in Markdown:
- If we don't need a specific layout, we recommend to create a page in Markdown, with `.md` extention.
- If we need to specific layout, create a page in JavaScript with `.js` extention.
This offers a better return on investment because the Markdown (`.md`) is faster to do.
...@@ -81,11 +81,11 @@ module.exports = { ...@@ -81,11 +81,11 @@ module.exports = {
items: [ items: [
{ {
label: "Forum", label: "Forum",
to: "/forum", to: "/dummy_page",
}, },
{ {
label: "Wiki", label: "Wiki",
to: "/wiki", to: "/dummy_page",
}, },
], ],
}, },
...@@ -94,19 +94,19 @@ module.exports = { ...@@ -94,19 +94,19 @@ module.exports = {
items: [ items: [
{ {
label: "À propos", label: "À propos",
to: "/a_propos", to: "/dummy_page",
}, },
{ {
label: "Contact", label: "Contact",
to: "/contact", to: "/dummy_page",
}, },
{ {
label: "Équipe", label: "Équipe",
to: "/equipe", to: "/dummy_page",
}, },
{ {
label: "Mentions légales", label: "Mentions légales",
to: "/mentions_legales", to: "/dummy_page",
}, },
{ {
label: "CGV", label: "CGV",
...@@ -114,11 +114,11 @@ module.exports = { ...@@ -114,11 +114,11 @@ module.exports = {
}, },
{ {
label: "CPV", label: "CPV",
to: "/cpv", to: "/dummy_page",
}, },
{ {
label: "CGU", label: "CGU",
to: "/cgu", to: "/dummy_page",
}, },
], ],
}, },
......
---
title: dummy
description: page factice
---
# Page factice
Page factice penser à créer une vraie page !
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment