CEP Homepage & Compiling Improvements

Today we have an overhaul of information display on the homepage! All things related to news and wiki changes are grouped at the top now for fast interaction.

Recent Changes are now grouped by their time posted (not in terms of commit, but by ‘hours/days ago’ indicator which is ran on your end.), and I also fixed the “1 days ago” type bug to now check for plurality. This also now only shows article changes!

Photos and videos have been moved to their own tabs. The photos actually go off the date of the image file instead of the metadata page, that way it properly does show brand new images entering the site to users. The underlying code for this does require a local compile to update this section, but that is due to the nature of how its hosted on the internet.

The site is also now expanding its python scripts to do more heavy lifting without increasing compile time. It is now required to run “cep_compile.py” to properly generate the site instead of just “hugo”. For a complete local build, or for a first time build, you can run “cep_compile_slow” to allow pagefind, low quality images, and other non essential items to be generated.

The site uses “cep_compile_digital_ocean” so that way the compile progress can be tweaked directly from user edits if need be.

More changes to the site will likely come. Hopes are to have a script generate a score for each article that allows us to use more visual indicators for which articles are complete, as well as have graphs and data displayed on how progress is going for each category. Some sections may also begin to display article previews with more information to attract readers, such as on the homepage.

3 Likes