Widget: Homepage: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 124: Line 124:
             Object.getOwnPropertyNames(res.query.pages).forEach(pageId => {
             Object.getOwnPropertyNames(res.query.pages).forEach(pageId => {
                 var filename = res.query.pages[pageId].title;
                 var filename = res.query.pages[pageId].title;
                 platformData[platformData.findIndex(platform => platform.image === filename)].image = filename;
                var url = res.query.pages[pageId].imageinfo[0].url;
                 platformData[platformData.findIndex(platform => platform.image === filename)].image = url;
             });
             });


             console.log(res.query.pages)
             console.log(platformData)





Revision as of 13:09, 2 June 2022

Development verstion of the DCT Homepage.
Not ready for production!