Skip to content

Commit

Permalink
Merge pull request #1 from softwaresaved/anenadic-navbar
Browse files Browse the repository at this point in the history
Updates to navbar to include SSI logo
  • Loading branch information
anenadic authored Mar 21, 2024
2 parents 37ce2e4 + ca6a98e commit 1e9009c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# When setting this field to "incubator", please uncomment the
# incubator_lesson_site, incubator_pre_survey, and incubator_post_survey
# lines further down this file and add the URL to the relevant lesson site.
carpentry: "cp"
carpentry: "ssi"

# This option is currently only needed for
# Data Carpentry and Software Carpentry workshops.
Expand Down
4 changes: 4 additions & 0 deletions _includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
<a href="{{ relative_root_path }}{% link index.md %}" class="pull-left">
<img class="navbar-logo" src="{{ relative_root_path }}{% link /assets/img/carpentrieslab.svg %}" alt="The Carpentries Lab" />
</a>
{% elsif site.carpentry == "ssi" %}
<a href="{{ relative_root_path }}{% link index.md %}" class="pull-left">
<img class="navbar-logo" src="{{ relative_root_path }}{% link /assets/img/SSI_ICON_LOGO_BLACK.svg %}" alt="The Software Sustainability Institute" />
</a>
{% endif %}

{% comment %} Always show link to home page. {% endcomment %}
Expand Down

0 comments on commit 1e9009c

Please sign in to comment.