Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit b59b713

Browse files
committed
add url logic for testing link at end
1 parent bd9ecff commit b59b713

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

responses/12-big-finish.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ You've learned the basics of HTML, and used it to build a simple webpage.
66

77
Though this works, there's still more you can do to make sure you're up to date with standard conventions, like using an HTML validator.
88

9-
<h3 align="center"><a href="https://validator.w3.org/nu/?showsource=yes&doc=https://{{user.username}}.github.io/{{repo}}/">See validation</a></h3> <# TODO FIX URL>
9+
{% if GHE_HOST %}
10+
<h3 align="center"><a href="https://validator.w3.org/nu/?showsource=yes&doc=https://pages.{{ GHE_HOST }}/{{ user.login }}/{{ repo }}/">See validation</a></h3>
11+
{% else %}
12+
<h3 align="center"><a href="https://validator.w3.org/nu/?showsource=yes&doc=https://{{ user.login }}.github.io/{{ repo }}">See validation</a></h3>
13+
{% endif %}
14+
1015

1116
If you'd like, you can make your fancy new page the default start page for your web browser. Just follow the links below for more information:
1217

0 commit comments

Comments
 (0)