Alex Malaszkiewicz
94fcfdd787
Enable Rubocop accessor grouping, fix existing offenses ( #8293 )
...
Merge pull request 8293
2021-07-23 10:45:34 -04:00
Josh Soref
4fbbefeb7e
Spelling ( #8661 )
...
* spelling: always
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: apostrophe
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: articles
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: bajillion
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: bandwidth
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: compatibilize
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: congratulations
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: consistent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: containing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: correspondents
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: debuggability
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: definitions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: engine
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: expectations
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: framework
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: gallery
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: gitlab
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: hesitant
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: hesitate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: highlighter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: installation
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: internal
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: kramdown
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: link
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: markdown
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: markdownify
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: metadata
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: multiple
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: object
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: overridden
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: paths
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: positions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: powershell
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: proceeding
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: pygments settings
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: referencing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: retrieve
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: separating
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: several
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: specific
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: suppress
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: upgrading
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: variable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: variables
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: whitespace
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: with
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-05-14 21:18:13 +02:00
Artyom Tokachev
34d0dd6c7d
Bump RuboCop to v0.79.x ( #7970 )
...
Merge pull request 7970
2020-01-15 01:06:31 -05:00
Frank Taillandier
6a4f8bdbec
Fix: rubocop offenses ( #7769 )
...
Merge pull request 7769
2019-08-04 02:49:34 -04:00
Ashwin Maroli
49ffbbd4c7
Add `type` attribute to Document instances ( #7406 )
...
Merge pull request 7406
2019-05-16 11:44:39 -04:00
Ashwin Maroli
9e137bae29
Push Markdown link refs to excerpt only as required ( #7577 )
...
Merge pull request 7577
2019-03-18 17:39:08 -04:00
Ashwin Maroli
ae0a064f3f
Output correct class name in custom inspect string
2019-01-11 13:18:49 +05:30
Kyle Barbour
88d63c9303
Excerpt handling of custom and intermediate tags ( #7382 )
...
Merge pull request 7382
2019-01-04 04:30:29 -05:00
Ashwin Maroli
592b530de1
Re-implement handling Liquid blocks in excerpts ( #7250 )
...
Merge pull request 7250
2018-11-04 14:02:00 -05:00
Ashwin Maroli
8d80ada92b
Bump RuboCop to v0.60.x ( #7338 )
...
Merge pull request 7338
2018-10-26 09:43:40 -04:00
jekyllbot
a28f54a59f
Bump Rubocop to v0.59.0 ( #7237 )
...
Merge pull request 7237
2018-09-09 18:14:46 -04:00
Ken Salomon
5701087e7b
Do not process Liquid in post excerpt when disabled in front matter ( #7146 )
...
Merge pull request 7146
2018-07-20 19:22:44 -04:00
Frank Taillandier
6c771608e5
Update Rubocop's config ( #7050 )
...
Merge pull request 7050
2018-06-02 06:50:32 -04:00
Kyle Barbour
b915c7577b
Add whitespace control to LIQUID_TAG_REGEX ( #7015 )
...
Merge pull request 7015
2018-05-17 18:22:32 -04:00
Ashwin Maroli
8c8e2db0e5
Memoize computing excerpt's relative_path ( #6951 )
...
Merge pull request 6951
2018-04-30 20:00:11 -04:00
Ashwin Maroli
7f9ac93e4f
Fix rendering Liquid constructs in excerpts ( #6945 )
...
Merge pull request 6945
2018-04-26 01:58:25 -04:00
ashmaroli
d09db32d10
handle liquid tags in excerpts robustly ( #6891 )
...
Merge pull request 6891
2018-04-12 11:37:42 -04:00
ashmaroli
5ebdc184c0
Excerpt relative-path should match its path ( #6597 )
...
Merge pull request 6597
2018-02-20 10:58:50 -05:00
ashmaroli
a662bc24aa
Append appropriate closing tag to Liquid block in an excerpt ( #6724 )
...
Merge pull request 6724
2018-02-20 09:47:56 -05:00
Parker Moore
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Frank Taillandier
d134afcd4a
ran rubocop -a
2016-12-18 07:22:36 +01:00
Eloy Espinaco
9b09d8a8e8
Add support for indented link references on excerpt
...
Excerpt link reference extraction is missing all the indented references
at the bottom of the page. Markdown specify that those can be indented up
to three spaces.
2016-09-02 17:21:10 -03:00
Parker Moore
e3214c23a3
Add missing elements to Excerpt which delegate to its Document
2016-07-07 13:37:09 -07:00
Parker Moore
f5a0db9dcc
Rubocop: use %r for all regular expressions.
2016-06-02 17:08:21 -07:00
Parker Moore
b019234007
Add ExcerptDrop and remove excerpt's ability to refer to itself in Liquid
2016-05-24 17:30:03 -05:00
Parker Moore
debdb15171
Move 'forwardable' require to earlier in the program start up.
2015-12-25 22:45:51 -05: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
Malo Skrylevo
a0f2b5f944
get procedure for default excerpt separator for both cases site and page was
...
moved to the post's specific method :excerpt_separator.
2015-01-10 04:05:16 +03:00
Malo Skrylevo
54d0bf47e8
Added per post excerpt_separator functionality, so you are able to
...
specify :excerpt_separator (as well as just :excerpt) key direct inside
the post YAML, to make an excerpt based on the value in the post. Tests
were also added.
2015-01-08 15:18:06 +03:00
Parker Moore
b4a2788626
Just swallow it if there is no content for the excerpt to parse.
2014-11-03 22:16:47 -08:00
Parker Moore
c7cc36abdb
Put errors/exceptions into Jekyll::Errors module
2014-07-12 13:47:59 -07:00
Quinn Shanahan
5ea62443f4
override EXCERPT_ATTRIBUTES_FOR_LIQUID
...
Allow EXCERPT_ATTRIBUTES_FOR_LIQUID to be overridden by inheriting class. Right now will always reference Jekyll::Post::EXCERPT_ATTRIBUTES_FOR_LIQUID. This is already being used in the codebase for ATTRIBUTES_FOR_LIQUID.
2014-05-14 13:39:16 -04:00
Corey Ward
f1c4e247a5
Remove unnecessary references to `self`
2014-02-21 16:27:21 -06:00
Parker Moore
5a52986db0
Use 'Forwardable' module to pass along some attribute calls to @post
2014-01-10 22:54:06 -08:00
Parker Moore
0bb2af8dee
Remove superfluous conditional, props @mattr-
2013-07-23 20:04:39 +02:00
Parker Moore
f883acc664
Remove debug statements
2013-07-22 11:33:19 +02:00
Parker Moore
26dc14881c
Moving data around to make sure excerpts have no layouts but that they are still converted with liquid and the proper converter
2013-07-22 11:31:15 +02:00
Parker Moore
c6a37a424b
Debug statements - take them out later
2013-07-22 10:11:32 +02:00
Parker Moore
f99c726085
Override Excerpt#render_all_layouts to just assign content to output
2013-07-22 10:11:32 +02:00
Parker Moore
04e0b318c8
Remove duplicate comment
2013-07-22 10:11:32 +02:00
Parker Moore
d815c12571
Don't try to be smarter than the computer. Pass Excerpt#to_liquid to its parent post.
2013-07-14 04:22:34 +02:00
Parker Moore
015ace6773
Shuffle around rendering of extracted excerpt so it can be liquified.
2013-07-13 16:18:20 +02:00