Skip to content
Permalink
Browse files

Merge pull request #155 from davydovanton/fix-edit-button

Fix editing button in guides page
  • Loading branch information...
jodosha committed Feb 27, 2016
2 parents 5b49c1b + 89264e6 commit 0a8ed51936c057b5954263cb31c5ef0bb390107f
Showing with 1 addition and 1 deletion.
  1. +1 −1 config.rb
@@ -148,7 +148,7 @@ def guides_section_articles(section)

def guides_edit_article(source)
url = GUIDES_EDIT_URL + source.gsub("#{ Dir.pwd }/", '')
%(<span class="icon icon-pencil" id="edit-guides-article" title="Edit this article"><a href="#{ url }" target="_blank"></a></span>)
%(<a href="#{ url }" target="_blank"><span class="icon icon-pencil" id="edit-guides-article" title="Edit this article"></span></a>)
end

#

0 comments on commit 0a8ed51

Please sign in to comment.
You can’t perform that action at this time.