Skip to content

Commit

Permalink
Merge pull request #19 from carpentries/alt-logo-lang
Browse files Browse the repository at this point in the history
remove repetative logo information
  • Loading branch information
zkamvar authored Feb 8, 2022
2 parents ed67610 + c88891c commit 42ec4c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: varnish
Title: Front-end for The Carpentries Lesson Template
Version: 0.1.3
Version: 0.1.4
Authors@R: c(
person(given = "Zhian N.",
family = "Kamvar",
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# varnish 0.1.4

* Removed " logo" suffix from the logo elements, as it is redundant
https://webaim.org/techniques/alttext/#logos

# varnish 0.1.3

* Add small version of the carpentries logo
Expand Down
4 changes: 2 additions & 2 deletions inst/pkgdown/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a class="visually-hidden-focusable skip-link" href="#main-content">Skip to main content</a>
<div class="container-fluid top-nav-container">
<div class="col-md-6">
<div class="large-logo"><img alt="{{#yaml}}{{carpentry_name}}{{/yaml}} logo" src="{{#site}}{{root}}{{/site}}assets/images/{{#yaml}}{{carpentry_icon}}-logo.svg{{/yaml}}"></div>
<div class="large-logo"><img alt="{{#yaml}}{{carpentry_name}}{{/yaml}}" src="{{#site}}{{root}}{{/site}}assets/images/{{#yaml}}{{carpentry_icon}}-logo.svg{{/yaml}}"></div>
</div>
<div class="selector-container ">
{{#yaml}}{{#language}}
Expand Down Expand Up @@ -45,7 +45,7 @@
<span class="menu-title">Menu</span>
</button>
<div class="nav-logo">
<img class="small-logo" alt="{{#yaml}}{{carpentry_name}}{{/yaml}} logo" src="{{#site}}{{root}}{{/site}}assets/images/{{#yaml}}{{carpentry_icon}}-logo-sm.svg{{/yaml}}">
<img class="small-logo" alt="{{#yaml}}{{carpentry_name}}{{/yaml}}" src="{{#site}}{{root}}{{/site}}assets/images/{{#yaml}}{{carpentry_icon}}-logo-sm.svg{{/yaml}}">
</div>
<div class="lesson-title-md">
{{#site}}{{title}}{{/site}}
Expand Down

0 comments on commit 42ec4c0

Please sign in to comment.