Closed BennyHallett closed 9 years ago
Good idea!
I am wondering if it might be possible to share, at least some part of, the structure used by hugo, and take advantage of some of the themes used there https://github.com/spf13/hugoThemes/ ?
I find with blog engines 90% of the usability hassle is getting a working theme together, and borrowing existing themes is the Best.
Wow that's an awesome idea. Being able to share themes between blog engines would be a massive win.
I'll check out how hugos are structured and see how hard it would be to get that up and running.
Hugo's themes might be tricky to fully support as they rely on Go html templates.
Targeting platforms that use Liquid templates might be a bit easier. Jekyll is a big one that uses Liquid. There's been work on a Liquid-like template parser (fluid). It seems a bit outdated but could be brought up to speed with Elixir v1.0.0 and filters/missing Liquid features.
I've implemented themes now. For now they still use the Eex templates so there's no compatibility with any other framework.
Check out the updated README.md if you're intereted.
Should be able to easily switch themes for your site.
Might mean we need to create a theme directory and move the assets directory in there. Would still need an external
images
directory for post images.Themes should be able to be downloaded directly from Github.
Config might look like this for a local theme
And this for a github one
Or some generic git repo