Commit Graph

24 Commits

Author SHA1 Message Date
Ashwin Maroli ce441d32ec
Enhance detection of conflicting destination URLs (#8459)
Merge pull request 8459
2020-11-08 11:15:17 -05:00
Seeker 4f81011442
Supress warning issued for redirect pages (#8347)
Merge pull request 8347
2020-08-19 13:16:18 -04:00
Seeker a4f5b850af
Warn on command-line with permalink conflict (#8342)
Merge pull request 8342
2020-08-16 06:48:19 -04:00
Florian Thomas cf5c689d94 Fix timezone incosistencies between different ruby version (#6697)
Merge pull request 6697
2018-01-25 10:43:56 -05:00
Parker Moore 736a800f0e features: validate the exit status of 0 for successful calls 2016-01-18 11:52:31 -08:00
Parker Moore 9a6f4e08b7 features/permalinks: add a permalink feature for non-html extension name for pages
Fixes
https://github.com/mpc-hc/mpc-hc.org/pull/58#issuecomment-172594526
2016-01-18 11:44:00 -08:00
rebornix 6a98ab2a15 Make `:title` cased for backwards compability and add `:slug` for uncased usage. 2015-11-18 10:43:13 +08:00
Pedro Euko 22b59ae793 Added permalink time variables 2015-09-23 21:51:02 -03: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 004f923644 Revert "Revert "Make permalink parsing consistent with pages"" 2014-12-29 00:30:42 -05:00
Parker Moore 078b2785e4 Revert "Make permalink parsing consistent with pages" 2014-10-18 12:07:44 -07:00
Alfred Xing ccef84a803 Update Cucumber tests to match new permalink parsing 2014-09-24 22:08:25 -07:00
Pat Hawks 5445a1bead Add test for Use per-post permalinks ending in .htm 2014-09-14 11:36:26 -07:00
Martin Charles f9375d5660 Cleaned up cucumbers 2014-04-23 13:40:21 -04:00
Slava Pavlutin 2f79262f80 Fix tables alignments in Cucumber features 2014-03-01 23:10:05 +04:00
Parker Moore 9e11a7f35f Fix date format in permalink.features. 2013-08-11 12:40:28 +02:00
Parker Moore d4300be758 Merge branch 'permalink-no-dir' of git://github.com/maul-esel/jekyll into maul-esel-permalink-no-dir
* 'permalink-no-dir' of git://github.com/maul-esel/jekyll:
  test per-post permalinks
  do not force the permalink to be a dir if it ends on .html

Conflicts:
	features/step_definitions/jekyll_steps.rb
2013-08-11 12:08:56 +02:00
John Piasetzki 72fa7f8a73 Switch cucumber features to use iso dates 2013-05-25 11:35:28 -04:00
maul.esel c0dfe3165c test per-post permalinks
Add tests for setting a permalink on a post (in YAML frontmatter),
both the "old way" (generating an index.html) and with an .html ex-
tension.
2013-04-14 09:47:40 +02:00
Jeffry Degrande 176c047ff1 bugfix for permalinks
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-07-14 19:17:44 -04:00
eugenebolshakov 49c39f43a1 the index page should always have index.html permalink no matter what 2009-05-10 15:29:05 +04:00
Nick Quaranto 080108b0f0 Making sure permalinks were set right, and only generating the url once 2009-04-25 01:07:05 -04:00
Nick Quaranto 9da140fcb2 Getting there, prefixes work great 2009-04-25 00:58:28 -04:00
Nick Quaranto f3fd105b40 Starting feature for permalinks 2009-04-24 22:21:55 -04:00