WikimapsAtlas / WikimapsAtlas.github.io

Wikimaps Atlas map repository project supported by the Wikimedia Foundation (http://meta.wikimedia.org/wiki/Grants:IEG/Wikimaps_Atlas)
GNU General Public License v3.0
4 stars 3 forks source link

Generate pages from directory structure #5

Open planemad opened 8 years ago

planemad commented 8 years ago

The jekyll site should be able to generate an index of links using the folder structure of a directory and subdirectory of maps categorized by region.

http://stackoverflow.com/questions/17446472/how-to-list-files-in-a-directory-with-liquid http://stackoverflow.com/questions/17677094/jekyll-for-loop-over-all-images-in-a-folder

planemad commented 8 years ago

@hugolpz success here, we can now generate a page with links/thumbnails based on the contents of a folder.

Next

planemad commented 8 years ago

@hugolpz we got country listing and file listing is working :boom:

screenshot 2016-03-14 21 41 00

I had to make some filename changes to make it cleaner, removed commas and used hyphens.

Next

hugolpz commented 8 years ago

Nice :)