Permalink
Browse files

Fixed Read More Link

  • Loading branch information...
JoelSutherland committed Apr 17, 2012
1 parent 9048f9c commit 4c3c343262510e5a96915c857240cfdf83976015
Showing with 3 additions and 3 deletions.
  1. +1 −1 jquery.githubRepoWidget.js
  2. +1 −1 jquery.githubRepoWidget.min.js
  3. +1 −1 twig-markup.html
@@ -34,7 +34,7 @@ $(function(){
</div> \
</div> \
<div class="github-box-content"> \
- <p class="description">' + repo.description + ' &mdash; <a href="' + repo.url.replace('api.','') + '#readme">Read More</a></p> \
+ <p class="description">' + repo.description + ' &mdash; <a href="' + repo.url.replace('api.','').replace('repos/','') + '#readme">Read More</a></p> \
<p class="link"><a href="' + repo.homepage + '">' + repo.homepage + '</a></p> \
</div> \
<div class="github-box-download"> \

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -12,7 +12,7 @@ <h3>
</div>
</div>
<div class="github-box-content">
- <p class="description">{{ repo.description }}{% if repo.has_wiki %} &mdash; <a href="{{ repo.url|replace('api.','') }}#readme">Read More</a>{% endif %}</p>
+ <p class="description">{{ repo.description }}{% if repo.has_wiki %} &mdash; <a href="{{ repo.url|replace('api.','')|replace('repos/','') }}#readme">Read More</a>{% endif %}</p>
<p class="link"><a href="{{ repo.homepage }}">{{ repo.homepage }}</a></p>
</div>
<div class="github-box-download">

0 comments on commit 4c3c343

Please sign in to comment.