Skip to content

Commit 207e3ee

Browse files
authored
Merge pull request #1716 from makermelissa/manufacturer-link
Make Board Manufacturer a link to downloads page by manufacturer
2 parents c786ff3 + f9e3b32 commit 207e3ee

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

_layouts/download.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% assign large_image = "/assets/images/boards/large/" | append:
1010
page.board_image %}
1111
<img src="{{ large_image | relative_url }}" alt="Image of Board" />
12-
<h1>{{ page.name }} by {{ page.manufacturer }}</h1>
12+
<h1>{{ page.name }} by <a href="/downloads?manufacturers={{ page.manufacturer | url_encode }}">{{ page.manufacturer }}</a></h1>
1313
</div>
1414
<div class="section">
1515
<p>{{ content }}</p>

assets/sass/pages/_download.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
background-color: rgba(0, 0, 0, 0.5);
5656
border-radius: 10px;
5757
}
58+
59+
a {
60+
color:#fff;
61+
&:hover {
62+
color:variables.$purple;
63+
}
64+
}
5865
}
5966

6067
.section {

0 commit comments

Comments
 (0)