Parker Moore
a9b80b2f06
features/layout_data: add scenario for inheriting layout data from child to parent
...
Ref: https://github.com/jekyll/jekyll/pull/4312#discussion_r48781985
2016-01-04 16:21:53 -08:00
Parker Moore
e097a15657
Merge pull request #4312 from jekyll/fix-layout-metadata
...
Merge pull request 4312
2016-01-04 13:05:00 -08:00
Parker Moore
62d7f5ecad
Add feature test for layout data
...
Fixes issue defined here:
https://github.com/jekyll/jekyll/issues/4246#issuecomment-168367510
2016-01-04 12:38:41 -08:00
Parker Moore
2756503e7b
features/hooks: use hash syntax to access page
2016-01-04 12:37:19 -08:00
Parker Moore
87978e79f4
features/step_definitions: use $stderr instead of STDERR
...
Fixes c273d91df1 (commitcomment-15251676)
2016-01-04 12:36:05 -08:00
Parker Moore
c273d91df1
cucumber: fix issue where an undefined step would cause an exception
2016-01-04 12:08:02 -08:00
Parker Moore
6a72d4a986
features/post_data: Fix undefined feature step.
2015-12-22 22:44:56 -05:00
Parker Moore
9bb59e9999
features/post_data: do NOT allow page.path to be overridden
2015-12-22 21:36:29 -05:00
Parker Moore
30ceda52ef
features/hooks: global payload _is_ global -- not new for each page
2015-12-22 21:36:15 -05:00
Parker Moore
659f0869e0
features/collections: drops don't output like a hash -- update accordingly
2015-12-22 21:35:28 -05:00
rebornix
657a8d7239
Allow users to input multiple variables in include tag
2015-11-25 16:37:08 +08:00
Parker Moore
1bde4ce84a
include_tag.feature: double escape
2015-11-24 17:11:47 -08:00
Parker Moore
8a09418083
Allow use of Cucumber 2.1 or greater
2015-11-24 16:28:02 -08:00
Parker Moore
c1761bc478
Merge pull request #4120 from rebornix/CacheIncludeTemplate
...
Merge pull request 4120
2015-11-18 11:53:10 -08:00
rebornix
6a98ab2a15
Make `:title` cased for backwards compability and add `:slug` for uncased usage.
2015-11-18 10:43:13 +08:00
rebornix
87a8695196
Cache include file to save liquid parsing time.
2015-11-10 21:08:37 +08:00
Parker Moore
db6103bdee
Document: only superdirectories of the collection are categories
2015-11-04 15:18:02 +07:00
Paul Robert Lloyd
9d1641f163
Fix #3371 - kramdown:syntax_highlighter should automatically take value of highlighter
2015-10-31 23:58:49 +00:00
Jordon Bedwell
1c4b4ae271
Add regression tests to Cucumber.
2015-10-29 17:19:03 -05:00
Alfred Xing
2a040fd527
Rename incremental regeneration flag
...
Rename from `full_rebuild` to disable, to `incremental` to enable
2015-10-26 14:20:44 -07:00
Parker Moore
b89f943bf2
collections: posts as collection
2015-10-26 00:29:14 -07:00
Kevin Locke
bb9462f12f
Whole-post excerpts should match the post content
...
When a post does not contain an excerpt_separator, meaning the excerpt
includes the entire post, the excerpt should contain exactly the post
content.
This is desirable both from a correctness standpoint, that the excerpt
should not introduce any new content, and more practically to allow fast
and easy detection of whole-post excerpts in Liquid templates using
`post.excerpt == post.content`. A common use-case is deciding whether
to render "Read More" links on a page containing post excerpts.
This commit does exactly that. It avoids adding additional newlines to
the excerpt content when the excerpt includes the whole post and adds
tests to ensure that this behavior is correct and preserved going
forward.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2015-10-01 13:58:00 -07:00
Pedro Euko
22b59ae793
Added permalink time variables
2015-09-23 21:51:02 -03:00
Parker Moore
44a43b757d
Merge branch 'fniephaus-_includes' into 'master'
...
* fniephaus-_includes:
Unify renaming of configuration options to a single method. /cc #3782 .
Make _includes directory configurable; closes #2684
2015-08-16 13:30:45 -04:00
Parker Moore
63a51df909
Fix up test for 'future' flag. /cc #3892
2015-08-16 13:15:47 -04:00
Nate Berkopec
559cd6c7e7
Future should be set to false in the default config
2015-08-16 13:11:08 -04:00
Fabio Niephaus
ac56e9dd16
Make _includes directory configurable; closes #2684
...
and rename `plugins`, `layouts` and `data_source` directories for consistency
2015-08-09 16:20:58 +01:00
Stephen Crosby
736e6a78f1
address code review feedback from #3553
...
- change site:reset to site:after_reset
- raise an exception when registering uncallable hook
- set default hook priority at the public API level
2015-05-02 15:56:19 -07:00
Stephen Crosby
245d9677d7
Refine hook implementation
...
- hooks are registered to symbol owners rather than classes directly
- during registration, add the ability to specify owner as an array to
register the same hook to multiple owners
- add optional priority during registration as a symbol (:low, :normal,
:high)
- implement hooks for collections as they are in octopress-hooks, aside
from post_init
2015-05-01 19:00:37 -07:00
Stephen Crosby
6ca9633354
prototype of jekyll hooks, encapsulated
2015-05-01 14:35:15 -07:00
Parker Moore
6a26907495
features: update collections features to match new iteration method
2015-04-29 10:49:06 -07:00
Parker Moore
6597bacee8
features: Update the way we access Minitest assertions
...
Per https://github.com/cucumber/cucumber/wiki/Using-MiniTest .
2015-04-28 12:49:45 -07:00
Alfred Xing
4f06ba7884
Remove Maruku-specific tests
2015-04-14 10:58:47 -07:00
Arthur Neves
67ba8ad0cb
Use rspec-mock instead of rr
2015-03-06 20:13:07 -05:00
Will Norris
669c803912
always include file extension on destination files
...
This ensures that destination files for HTML posts, pages and
collections always include the proper file extension (as defined by
output_ext) regardless of permalink structure. This allows for URLs
that contain no extension or trailing slash to still result in proper
destination files with .html extensions.
Because this change relies so heavily on output_ext accurately
identifying the extension of the destination file, this change also
removes the feature test that tested support for permalinks with a .htm
extension. In order to support alternate file extensions, a future
patch or plugin will need to modify the output_ext value, at which point
everything else should work as expected.
2015-03-02 21:20:54 -08:00
Parker Moore
ace1b6b8d2
Migrate the integration tests to minitest, too
2015-02-21 00:31:25 -08:00
Parker Moore
a87cda4b12
Add configuration fallback for paginate, and fix tests.
2015-01-31 13:53:17 -08:00
Parker Moore
c378f741a8
Merge pull request #3319 from jekyll/split-off-textile
2015-01-17 17:08:15 -08:00
Parker Moore
dec27bc166
Fix last feature
2015-01-17 16:52:12 -08:00
Parker Moore
2b29e09177
Fix some cucumber features.
2015-01-17 16:52:12 -08:00
Parker Moore
c1da91cf5c
Start removing mentions of Textile.
2015-01-17 16:51:28 -08:00
Parker Moore
f11837dd7b
Fix cucumber failures due to merge of #3134 .
2015-01-17 16:48:12 -08:00
Parker Moore
87500addd5
Move the test & fix it.
2015-01-17 15:46:35 -08:00
Mike Callan
5868ba1691
new test to prove permalinks in global config do not respect template variables
2015-01-17 15:28:52 -08:00
Parker Moore
6d9b4c2aba
Merge pull request #2774 from dziemian007/formatter_variables_by_relative_path
2015-01-17 15:16:50 -08:00
Parker Moore
a312115a5a
Merge pull request #3014 from jekyll/revert-3013-revert-2921-post-dest
2015-01-17 15:13:17 -08:00
Parker Moore
ba2e1390ad
Merge pull request #2571 from yous/patch-mixed-case-category
2015-01-17 14:55:30 -08:00
Parker Moore
a098dc80cd
Merge pull request #3234 from jekyll/ruby-2-2
2014-12-29 20:49:04 -05:00
Parker Moore
7bcf8d689e
Always call Time#localtime to translate to TZ'd time.
2014-12-29 20:12:35 -05:00
Parker Moore
f66862c508
Install rake if the lib isn't there; upgrade to cucumber 1.3.18
2014-12-29 18:40:53 -05:00