Skip to content

Commit 068c824

Browse files
authored
Change: Display a larger resolution of the featured screenshot when clicked (#348)
Instead of leading you to the list of all screenshots, the featured screenshot should now lead you to its respective webpage.
1 parent 647b121 commit 068c824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<div id="index-right">
4646
<figure id="screenshot">
4747
{% assign random_screenshot = site.screenshots | sample %}
48-
<a href="{{ site.baseurl }}/screenshots.html" id="screenshot-image">
48+
<a href="{{ site.baseurl }}{{ random_screenshot.id }}.html" id="screenshot-image">
4949
{% assign stripped_content = random_screenshot.content | strip_html | strip_newlines %}
5050
<img src="{{ site.baseurl }}{{ random_screenshot.id }}_thumb.png"
5151
alt=""

0 commit comments

Comments
 (0)