Skip to content

Commit

Permalink
Make contact and slack links configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jan 30, 2024
1 parent 1856320 commit 024c816
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
<span class="text">{{ site.title }}</span>
</a>
<ul class="icon-buttons">
<li>
<a href="{{'/slack' | absolute_url}}" title="Slack">
<svg class="iconsvg"><use xlink:href="#slack"></use></svg>
</a>
</li>
{%- if site.slack_page -%}
<li>
<a href="{{ site.slack_page | absolute_url}}" title="Slack">
<svg class="iconsvg"><use xlink:href="#slack"></use></svg>
</a>
</li>
{%- endif -%}
{%- if site.youtube_page -%}
<li>
<a href="https://youtube.com/{{site.youtube_page}}" target="_blank" title="YouTube">
Expand Down Expand Up @@ -60,11 +62,13 @@
</a>
</li>
{%- endif -%}
<li>
<a href="{{'/contact' | absolute_url}}" title="Email">
<svg class="iconsvg"><use xlink:href="#envelope"></use></svg>
</a>
</li>
{%- if site.email -%}
<li>
<a href="{{ site.email | absolute_url }}" title="Email">
<svg class="iconsvg"><use xlink:href="#envelope"></use></svg>
</a>
</li>
{%- endif -%}
</ul>
</div>
<br/>
Expand Down

0 comments on commit 024c816

Please sign in to comment.