Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add instructions for ignoring tags

  • Loading branch information...
commit 3e2ab8d8fc424e9150af54b1c7181f2fdc37fd9b 1 parent 2fcb4ac
@zspencer zspencer authored
Showing with 7 additions and 4 deletions.
  1. +7 −4 README.rdoc
View
11 README.rdoc
@@ -25,10 +25,13 @@ You can optionally define a per tag Atom/RSS feed. In your <tt>_config.yml</tt>
tag_feed_layout: tag_feed
tag_feed_dir: tag
-
+
(<tt>tag_page_dir</tt> and <tt>tag_feed_dir</tt> can have the same value.)
+=== Ignoring tags
+
+Sometimes you don't want tag pages generated for certain pages. That's ok! Just add <tt>ignored_tags: [tags,to,ignore]</tt> to your <tt>_config.yml</tt>
=== Example tag page layout
---
@@ -44,15 +47,15 @@ You can optionally define a per tag Atom/RSS feed. In your <tt>_config.yml</tt>
<div id="tag-cloud">
{{ site | tag_cloud }}
</div>
-
-
+
+
=== Example layout of an Atom feed
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
- <feed xmlns="http://www.w3.org/2005/Atom">
+ <feed xmlns="http://www.w3.org/2005/Atom">
<title>Your Title - {{ page.tag }}</title>
<link href="http://example.com{{ page.url }}" rel="self"/>
<link href="http://example.com/tag/{{ page.tag }}.html"/>
Please sign in to comment.
Something went wrong with that request. Please try again.