geolexica / geolexica-server

Generalized backend for Geolexica sites
2 stars 1 forks source link

Let's move site source to subdirectory #83

Closed skalee closed 4 years ago

skalee commented 4 years ago

By default, Jekyll takes source files from project's root. Given the fact we have plenty of configuration files, we manage a pretty long exclusion list like this one from TC211 Geolexica, which specifies files that should not be present in generated site. Maintaining this list is a cumbersome and error-prone task.

How about moving the source files to some subdirectory, e.g. _source? Jekyll allows for that, it can be changed with just one configuration variable. This eliminates need for that exclusion list entirely, and improves code organization in general.

Since I'm going to apply this change to all sites, I want to consult it first. @ronaldtse @strogonoff what do you think? Any objections?

ronaldtse commented 4 years ago

I agree with this change, it’s something we were lazy to do initially since the focus was to get things going fast. Thanks!

skalee commented 4 years ago

TODO

skalee commented 4 years ago

A portion of this issue has been extracted to #87. The rest is done, so I'm closing the issue.