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

Is there a place where you explain how GeoGlitchies works? #126

Closed
mshook opened this issue Dec 13, 2020 · 2 comments
Closed

Is there a place where you explain how GeoGlitchies works? #126

mshook opened this issue Dec 13, 2020 · 2 comments

Comments

@mshook
Copy link

mshook commented Dec 13, 2020

Is there a place where you (or Jessica Lord) explain how GeoGlitchies works?

  • For example, where is the Eleventy code?
  • What triggers the Eleventy code to rebuild the site after an edit?

I realize it must all be there, but I haven't been able to figure it out.

-Michael

@notwaldorf
Copy link
Owner

I think the instructions page is the most we have in terms of how it works.

If you look at the project code, most of it is the eleventy code:

  • .eleventy.js is the eleventy config
  • watch.json has the list of watch files, which is basically anything in css, src and some config files
  • that watch file is iirc used by glitch to re-run the npm install script when anything in those files changes. so basically, every time you add a new post or edit one, the site is rebuilt.
  • src/_data/friends.js has the "webring" functionality
  • src/_data/_includes/layouts has the templates for each page

cc @jlord if I've missed anything!

@mshook
Copy link
Author

mshook commented Dec 16, 2020 via email

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