Ashwin Maroli
9d86974e1f
Expose collection static files via `site.static_files` ( #8961 )
...
Merge pull request 8961
2022-03-24 09:05:58 -07:00
Ashwin Maroli
751b8f9c3c
Bump RuboCop to v0.85.x ( #8223 )
...
Merge pull request 8223
2020-06-01 14:07:43 -04:00
Ashwin Maroli
f826b8b5ea
Fix documents custom-ordering logic ( #8028 )
...
Merge pull request 8028
2020-03-12 10:58:17 -04:00
Ashwin Maroli
cbfdeaefcd
Reduce string allocations with better alternatives ( #7643 )
...
Merge pull request 7643
2019-05-16 10:04:37 -04:00
Ashwin Maroli
07bf5be7b4
Allow custom sorting of collection documents ( #7427 )
...
Merge pull request 7427
2019-02-16 11:19:03 -05:00
Ashwin Maroli
ae0a064f3f
Output correct class name in custom inspect string
2019-01-11 13:18:49 +05:30
jekyllbot
a28f54a59f
Bump Rubocop to v0.59.0 ( #7237 )
...
Merge pull request 7237
2018-09-09 18:14:46 -04:00
Frank Taillandier
6c771608e5
Update Rubocop's config ( #7050 )
...
Merge pull request 7050
2018-06-02 06:50:32 -04:00
Philip Belesky
9aec161550
Fix --unpublished not affecting collection documents ( #7027 )
...
Merge pull request 7027
2018-05-20 12:30:15 -04:00
Ana María Martínez Gómez
bc84603017
Useless privates removed ( #6768 )
...
Merge pull request 6768
2018-05-19 15:49:54 -04:00
Ashwin Maroli
b22e281bc5
Liquify documents unless published == false ( #6959 )
...
Merge pull request 6959
2018-05-01 11:04:38 -04:00
ashmaroli
f8a66ca76c
Improve handling non-default collection documents rendering and writing ( #6795 )
...
Merge pull request 6795
2018-03-09 21:11:24 -05:00
ashmaroli
a6b4ce0928
Refactor collections_dir feature for consistency ( #6685 )
...
Merge pull request 6685
2018-01-25 10:45:35 -05:00
Ashwin Maroli
8e2c240fa6
use a shorter topic label for readability
...
Jekyll's logger like the first parameter to be of 20 chars or lesser
2017-12-04 13:03:39 +05:30
Parker Moore
0331fb41ad
Allow the user to set collections_dir to put all collections under one subdirectory ( #6331 )
...
Merge pull request 6331
2017-09-24 11:50:55 -04:00
Parker Moore
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Anatoliy Yastreb
d3b00cb84c
Bump Rubocop to 0.49.1 ( #6093 )
...
Merge pull request 6093
2017-06-15 08:29:35 -04:00
Anatoliy Yastreb
2ceff6ab3e
Read explicitly included dot-files in collections. #6091 ( #6092 )
...
Merge pull request 6092
2017-06-14 15:42:43 -04:00
Frank Taillandier
48f7a155c3
reindent attributes
2016-12-18 08:55:05 +01:00
Frank Taillandier
de56b977b6
ran rubocop -a
...
#5665
2016-12-18 07:22:11 +01:00
Parker Moore
4b698747dc
Style fixes for Rubocop 0.42.0
...
- var == 0 becomes var.zero?
- when defining method_missing, also define respond_to_missing?
2016-07-25 12:46:43 -07:00
Anatoliy Yastreb
b9f232e5bf
rubocop: fix methods naming and indentation
2016-07-15 10:59:44 +03:00
Anatoliy Yastreb
695b5396fd
rubocop: fix code style
2016-07-14 09:23:05 +03:00
DirtyF
f41bd1bab7
Rubocop cleanup
2016-06-06 16:30:09 +02:00
Pierre Fenoll
9347e90a67
Use EntryFilter throughout & update tests
2016-03-26 16:40:19 +01:00
Parker Moore
3aa80b7d04
Allow collections to have documents that have no file extension
2016-02-19 13:40:17 -08:00
Parker Moore
a1b39840bb
Revert change to Collection#url_template which caused test breakage.
...
Reverts dab53a697b
2016-01-06 10:13:13 -08:00
Parker Moore
dab53a697b
collection: tiny optimization to #url_template
2016-01-04 18:17:51 -08:00
Pat Hawks
78e9f3389e
Rubocop: Style/IndentationWidth
2016-01-04 11:42:17 -08:00
Pat Hawks
2530a8cdfc
Rubocop: Style/HashSyntax
...
- Use hash rockets syntax
2016-01-03 15:49:22 -08:00
Pat Hawks
44d2995277
Rubocop: Style/Semicolon
...
- Do not use semicolons to terminate expressions
2016-01-03 14:40:45 -08:00
Pat Hawks
31dd0ebed5
Rubocop: Style/EmptyLiteral
...
- Use array literal [] instead of Array.new
- Use hash literal {} instead of Hash.new
2016-01-03 14:39:01 -08:00
Parker Moore
82c3ee365f
Initial work on using Liquid::Drops instead of Hashes.
...
The properties of Liquid::Drops are only evaluated when they're asked for
and therefore save computation time. This prevents a lot of GC time cleaning
up objects that are not needed, because they're not created unless requested.
Additionally, this saves time for actual computation of those values because
they can be computed only if needed.
It's funny how much it helps when you only do what is needed. Far less overhead.
2015-12-21 22:47:30 -05:00
Parker Moore
b94800361b
Collection: change missing_method message to be a bit clearer.
...
Fixes #4234 . Fixes #4199 .
2015-12-11 14:07:34 -08:00
Parker Moore
b90f8e048a
Merge pull request #4150 from ducktyper/master
...
Merge pull request 4150
2015-11-30 19:57:01 -08:00
Sam Volin
35070d6806
added debug message to collection
2015-11-24 16:02:10 -07:00
ducksan cho
e9f8b4df74
Add Windows support to Utils.safe_glob
2015-11-19 17:15:51 +13:00
Ducksan Cho
20735e12f9
Use safe_glob to unsafe glob
2015-11-19 01:02:48 +13:00
Ducksan Cho
bd2c337e5b
Avoid using Dir.glob with absolute path
...
the absolute path including '[', '{', '?', or '*'
could change the outcome
2015-11-18 02:18:25 +13:00
Parker Moore
2e7c471c70
Add Document#method_missing and Collection#method_missing
...
Proxies calls to either #data or #docs, respectively. Deprecation warning is printed.
2015-10-26 13:37:04 -07:00
Parker Moore
b89f943bf2
collections: posts as collection
2015-10-26 00:29:14 -07:00
Will Norris
0d1586a5c4
Improved permalinks for pages and collections
...
This updates the default permalink style for pages and collections to
match the site-wide 'permalink' setting. If the permalink setting
contains a trailing slash, either explicitly or by being set to
':pretty', then pages and collections permalinks will contain trailing
slashes by default as well. Similarly, if the permalink setting
contains a trailing ':output_ext', so will pages and collections. If
the permalink setting contains neither a trailing slash or extension,
neither will pages or collections.
This impacts only the default permalink structure for pages and
collections. Permalinks set in the frontmatter of an individual page
take precedence, as does the permalink setting for a specific
collection.
Fixes #2691
2015-03-04 09:38:23 -08:00
Alfred Xing
c58ac78a5e
Expose Publisher in Site
2015-01-05 16:13:04 -08:00
Alfred Xing
7655b533c9
Allow documents to set `published` in front matter
2015-01-05 16:11:02 -08:00
Parker Moore
817f6cb658
Fix problem where entries weren't stripped of their trailing slashes.
2014-11-03 22:16:47 -08:00
Parker Moore
461e16f8bc
More tests are passing. Hooray.
2014-11-03 22:15:40 -08:00
Parker Moore
0bc88975c8
More removal of File.join
2014-11-03 22:15:40 -08:00
Parker Moore
98182aab4a
Use site.in_source_dir in Collection.
2014-11-03 22:15:40 -08:00
Parker Moore
fbe98df488
Cache variables that won't change through the life of an object
2014-10-12 14:06:17 -07:00
Parker Moore
b5dbc36975
Use Jekyll.sanitized_path when adding static files to Collections.
...
h/t @benbalter https://github.com/jekyll/jekyll/pull/2737#discussion_r16713423
Not sure if the previous code can be exploited, but being super safe is never a bad thing.
2014-08-30 23:09:47 -07:00