ExtraStatic: powerful and easy publishing

Skip to content
Snippets Groups Projects
  1. Dec 23, 2020
  2. Dec 21, 2020
  3. Jun 27, 2020
  4. May 17, 2020
  5. Mar 04, 2020
  6. Feb 22, 2020
  7. Feb 01, 2020
  8. Jan 31, 2020
    • Meitar M's avatar
      Fix bug where some pages where not shown as tiles. · 4e4f981b
      Meitar M authored
      This commit refactors the `tiles.html` include file so that when the
      `site.tiles-source` is pages, pages with `show_tile: false` set in their
      Front Matter are not counted as having been shown. Prior to this commit,
      such pages were iterated over in the `for` loop, consuming a loop
      iteration from the `site.tiles-count` counter.
      
      Put another way, say you have set `tiles-count` to 6, and you have a
      total of 10 pages. Of these ten pages, six have `show_tile` set to
      `false`. The natural expectation would be that the home page layout
      would display four tiles (10 - 6 = 4), but in fact, the exact number of
      page tiles shown would depend on the specific lexicographical ordering
      of the `site.html_pages` array, which could result in fewer than four
      page tiles being shown.
      
      This commit fixes the issue by excluding pages with `show_tile` set to
      `false` first, and only then iterating over the remaining pages.
      4e4f981b
    • Meitar M's avatar
      8c70ecf0
    • Meitar M's avatar
      Fix relative paths to images when a permalink is used. · b8721c35
      Meitar M authored
      This commit uses the Jekyll `link` tag to correctly construct the URL to
      images with otherwise relative paths. Without this logic, the images
      would only load when the landing page's permalink was not altered by the
      user. For example, if the permalink is changed to `get-started` in the
      Jekyll Front Matter, the relative URLs would become:
      
          get-started/assets/images/pic08.jpg
      
      However, since the `get-started` path doesn't really exist, this would
      fail to load the image.
      
      As of Jekyll 4.0, the `link` tag is safe to use without prepending
      `site.baseurl`, so this code works in all situations.
      b8721c35
    • Meitar M's avatar
      Add page titles to `<title>` element. · 033cfa2c
      Meitar M authored
      033cfa2c
  9. Jan 13, 2020
  10. Sep 15, 2019
  11. Jun 15, 2019
  12. Jun 13, 2019
  13. Sep 09, 2018
  14. Aug 25, 2018
  15. Aug 05, 2018
  16. Jul 02, 2018
  17. Mar 16, 2018
  18. Jul 05, 2017
Loading