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

Add Context#include #973

merged 1 commit into from Nov 4, 2016


None yet
1 participant
Copy link

commented Nov 3, 2016

This adds Context#include, which makes it possible to call include directly from the shell command:

% bundle exec nanoc shell
Loading site… done
> include Nanoc::Helpers::HTMLEscape
=> #<Class:…>
> link_to 'not where you want to go', @items['/404.*']
=> "<a href=\"/404.html\">not where you want to go</a>"

@ddfreyne ddfreyne modified the milestone: 4.3.8 Nov 4, 2016

@ddfreyne ddfreyne merged commit c12a256 into master Nov 4, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@ddfreyne ddfreyne deleted the shell-include-helper branch Nov 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.