Add hasPrefix template function. #1243

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
@colinbate
Contributor

colinbate commented Jul 2, 2015

I found this function necessary when working on an archive page for a static site last year. I figured others might find it useful.

@colinbate

This comment has been minimized.

Show comment
Hide comment
@colinbate

colinbate Jul 2, 2015

Contributor

Looking at the new documentation, the GroupBy functionality should do what I need now, but I'll have to have a play around to see.

Contributor

colinbate commented Jul 2, 2015

Looking at the new documentation, the GroupBy functionality should do what I need now, but I'll have to have a play around to see.

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Jul 9, 2015

Member

@colinbate did the GroupBy support your use case?

Member

bep commented Jul 9, 2015

@colinbate did the GroupBy support your use case?

@colinbate

This comment has been minimized.

Show comment
Hide comment
@colinbate

colinbate Jul 10, 2015

Contributor

I haven't tried switching out to use GroupBy yet, although I suspect that will be useful. What I was able to use was the where template function (along with some metadata tweaks) to avoid using hasPrefix.

Contributor

colinbate commented Jul 10, 2015

I haven't tried switching out to use GroupBy yet, although I suspect that will be useful. What I was able to use was the where template function (along with some metadata tweaks) to avoid using hasPrefix.

@bep bep referenced this pull request Aug 22, 2015

Closed

Add hasPrefix function #1366

@spf13

This comment has been minimized.

Show comment
Hide comment
@spf13

spf13 Jan 2, 2016

Contributor

Merged as 2e92f36

Contributor

spf13 commented Jan 2, 2016

Merged as 2e92f36

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