Skip to content

Commit

Permalink
Added rel="tag" to Tags module. [#31 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
brucep committed Apr 15, 2008
1 parent 7126d63 commit e7ba2a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
.DS_Store
includes/config.yaml.php
includes/database.yaml.php
2 changes: 1 addition & 1 deletion modules/tags/module.php
Expand Up @@ -213,7 +213,7 @@ function list_post_tags($post_id, $prefix = "Tags: ", $suffix = null, $fallback
$tag_links = array();
$route = Route::current();
while ($tag = $get_tags->fetchObject()) {
$link_before = ($link) ? '<a href="'.$route->url("tag/".$tag->clean."/").'">' : '' ;
$link_before = ($link) ? '<a href="'.$route->url("tag/".$tag->clean."/").'" rel="tag">' : '' ;
$link_after = ($link) ? '</a>' : '' ;
$tag_links[] = $link_before.$tag->name.$link_after;
}
Expand Down

0 comments on commit e7ba2a1

Please sign in to comment.