Skip to content

Commit a2531d4

Browse files
committed
Add a heading for Crates on a category page
To better distinguish subcategories and crates. This makes "crates" in the h1 redundant, especially when there *aren't* subcategories.
1 parent ef33d9c commit a2531d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/templates/category/index.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div id='crates-heading'>
44
<img class='logo crate' src="/assets/crate.png"/>
5-
<h1>{{ category.category }} Crates</h1>
5+
<h1>{{ category.category }}</h1>
66
</div>
77

88
{{#if category.subcategories }}
@@ -31,6 +31,7 @@
3131
</div>
3232
{{/if}}
3333

34+
<h2>Crates</h2>
3435
<div id='results'>
3536
<div class='nav'>
3637
<span class='amt small'>

0 commit comments

Comments
 (0)