README.md in octopress-linkblog-1.0.1 vs README.md in octopress-linkblog-1.2.0
- old
+ new
@@ -34,10 +34,11 @@
- `post.title` - The post title, properly capitalized with titlecase.
- `post.title_html` - The post title, unorphaned and with html wrapping any post markers.
- `post.title_text` - The post title with markers, but all in plain text (great for RSS).
- `post.title_url` - The URL that post titles should link to.
- `post.title_link` - A `<a>` tag filled with the `title_html` pointing to the `title_url`.
+- `post.permalink` - A `<a>` tag containing your configuration's `pearmalink_label` pointing to the post's URL.
- `post.linkpost` - A boolean indicating whether the post is a link post.
Here is an example. Given the following YAML front-matter:
```
@@ -53,10 +54,11 @@
title => Cats Are Awesome
title_html => Cats Are Awesome <span class='post-marker post-marker-after'>→</span>
title_text => Cats Are Awesome →
title_url => http://cats.example.com
title_link => <a href='http://cats.example.com' class='article-link linkpost'>...</a>
+permalink => <a href='http://your-site.com/posts/1' class='permalink'>Permalink</a>
linkpost => true
```
Note: the `<a>` in this demo has been shortened, but it will contain the `title_html`.
@@ -83,9 +85,10 @@
marker: false
marker_position: before
titlecase: true
unorphan: true
+permalink_label: Permalink
```
## Contributing
1. Fork it ( https://github.com/octopress/linkblog/fork )