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

Shortcode.Scratch should be the shortcode's #2000

Closed
bep opened this Issue Mar 21, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@bep
Member

bep commented Mar 21, 2016

See https://discuss.gohugo.io/t/equivalent-to-jekyll-octopress-theme-named-cleanpress/2953/4

This works fine today, but may break in the future if we decide to do parallel shortcode processing.

A shortcode should have its own Scratch. If you want to use Page's Scratch it's easy via .Page.Scratch. This is a slight change in the behaviour, so maybe a one-time-warning in the log would be in order.

bep added a commit to bep/hugo that referenced this issue Mar 21, 2016

@spf13 spf13 closed this in 048e074 Mar 22, 2016

tychoish added a commit to tychoish/hugo that referenced this issue Aug 13, 2017

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