pattex / jekyll-tagging

Jekyll plugin to automatically generate a tag cloud and tag pages.
385 stars 76 forks source link

Raw tag names for the generation of atom category tags #9

Closed rbeeger closed 11 years ago

rbeeger commented 11 years ago

I'd like to add tags like this to my atom feed

If I read the code correctly I can only get a list of tag-links for a post with {{ post | tags }} but not the raw tags. Either getting a list of raw names or being able to specify a template for the generated tags would be helpful.

Thanks in advance. The plugin is already very useful.

Cheers, Robert

rbeeger commented 11 years ago

I got around this by adding

  {% for tag in post.tags %}
    <category scheme="{{ site.url }}/tag/" term="{{ tag }}" />
  {% endfor %}

to the atom.xml template. So no need to add anything for this to the plugin.