Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 2fd85d1

Browse files
chalinkwalrath
authored andcommitted
docs(resources): use ng-href to avoid false broken link reports (#2186)
1 parent 014883d commit 2fd85d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/resources/index.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div ng-repeat="(section, sectionObj) in subcategoryObj">
1616
<div ng-repeat="resource in sectionObj | orderObjectByOfTypeString:'title':false">
1717
<div class="c-resource" ng-if="resource.rev">
18-
<a class="l-flex--column resource-row-link" target="_blank" href="{{resource.url}}">
18+
<a class="l-flex--column resource-row-link" target="_blank" ng-href="{{resource.url}}">
1919
<div>
2020
<h4>{{ resource.title }}</h4>
2121
<p class="resource-description" ng-if="resource.desc">{{ resource.desc }}</p>
@@ -34,9 +34,9 @@
3434
<div class="c3">
3535
<div class="c-resource-nav shadow-1 l-flex--column h-affix" ng-class="{ 'affix-top': ctrl.scrollPos > 200 }">
3636
<div class="category" ng-repeat="(category, categoryObj) in ctrl.fbObject">
37-
<a class="category-link h-capitalize" href="#{{ category }}">{{ category }}</a>
37+
<a class="category-link h-capitalize" ng-href="#{{ category }}">{{ category }}</a>
3838
<div class="subcategory" ng-repeat="(subCategory, subcategoryObj) in categoryObj">
39-
<a class="subcategory-link" href="#{{subCategory}}">{{subCategory}}</a>
39+
<a class="subcategory-link" ng-href="#{{subCategory}}">{{subCategory}}</a>
4040
</div>
4141
</div>
4242
</div>

0 commit comments

Comments
 (0)