Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider a separate repo for website copy #4

Open
simonwiles opened this issue Aug 15, 2023 · 3 comments
Open

Consider a separate repo for website copy #4

simonwiles opened this issue Aug 15, 2023 · 3 comments

Comments

@simonwiles
Copy link
Member

It might make most sense to have a nice clean repository of markdown files with a flat hierarchical structure to make copy editing/updating easier for folks.

@mbingenheimer
Copy link
Contributor

mbingenheimer commented Aug 15, 2023 via email

@simonwiles
Copy link
Member Author

Right now I've set up a folder in the repo at content/ which contains files for the text-only content of the site. The idea is to make a clean separation, so that anyone who wants/needs to edit the verbiage can do so while engaging with as little code as possible. Since the architecture for the site involves assembling pieces from multiple repositories already, however, I was musing about taking it one step further and just having a repo with nothing but those files in; it might be cleaner and less potentially confusing, and would permit a separation of privileges too, for what that's worth.

(I'm sorry if you got notified for all these "issues", btw -- I was just setting up what is effectively a todo list of sorts using a "project". I often do this just locally when I'm developing alone or with non-GitHub folks, but I figured since we're going to use this platform together from across the globe I'd go all-in 😁.)

@simonwiles
Copy link
Member Author

simonwiles commented Aug 16, 2023

My next step is to create a 01-temples_inbangkok_mb_data.yaml file which
has the additional data from my spreadsheet. While all projects on
this platform have a GIS aspect for now, this additional data associated
with the points will obviously differ from project to project. Not sure how
to deal with that, but using yaml for it is a first step.

Yeah, I'm not 100% settled on this, but right now I'm leaning towards a folder with the same name/id as the csv file (i.e. 01-temples_inbangkok_mb_data in this case), and in that folder a separate .yaml file for each site, named with the id (e.g. bt-mb-0001.yaml etc.). The contents can then be determined (and iterated on, if necessary) in a very flexible fashion without breaking the site or needing to worry too much about what other datasets are doing.

Do you prefer different files? Aren't sections marked:
---
something
...
equivalent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants