elixir-tools / tableau

Static Site Generator
MIT License
154 stars 9 forks source link

Specify Converter in Front Matter #112

Open andyl opened 7 hours ago

andyl commented 7 hours ago

Thanks very much for 0.18, especially for the ability to specify a converter module in config.exs. (eg md: MyMdConverter, ...).

I ran into a problem while migrating elixir-lang.org from Jekyll to Tableau:

With Tableau, AFAIK it's possible to set a default Layout module in config.exs, then override the layout with page front-matter.

Feature request: analogous to Layouts, allow the Converter to be set with front-matter

---
title: "My Page" 
layout: MyApp.CustomLayout
permalink: /mypage
converter: MyApp.CustomConverter
---
# Hello World
....
mhanberg commented 6 hours ago

Seems reasonable.

If you can reproduce the bugs in solid could you report those to the project? Just to be a good citizen 🫡

andyl commented 4 hours ago

can you report?

FYI here's the first one. https://github.com/edgurgel/solid/issues/144 More to come.