Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,20 @@ You can optionally define a per tag Atom/RSS feed. In your <tt>_config.yml</tt>
If your Jekyll <tt>permalink</tt> configuration is set to something other than <tt>:pretty</tt>, and you still want to have pretty tag links define the following in your <tt>_config.yml</tt>:

tag_permalink_style: pretty

=== Generating links to tag pages

The normal Jekyll slugify filter is different than that used by this plugin. Hence, to generate links to tag pages, you probably want to use something like:

{%- if site.tag_page_dir -%}
<a href="/{{site.tag_page_dir}}/{{ tag | jekyll_tagging_slug }}" >
{{ tag }}
</a>
{%- else -%}
<a href="{{site.tag_archive_path}}{{ tag | slugify }}">
{{ tag }}
</a>
{%- endif -%}

=== Ignoring tags

Expand Down