You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
adrien 4f49566831 Mettre à jour 'README.md' 2 years ago
LICENSE Initial commit 2 years ago
README.md Mettre à jour 'README.md' 2 years ago

README.md

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 ..."
    },
}