Changing Zola's Content Structure

Dave

A note for my future self on how to edit the Zola content structure.

This wasn't that hard, but in case I want to do it again, I'll leave a note here about how I changed the Zola content structure for this blog.

I was originally using the structure from Deep Thought, but decided that I wanted the posts to show up at the root, with the former home page in an About section. To do this, I had to switch the index.html with the section.html in templates. Then in the content directory, I created an about directory, and dropped the original _index.md there, then I dumped the files from the posts directory in the root directory. Then I had to edit the navbar_items in the config.toml to map the section names to their new locations. The last part, which I didn't realize until I previewed the deployment, was that I needed to change the avatar from config.toml from images/avatar.png to /images/avatar.png.