Go to file
adrien 4f49566831 Mettre à jour 'README.md' 2018-08-23 10:04:47 +00:00
LICENSE Initial commit 2018-08-13 13:10:32 +00:00
README.md Mettre à jour 'README.md' 2018-08-23 10:04:47 +00:00

libreOnePage

HTML CSS JSON WebAssembly ou js


La structure

Public/*
  |_________________________________________________________
    |               |          |       |          |         |
index.html     datas.json     js/     css/     media/     pages/
                      _________|__________                  |___________________________________
                     |                    |                       |                |            |
               datasLoader.js     mardownToHtml.js          accueil.json     montruc.json     sousM/
                                                                                            ____|____
                                                                                           |         |
                                                                                        a.json    b.json

datas.json

{
    "app": {
        "title": "",
        "url": "",
        "lang": "",
        "logo": "",
        "desc": "",
        "words": "",
        "color": ""
    },
    "pages": {
        "accueil.json",
        "montruc.json",
        "sousM": {
            "a.json",
            "b.json"
        }
    },
    "indexPage": "accueil.json"
}

pages/*.json

{
    "date": "",
    "title": "",
    "staffer": "",
    "content": {
        "article 1",
        "article 2 ..."
    },
}