Skip to content

Commit

Permalink
Fix scss and Liquid bugs (#144)
Browse files Browse the repository at this point in the history
* fix: add unit to weight

* fix: add missing single quote
  • Loading branch information
mtwente authored Jul 12, 2024
1 parent aa912b0 commit e10e422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _layouts/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h5 class="modal-title" id="modalLabel">{{
<ul>
<li>{{ site.data.translations['_layouts']['search.html']['field-name'][site.lang] | default: 'Search
a specific field: use the field name, colon, then your query, e.g. <code>title:foo</code>,
<code>date:1911</code>, <code>subject:tree</code>. In this collection you can use }} <code>{{ fields | join: "</code>, <code>" }}</code>.
<code>date:1911</code>, <code>subject:tree</code>. In this collection you can use' }} <code>{{ fields | join: "</code>, <code>" }}</code>.
</li>
<li>{{ site.data.translations['_layouts']['search.html']['wildcards'][site.lang] | default:
'Wildcards: add <code>*</code> to match any character(s), e.g. <code>foo*</code>,
Expand Down
2 changes: 1 addition & 1 deletion _sass/_theme-colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
}
// Return opaque color
@function opaque($background, $foreground) {
@return mix(rgba($foreground, 1), $background, opacity($foreground) * 100);
@return mix(rgba($foreground, 1), $background, opacity($foreground) * 100%);
}
// Return WCAG2.0 relative luminance
@function luminance($color) {
Expand Down

0 comments on commit e10e422

Please sign in to comment.