Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/title.mustache
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<section class="title">
<div class="page-type">
<h1>{{getTitle .}}</h1>
{{#if package}}
<ul class="title-social">
{{#if package}}
<li>
<a class="npm-button" href="https://www.npmjs.com/package/{{package.name}}">
<img src="{{badgeLink package.version}}" alt="npm package badge" />
Expand All @@ -11,13 +11,13 @@
<li>
<a class="github-button nav-social" href="https://github.com/canjs/{{repoName src.path}}">Star</a>
</li>
{{/if}}
{{#if src.path}}
<li>
<a class="button-link" href="{{sourceLink src (repoName src.path)}}">Edit on GitHub</a>
</li>
{{/if}}
</ul>
{{/if}}
</div>
<div class="clear-both"></div>
{{#unless hideDescription}}
Expand Down