<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -184,7 +184,15 @@ module Merb
       plugin = ::Feather::Plugin.get(name)
       plugin &amp;&amp; plugin.active
     end
-    
+
+    def link_to_article(text, article)
+      if is_slice? &amp;&amp; !::Feather.config[:path_prefix].empty?
+        link_to(text, '/' + ::Feather.config[:path_prefix] + article.permalink)
+      else
+        link_to(text, article.permalink)
+      end
+    end
+
     def link_to_author(author)
       link_to author[&quot;name&quot;], author[&quot;homepage&quot;]
     end</diff>
      <filename>app/helpers/global_helpers.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 &lt;%= render_plugin_views @articles.nil? ? &quot;before_article&quot; : &quot;before_article_in_list&quot;, :with =&gt; article %&gt;
 &lt;div class=&quot;hentry&quot; id=&quot;article-&lt;%= article.id %&gt;&quot;&gt;
   &lt;h2 class=&quot;entry-title&quot;&gt;
-    &lt;%= link_to(article.title, article.permalink) %&gt;
+    &lt;%= link_to_article(article.title, article) %&gt;
   &lt;/h2&gt;
   &lt;div class=&quot;vcard&quot;&gt;
     Posted by &lt;span class=&quot;fn&quot;&gt;&lt;%= article.user_name %&gt;&lt;/span&gt;</diff>
      <filename>app/views/feather/articles/_article.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a40d9549483f1dd618370ce6608587fee0d5f393</id>
    </parent>
  </parents>
  <author>
    <name>Alex Coles</name>
    <email>alex@alexcolesportfolio.com</email>
  </author>
  <url>http://github.com/mleung/feather/commit/305523dd0b660080b14e4933d9ea4afab590acd5</url>
  <id>305523dd0b660080b14e4933d9ea4afab590acd5</id>
  <committed-date>2009-03-13T10:58:57-07:00</committed-date>
  <authored-date>2009-03-13T07:40:10-07:00</authored-date>
  <message>Fix article links when using Feather as a slice with path prefix

Signed-off-by: Alex Coles &lt;alex@alexcolesportfolio.com&gt;</message>
  <tree>fb293cd15ca6d8e94cbba0a482a455a23ea0398b</tree>
  <committer>
    <name>Alex Coles</name>
    <email>alex@alexcolesportfolio.com</email>
  </committer>
</commit>
