getzola / zola

A fast static site generator in a single binary with everything built-in. https://www.getzola.org
https://www.getzola.org
MIT License
13.76k stars 957 forks source link

Help converting hugo theme #907

Closed Th3Whit3Wolf closed 4 years ago

Th3Whit3Wolf commented 4 years ago

Trying to convert my hugo theme Granite(based on Slate)

Environment

Zola Version: 0.9.0

Issues I'm having

The theme uses Data Templates to parse a [links.yml](https://github.com/Th3Whit3Wolf/granite/blob/master/exampleSite/data/links.yml) file inside of a data/ folder to get an array of tiles. This is nice because it let's whomever wants to use my theme create a startpage with all of their commonly used websites without needing to know a lot about the tool that's making the static website. What is the best to do this with zola?

Th3Whit3Wolf commented 4 years ago

This can be done via load data.