Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not process Liquid in post excerpt when disabled in front matter #7146

Merged
merged 3 commits into from
Jul 20, 2018

Conversation

kenman345
Copy link
Contributor

As noted in #6824 the latest feature to disable liquid rendering did not extend to excerpts. This is a bit of a simple copy and past of logic. I do not exactly understand how to add the updated tests for it but figured someone might be able to help me move it along.

@pathawks pathawks changed the title Fixing missing component of #6824 Do not process Liquid in post excerpt when disabled in front matter Jul 17, 2018
@pathawks
Copy link
Member

Take a look at some of the existing tests for excerpts and the test that I added for disabled Liquid and see if you can figure out what kind of test needs to be added.

If that isn't enough to get you started, please @ me and I can help you out 🍻

@ashmaroli

This comment has been minimized.

@pathawks

This comment has been minimized.

@kenman345

This comment has been minimized.

@ashmaroli

This comment has been minimized.

@kenman345

This comment has been minimized.

@pathawks

This comment has been minimized.

@kenman345

This comment has been minimized.

@pathawks

This comment has been minimized.

@kenman345

This comment has been minimized.

@pathawks

This comment has been minimized.

@ashmaroli

This comment has been minimized.

@kenman345

This comment has been minimized.

@DirtyF DirtyF added fix and removed needs-tests labels Jul 20, 2018
@pathawks
Copy link
Member

How do we want to list this in the v4.0.0 changelog? It is a follow-up to #6824, which won't be included until v4, so I worry that listing this as a bugfix might be misleading. I also don't want to be tempted to backport this to v3.8.x

@kenman345
Copy link
Contributor Author

kenman345 commented Jul 20, 2018 via email

@pathawks
Copy link
Member

@jekyllbot: 🚢 +feature

@jekyllbot jekyllbot merged commit 5701087 into jekyll:master Jul 20, 2018
jekyllbot added a commit that referenced this pull request Jul 20, 2018
@pathawks
Copy link
Member

jekyll/History.markdown

Lines 85 to 88 in fe0a6ca

### feature
* Disable Liquid via front matter (#6824)
* Do not process Liquid in post excerpt when disabled in front matter (#7146)

The features are listed consecutively in History, this seems fine 👍

@pathawks
Copy link
Member

Wait a second... +feature is not a thing. These both should have been +major.

sigh

@kenman345
Copy link
Contributor Author

@pathawks I know this isn’t the right forum but is their a way in which excerpt can be changed so that we process the liquid once between excerpt and the full page? It seems a bit like extra leg work many people might not ever make use of anyways. Seems like potential performance to be had for larger sites.

@kenman345 kenman345 deleted the patch-3 branch July 20, 2018 23:27
@pathawks
Copy link
Member

@kenman345 That might be a good idea 👍

@kenman345
Copy link
Contributor Author

kenman345 commented Jul 20, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants