Skip to content

Commit

Permalink
Update for octicon package rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitshur committed Jun 2, 2018
1 parent 28433ea commit 8913699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/russross/blackfriday"
"github.com/shurcooL/highlight_diff"
"github.com/shurcooL/highlight_go"
"github.com/shurcooL/octiconssvg"
"github.com/shurcooL/octicon"
"github.com/shurcooL/sanitized_anchor_name"
"github.com/sourcegraph/annotate"
"github.com/sourcegraph/syntaxhighlight"
Expand Down Expand Up @@ -58,7 +58,7 @@ func Heading(heading atom.Atom, title string) *html.Node {
span := &html.Node{
Type: html.ElementNode, Data: atom.Span.String(),
Attr: []html.Attribute{{Key: atom.Class.String(), Val: "octicon-link"}}, // TODO: Factor out the CSS for just headings.
FirstChild: octiconssvg.Link(),
FirstChild: octicon.Link(),
}
a.AppendChild(span)
h := &html.Node{Type: html.ElementNode, Data: heading.String()}
Expand Down

0 comments on commit 8913699

Please sign in to comment.