Sha256: 32e71fcabe92873e6e3c4db18340abdf9ce7aa165b154d198c8e3f3a9a86bba1

Contents?: true

Size: 732 Bytes

Versions: 456

Compression:

Stored size: 732 Bytes

Contents

// Mincer asset helper functions
//
// This must be imported into a .css.ejs.scss file.
// Then, <% %>-interpolations will be parsed as strings by Sass, and evaluated by EJS after Sass compilation.


@function twbs-font-path($path) {
  // do something like following
  // from "path/to/font.ext#suffix" to "<%- asset(path/to/font.ext)) + #suffix %>"
  // from "path/to/font.ext?#suffix" to "<%- asset(path/to/font.ext)) + ?#suffix %>"
  // or from "path/to/font.ext" just "<%- asset(path/to/font.ext)) %>"
  @return "<%- asset("#{$path}".replace(/[#?].*$/, '')) + "#{$path}".replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
}

@function twbs-image-path($file) {
  @return "<%- asset("#{$file}") %>";
}

$bootstrap-sass-asset-helper: true;

Version data entries

456 entries across 456 versions & 2 rubygems

Version Path
jumbo-jekyll-theme-3.2.3.1 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.2.3 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.2.2 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.2.1 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.2 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.3 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2.9 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2.8 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2.7 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2.6 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2.5 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2.4 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2.3 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2.2 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2.1 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.2 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.1 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.1.0 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.0.57 _sass/_bootstrap-mincer.scss
jumbo-jekyll-theme-3.0.56 _sass/_bootstrap-mincer.scss