Posted on 1/30/2020
Instructions for survival
Edited by Maye Edwin but originally wrtiten by Monica and Jessica.
🗣 How to clone this site
This here that you are reading is a Glitch project, so to create your own site that is identical, you just have to remix this. You can fork on GitHub or remix on Glitch!
📝 Add new posts
All posts live in src/posts/. There are a few posts;
clone-nerdly.md, which you are reading right nowwelcome-to-nerdly-by-maye-edwin.md, which is an example post that you can duplicate over and over again for new content.
To create a new post, duplicate welcome-to-nerdly-by-maye-edwin.md],
and start writing! This should automatically redeploy your site! If you need to force a redeploy, just "fake edit" a post (add a space, remove a space).
That will definitely trigger a rebuild!
📝 Add meta data
Customize icons and other website meta data in the .src/_data/ directory!
👩🎨 Customize it
This site is written using eleventy, which is a static site generator. The docs are pretty helpful, but the TL; DR is:
- the "look" of the different pages is in
src/_includes/layouts. There are two layouts in this projecthome.njk, used by theindex.mdpostpost.njk, used by all the other posts.
- these are HTML + Nunjucks files, and if you want your pages to look different, this is what you should modify.
- the styles come from
./jenga/directory.
Enjoy!