18F / jekyll_pages_api_search

DEPRECATED - Jekyll search plugin based on lunr.js and jekyll_pages_api
https://rubygems.org/gems/jekyll_pages_api_search
Other
39 stars 8 forks source link

Remove the en-dash from the search.html template #12

Closed mbland closed 8 years ago

mbland commented 8 years ago

This was causing conflicts on Windows, FreeBSD, and some Linux platforms that looked like:

Configuration file: /usr/home/msb/src/unit-testing-node/_config.yml
            Source: /usr/home/msb/src/unit-testing-node
       Destination: /usr/home/msb/src/unit-testing-node/_site
 Incremental build: enabled
      Generating...
  Liquid Exception: incompatible character encodings: US-ASCII and UTF-8 in _layouts/default.html
/home/msb/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/liquid-3.0.6/lib/liquid/block.rb:147:in `join': incompatible character encodings: US-ASCII and UTF-8 (Encoding::CompatibilityError)
        from /home/msb/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/liquid-3.0.6/lib/liquid/block.rb:147:in `render_all'

Also includes an improved browserify command and fixes a couple of test breakages.

cc: @jcscottiii @afeld @andrewmaier

mbland commented 8 years ago

Actually, there's some more weirdnesses going on now where, at least locally, entering a search term raises an error. Always one thing after another. :-/