mep template

This commit is contained in:
2018-08-02 14:46:36 +02:00
parent dfc21db8bc
commit e4b4bbdb09
68 changed files with 643 additions and 1020 deletions
-42
View File
@@ -1,42 +0,0 @@
---
title: Home
body_classes: 'title-center title-h1h2'
---
# Say Hello to Grav!
## installation successful...
Congratulations! You have installed the **Base Grav Package** that provides a **simple page** and the default **Quark** theme to get you started.
!! If you see a **404 Error** when you click `Typography` in the menu, please refer to the [troubleshooting guide](http://learn.getgrav.org/troubleshooting/page-not-found).
### Find out all about Grav
* Learn about **Grav** by checking out our dedicated [Learn Grav](http://learn.getgrav.org) site.
* Download **plugins**, **themes**, as well as other Grav **skeleton** packages from the [Grav Downloads](http://getgrav.org/downloads) page.
* Check out our [Grav Development Blog](http://getgrav.org/blog) to find out the latest goings on in the Grav-verse.
!!! If you want a more **full-featured** base install, you should check out [**Skeleton** packages available in the downloads](http://getgrav.org/downloads).
### Edit this Page
To edit this page, simply navigate to the folder you installed **Grav** into, and then browse to the `user/pages/01.home` folder and open the `default.md` file in your [editor of choice](http://learn.getgrav.org/basics/requirements). You will see the content of this page in [Markdown format](http://learn.getgrav.org/content/markdown).
### Create a New Page
Creating a new page is a simple affair in **Grav**. Simply follow these simple steps:
1. Navigate to your pages folder: `user/pages/` and create a new folder. In this example, we will use [explicit default ordering](http://learn.getgrav.org/content/content-pages) and call the folder `03.mypage`.
2. Launch your text editor and paste in the following sample code:
---
title: My New Page
---
# My New Page!
This is the body of **my new page** and I can easily use _Markdown_ syntax here.
3. Save this file in the `user/pages/03.mypage/` folder as `default.md`. This will tell **Grav** to render the page using the **default** template.
4. That is it! Reload your browser to see your new page in the menu.
! NOTE: The page will automatically show up in the Menu after the "Home" menu item. If you wish to change the name that shows up in the Menu, simple add: `menu: My Page` between the dashes in the page content. This is called the YAML front matter, and it is where you configure page-specific options.
-14
View File
@@ -1,14 +0,0 @@
---
title: Projets
continue_link: true
content:
items: '- ''@self.children'''
limit: '5'
order:
by: date
dir: desc
pagination: '1'
url_taxonomy_filters: '1'
---
CC
Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

@@ -0,0 +1,14 @@
---
title: 'Projets N°1'
media_order: 'Airbag_2.jpg,Airbag_2.jpg,nv_ivry_w.jpg'
taxonomy:
category:
- 'Catégorie 1'
- 'catégorie 2'
tag:
- 'catégrie 1'
- 'cat 3'
continue_link: true
---
CC
Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

@@ -0,0 +1,10 @@
---
title: 'projet n°2'
media_order: 'Cloud Crash Airbag.jpg'
taxonomy:
tag:
- 'cat 3'
continue_link: true
---
Cvqfbv fdhqvbdfhqovb dhqjvjds vdfhsq ldbkqd q
+8
View File
@@ -0,0 +1,8 @@
---
title: projets
content:
items:
- '@self.children'
---
fvqfbfdqv efvf
+4
View File
@@ -0,0 +1,4 @@
---
title: News
---
+4
View File
@@ -0,0 +1,4 @@
---
title: 'A propros'
---