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

Comments for "Liquid: truncate without dots" #1

Open
spbnick opened this Issue Apr 20, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@spbnick
Owner

spbnick commented Apr 20, 2016

Please leave your comments for article "Liquid: truncate without dots" here.

@arthurattwell

This comment has been minimized.

Show comment
Hide comment
@arthurattwell

arthurattwell Jun 10, 2016

Thanks! That truncate takes a second argument is super-useful. It also works for truncatewords. In my case, I needed the parent folder in a page path, and your tip helped me get to {{ page.path | replace: "/", " " | truncatewords: 1, "" }}.

Thanks! That truncate takes a second argument is super-useful. It also works for truncatewords. In my case, I needed the parent folder in a page path, and your tip helped me get to {{ page.path | replace: "/", " " | truncatewords: 1, "" }}.

@spbnick

This comment has been minimized.

Show comment
Hide comment
@spbnick

spbnick Jun 10, 2016

Owner

@arthurattwell You're welcome! I needed it for a similar purpose, also.

Owner

spbnick commented Jun 10, 2016

@arthurattwell You're welcome! I needed it for a similar purpose, also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment