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

Added permalink strategies for taxonomies #175

Merged
merged 1 commit into from Nov 8, 2014
Merged

Added permalink strategies for taxonomies #175

merged 1 commit into from Nov 8, 2014

Conversation

WyriHaximus
Copy link
Member

With permalink strategies the URL of taxonomies can be altered in a way suited to the wished of the site/blog author.

Example configuraton of app/config/sculpin_kernel.yml:

sculpin_content_types:
    posts:
        taxonomies:
            - tags
            - name: categories
              strategies:
                - \Sculpin\Contrib\Taxonomy\PermalinkStrategy\ConvertToLowercaseStrategy
                - \Sculpin\Contrib\Taxonomy\PermalinkStrategy\TranslateSpacesToDashesStrategy

Looking for more strategy ideas to add before this is merged so we can give users a good selection.

simensen added a commit that referenced this pull request Nov 8, 2014
Added permalink strategies for taxonomies
@simensen simensen merged commit 21d00db into sculpin:master Nov 8, 2014
@simensen
Copy link
Member

simensen commented Nov 8, 2014

Let's call this good for now! Thanks @WyriHaximus! We can come up with other strategies. Would you like to document this on scupin.io as well? :)

The docs need so much work. Not even sure where this would fit. I guess on the configuration section for custom content types?

@WyriHaximus
Copy link
Member Author

Thanks!

Yes sir since I put most of this in that section of the code. Will be adding this to the docs soon :).

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

Successfully merging this pull request may close these issues.

None yet

2 participants