Skip to content

Commit

Permalink
Cleanup links, open CTAs in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Oct 30, 2024
1 parent 57ae68f commit 20b28b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ <h1>{{ page.title }}</h1>
</div>
<div class="col">
{% if page.call_to_action and page.call_to_action_link %}
<a href="{{ page.call_to_action_link }}" class="btn btn-md">
<a href="{{ page.call_to_action_link }}" target="_blank" class="btn btn-md">
{{ page.call_to_action }}
</a>
{% endif %}

{% if page.secondary_action and page.secondary_action_link %}
<a href="{{ page.secondary_action_link }}" class="btn btn-md">
<a href="{{ page.secondary_action_link }}" target="_blank" class="btn btn-md">
{{ page.secondary_action }}
</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1>The Beauty and Joy of Computing</h1>
Try BJC CS Principles
</a>
<a href="{{ site.baseurl }}/sparks/" class="btn">Try BJC Sparks</a>
<a href="{{ site.baseurl }}/summer-pd/" class="btn">Join PD Summer 2024</a>
<!-- <a href="{{ site.baseurl }}/summer-pd/" class="btn">Join PD Summer 2024</a> -->
</div>
</div>

Expand Down

0 comments on commit 20b28b4

Please sign in to comment.