Skip to content

Commit 8e6edaf

Browse files
LudovicLachanceLudovic Lachancebowbahdoe
authored
Change right buttons to open tabs (#94)
Co-authored-by: Ludovic Lachance <[email protected]> Co-authored-by: Ethan McCue <[email protected]>
1 parent 669dba7 commit 8e6edaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

theme/index.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,23 +138,23 @@
138138

139139
<div class="right-buttons">
140140
{{#if print_enable}}
141-
<a href="{{ path_to_root }}print.html" title="Print this book" aria-label="Print this book">
141+
<a target="_blank" href="{{ path_to_root }}print.html" title="Print this book" aria-label="Print this book">
142142
<i id="print-button" class="fa fa-print"></i>
143143
</a>
144144
{{/if}}
145145
{{#if git_repository_url}}
146-
<a href="{{git_repository_url}}" title="Git repository" aria-label="Git repository">
146+
<a target="_blank" href="{{git_repository_url}}" title="Git repository" aria-label="Git repository">
147147
<i id="git-repository-button" class="fa {{git_repository_icon}}"></i>
148148
</a>
149149
{{/if}}
150150
{{#if git_repository_edit_url}}
151-
<a href="{{git_repository_edit_url}}" title="Suggest an edit" aria-label="Suggest an edit">
151+
<a target="_blank" href="{{git_repository_edit_url}}" title="Suggest an edit" aria-label="Suggest an edit">
152152
<i id="git-edit-button" class="fa fa-edit"></i>
153153
</a>
154154
{{/if}}
155155

156156

157-
<a href="https://discord.gg/together-java-272761734820003841" title="Ask a question" aria-label="Ask a question">
157+
<a target="_blank" href="https://discord.gg/together-java-272761734820003841" title="Ask a question" aria-label="Ask a question">
158158
<i id="ask-a-question-button" class="fa fa-question"></i>
159159
</a>
160160
</div>

0 commit comments

Comments
 (0)