lektor / lektor-atom

Lektor Atom plugin.
30 stars 13 forks source link

`{{ 'blog@atom/main'|url }}` does not work #17

Closed paternal closed 6 years ago

paternal commented 6 years ago

I correctly set this plugin for my website (the feed.xml is correctly generated), but the template snippet {{ 'blog@atom/main'|url }} (given in this project README) is not rendered correctly: it produces the url /blog/blog@atom/main, which is a dead link. I expected it to be rendered as /blog/feed.xml.

I set up a minimum working example in branch atom of project paternal/lektor-mwe (basic blog was built in paternal/lektor-mwe@c349f9f995cf452deba7abdb138ad07b439d66b6) ; atom plugin was enabled in paternal/lektor-mwe@273349e839054ae87ca90c2f81805333f55f8994).

Environment

$ python --version
Python 3.6.6
$ lektor --version
Lektor, version 3.1.1
$ pip --version
pip 10.0.1
$ lektor plugins list
atom (version 0.3)

I would appreciate help about how to fix this.

paternal commented 6 years ago

My configuration was wrong. I fixed it.

Sorry for the noise…