Module: CS50::Filters

Defined in:
lib/jekyll-theme-cs50.rb

Overview

Disable relative_url filter, since we prepend site.baseurl to all absolute paths, but we’re not monkey-patching Jekyll::Filters::URLFilters::relative_url, since it’s used by github.com/benbalter/jekyll-relative-links/blob/master/lib/jekyll-relative-links/generator.rb

Instance Method Summary collapse

Instance Method Details

#relative_url(input) ⇒ Object



374
375
376
377
# File 'lib/jekyll-theme-cs50.rb', line 374

def relative_url(input)
  Jekyll.logger.warn "CS50 warning: no need to use relative_url with this theme"
  input
end