> On 24 Apr 2018, at 15:38, Henk P. Penning <penn...@uu.nl> wrote: > > On Tue, 24 Apr 2018, Jan Iversen wrote: > >> Date: Tue, 24 Apr 2018 11:58:10 +0200 >> From: Jan Iversen <j...@apache.org> >> To: general@attic.apache.org >> Subject: Re: svn commit: r1829959 - >> /attic/site-jekyll/src/_data/projects.json > >> I still argue, we just need something simple, a build script and a >> couple of templates (which are easy to read). > > I just committed 'mk-stuff' ; 200 lines of perl-code ; > for now, the texts for {index,resolution,process}.html > are in mk-stuff too ; I couldn't decide where to put them. > > Prog 'mk-stuff' generates {index,resolution,process}.html > and projects/*. > > At work : http://mirror-vm80.apache.org/index.html > > Not all (per project) attributes are shown correctly, > but you get the idea. And I like the idea !
A few comments: - How about doing “mv _data/* .” And “mv _layout/* .”, that makes things even simpler - Can project.html not be without the strange loops etc ? Btw seems you are not using that. - We should also remove some of the fields in projects.json - You have the templates directly in mk_stuff, it would be more readable if stored as a file, and e.g. replacing ATTIC_X Have a nice afternoon. rgds Jan I. > >> jan i > > Regards, > > HPP > > ------------------------------------------------------------ _ > Henk P. Penning, ICT-beta R Uithof MG-403 _/ \_ > Faculty of Science, Utrecht University T +31 30 253 4106 / \_/ \ > Leuvenlaan 4, 3584CE Utrecht, NL F +31 30 253 4553 \_/ \_/ > http://www.staff.science.uu.nl/~penni101/ M penn...@uu.nl \_/