lektor / lektor-atom

Lektor Atom plugin.
30 stars 13 forks source link

Using a template for rendering the body #3

Open jonasvp opened 8 years ago

jonasvp commented 8 years ago

I need the full body in the RSS feed - but it's rendered somewhat elaborately in a template.

Is there any way to render a complete template into the body?

kwellman commented 7 years ago

I needed this too, so I made a fork: https://github.com/kwellman/lektor-atom

I also made some fixes for bugs I ran into.

Just set the body_template field in atom.ini to the filename of your template. You can access the item body in your template with the body variable.

goanpeca commented 6 years ago

@kwellman could you open a PR to port this into this plugin?

jonasvp commented 5 years ago

This is still an issue for me. Any way to get the PR merged? I'd be happy to help work on it if necessary.