Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
swc-bb
swc-pages
2019-11-26-Potsdam-Berlin-Python
Commits
bfec005a
Unverified
Commit
bfec005a
authored
May 15, 2018
by
François Michonneau
Browse files
fix logos and add Carpentries as an option
parent
f550f8ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
_includes/navbar.html
View file @
bfec005a
...
...
@@ -12,17 +12,21 @@
</button>
{% comment %} Select what logo to display. {% endcomment %}
{% if
pag
e.carpentry == "swc" %}
{% if
sit
e.carpentry == "swc" %}
<a
href=
"{{ site.swc_site }}"
class=
"pull-left"
>
<img
class=
"navbar-logo"
src=
"{{ page.root }}/assets/img/swc-icon-blue.svg"
alt=
"Software Carpentry logo"
/>
</a>
{% elsif
pag
e.carpentry == "dc" %}
{% elsif
sit
e.carpentry == "dc" %}
<a
href=
"{{ site.dc_site }}"
class=
"pull-left"
>
<img
class=
"navbar-logo"
src=
"{{ page.root }}/assets/img/dc-icon-black.svg"
alt=
"Data Carpentry logo"
/>
</a>
{% elsif
pag
e.carpentry == "lc" %}
{% elsif
sit
e.carpentry == "lc" %}
<a
href=
"{{ site.lc_site }}"
class=
"pull-left"
>
<img
class=
"navbar-logo"
src=
"{{ page.root }}/assets/img/lc-icon-black.png"
alt=
"Library Carpentry logo"
/>
<img
class=
"navbar-logo"
src=
"{{ page.root }}/assets/img/lc-icon-black.svg"
alt=
"Library Carpentry logo"
/>
</a>
{% elsif site.carpentry == "cp" %}
<a
href=
"{{ site.carpentries_site }}"
class=
"pull-left"
>
<img
class=
"navbar-logo"
src=
"{{ page.root }}/assets/img/cp-logo-blue.svg"
alt=
"Library Carpentry logo"
/>
</a>
{% endif %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment