Yoan De Macedo [ Web & Frugalité ]

Website layout

    sites
     |
     |____ example                  
             |
             |____ configuration
             |          |
             |          |____ deploy                   
             |          |
             |          |____ extras
             |          |
             |          |____ site
             |          |
             |          |____ theme
             |
             |
             |____ medias
             |
             |____ output
             |
             |____ pages
             |
             |____ themes
                      |
                      |____ mytheme              

"sites" folder can contains several elements. Fruga is able to manage several websites.

In this example, I will detail "example" website. In "example" folder, we can see several main subfolder :

configuration

4 subfolder here.

deploy to setup deployment.
extras to setup several additional tools (RSS feed, sitemap ...).
site to setup website.
theme to setup website theme.

Json format is used. I would have use yaml format but I like json.

medias

Elements here will be copied in the final website structure. We can put here pictures, movies, if necessary (frugality warning).

output

Final generated website will be outputed in this folder.

pages

Website content will be there.

themes

Website theme here. We can have several themes for a website even if it's quite rare.

Back to table of contents

(Sorry for the sometimes approximate English. If you want me to correct something, please contact me.)

Qui suis-je ? | Mes prestations | Mes projets | Mon blog | Me suivre | On en parle | mail@yoandm.com

Mentions légales | Confidentialité | Ethique | Mémo | RSS
Généré par Fruga