Skip to content
Snippets Groups Projects
  1. Jun 05, 2019
    • Ben Goldhaber's avatar
      Fix trailing comma bug in search-data.json · c8a8ce33
      Ben Goldhaber authored
      If you exclude the last page in the site.html_pages through exclude_true you end up violating the assumption in the for loop that the last page won't have a trailing comma. This breaks the json data that is served to the front end.
      
      I removed the forloop.last check and instead assign a temporary variable to check for the first non-excluded page, and then add the comma before the next non-excluded entry.
      c8a8ce33
  2. May 19, 2019
  3. Jan 16, 2019
  4. Jan 06, 2019
  5. Dec 16, 2018
  6. Oct 23, 2018
Loading