Commit Graph

80 Commits

Author SHA1 Message Date
tfwyouloveher 6269d60959
Fixed tile descriptions 2020-02-21 20:39:23 -07:00
Meitar M 4e4f981b8c
Fix bug where some pages where not shown as tiles.
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.
2020-01-31 14:21:40 -05:00
Meitar M 033cfa2c44
Add page titles to `<title>` element. 2020-01-30 19:20:58 -05:00
Andrew Banchich 49ab386a3d Fix bug causing non-HTML pages to be displayed in tiles. 2020-01-12 20:31:35 -05:00
Andrew Banchich 548b8385f2 Fix Home, All Posts, and 404 pages displaying in tiles 2018-09-09 16:53:34 +00:00
Andrew Banchich a6259c1274 Bugfix for 404 page showing in All Pages list 2018-08-05 14:35:00 -04:00
Andrew Banchich 9f1b902c04 Update footer.html 2017-07-05 22:13:04 +00:00
Andrew Banchich daf7251b02 Update footer.html 2017-07-05 22:09:33 +00:00
Andrew Banchich 82d7650720 Update footer.html 2017-07-05 22:00:34 +00:00
Andrew Banchich 868e0cb0da Update header.html 2017-07-05 21:50:45 +00:00
Andrew Banchich 4f3384d2a3 fixes some bugs in landing template. will fix the rest asap 2017-04-22 21:02:18 -04:00
Andrew Banchich 752c7b2c61 fixes path issues 2017-02-05 15:24:50 -05:00
Andrew Banchich 9e22d5263d removes url setting from config 2017-02-05 15:13:03 -05:00
Andrew Banchich 0ce7482420 fixes path issues for locally served sites 2017-01-08 19:00:52 -05:00
Andrew Banchich e0438a47b0 Update header.html 2016-11-25 19:59:36 +00:00
Andrew Banchich 829010bd66 Update footer.html 2016-11-25 19:54:56 +00:00
Andrew Banchich 90a87ad971 Update footer.html 2016-11-25 19:54:23 +00:00
Andrew Banchich 20c410b696 Update head.html 2016-11-25 19:53:06 +00:00
Andrew Banchich 06c653e23e Update head.html 2016-11-25 19:52:07 +00:00
Andrew Banchich 597d2d51c5 Update footer.html 2016-11-25 19:49:44 +00:00
Andrew Banchich c251befb59 Update tiles.html 2016-11-25 19:45:34 +00:00
Andrew Banchich df49421490 Update tiles.html 2016-11-25 19:41:19 +00:00
Andrew Banchich f8a063daf2 Update tiles.html 2016-11-25 19:41:02 +00:00
Andrew Banchich 77fa0da141 Update footer.html 2016-11-25 19:37:09 +00:00
Andrew Banchich be0a9c589d Update header.html 2016-11-25 19:30:54 +00:00
Andrew Banchich 88b40acedf Update header.html 2016-11-25 19:30:16 +00:00
Andrew Banchich dfe0c39ea5 Update header.html 2016-11-25 19:25:28 +00:00
Andrew Banchich 4fe3e54670 Update header.html 2016-11-25 19:22:20 +00:00
Andrew Banchich dfcc171920 adds gem theme files 2016-11-21 23:00:20 -05:00
Andrew Banchich 4c0cd5b232 Revert "Merge branch 'assets' into 'master'"
This reverts merge request !3
2016-08-26 16:00:55 +00:00
Andrew Banchich 28f8c4b2bb Update head.html 2016-08-26 15:51:19 +00:00
Andrew Banchich c701cad470 Update footer.html 2016-08-26 15:50:52 +00:00
Andrew Banchich 9377562ad8 Update header.html 2016-08-26 12:54:13 +00:00
Andrew Banchich 83af9a2a88 Update header.html 2016-08-26 12:48:01 +00:00
Andrew Banchich 24f78a1617 Update head.html 2016-08-26 02:57:43 +00:00
Andrew Banchich 53c0591f1e Update tiles.html 2016-08-26 02:42:59 +00:00
Andrew Banchich e1300a960d Update tiles.html 2016-08-26 02:39:06 +00:00
Andrew Banchich b54d577a1b Update tiles.html 2016-08-26 02:33:38 +00:00
Andrew Banchich 5f0d08f189 Update tiles.html 2016-08-26 02:28:10 +00:00
Andrew Banchich 043909a42e Update tiles.html 2016-08-26 02:18:46 +00:00
Andrew Banchich bfb63e5d63 Update tiles.html 2016-08-26 02:16:43 +00:00
Andrew Banchich 88978fe1df Update tiles.html 2016-08-26 02:13:29 +00:00
Andrew Banchich d581a504c9 Update tiles.html 2016-08-26 02:08:39 +00:00
Andrew Banchich 084e11748f Update tiles.html 2016-08-26 02:08:23 +00:00
Andrew Banchich 0da0e1b242 Update tiles.html 2016-08-26 02:05:53 +00:00
Andrew Banchich 22dbd8ab2e Update tiles.html 2016-08-26 02:03:28 +00:00
Andrew Banchich 8c5ff804f2 Update tiles.html 2016-08-26 01:57:24 +00:00
Andrew Banchich 709e63681a Update tiles.html 2016-08-26 01:57:10 +00:00
Andrew Banchich 4d0915e216 Update tiles.html 2016-08-26 01:51:44 +00:00
Andrew Banchich b946adbd28 Update tiles.html 2016-08-26 01:49:43 +00:00