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

title_proc in blogging helper #42

Closed
denisdefreyne opened this issue May 21, 2018 · 1 comment
Closed

title_proc in blogging helper #42

denisdefreyne opened this issue May 21, 2018 · 1 comment

Comments

@denisdefreyne
Copy link
Member

The blogging helper currently has content_proc and excerpt_proc parameters, which can be used to transform the content and excerpt, respectively, that show up in the Atom feed.

It would be useful to also have title_proc, so that the title can be transformed as well. For example, it might be useful to add the date to the title.

th-h added a commit to th-h/nanoc that referenced this issue Oct 3, 2018
title_proc can be used to transform the title of each
item in an Atom feed, like content_proc or excerpt_proc
do for content or excerpt.

Closes nanoc/features#42

Signed-off-by: Thomas Hochstein <thh@inter.net>
@th-h
Copy link

th-h commented Oct 3, 2018

Looks like some easy copy & paste should solve that, see nanoc/nanoc#1362.

Works for me, but I'm not fluent enough in Ruby to add / expand the test suite ...

denisdefreyne pushed a commit to nanoc/nanoc that referenced this issue Oct 4, 2018
title_proc can be used to transform the title of each
item in an Atom feed, like content_proc or excerpt_proc
do for content or excerpt.

Closes nanoc/features#42

Signed-off-by: Thomas Hochstein <thh@inter.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants