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 swigRaw option #48

Closed
wants to merge 2 commits into from
Closed

Add swigRaw option #48

wants to merge 2 commits into from

Conversation

mixonic
Copy link

@mixonic mixonic commented Aug 23, 2017

Writers may not want their HTML to be processed by the swig templating system that hexo applies to HTML by default. Offer an option to disable swig from template via the {% raw %} tag.

@coveralls
Copy link

coveralls commented Aug 23, 2017

Coverage Status

Coverage increased (+1.001%) to 88.235% when pulling e5d0fc9 on mixonic:swig-raw into 48ad7ad on hexojs:master.

@NoahDragon
Copy link
Member

Could you please fix the travis ci errors?

Writer may not want their HTML to be processed by the swig templating
system that hexo applies to HTML by default. Offer an option to disable
swig from template via the {% raw %} tag.
@coveralls
Copy link

coveralls commented Aug 23, 2017

Coverage Status

Coverage increased (+1.001%) to 88.235% when pulling 311365b on mixonic:swig-raw into 944fa64 on hexojs:master.

@mixonic
Copy link
Author

mixonic commented Aug 23, 2017

@NoahDragon all good!

@NoahDragon
Copy link
Member

Great, Thanks. LGTM.

@stevenjoezhang
Copy link
Member

stevenjoezhang commented Apr 21, 2020

Relevant PR hexojs/hexo#2593

Actually the {% raw %} tag is not recommended

@curbengh
Copy link
Contributor

curbengh commented Sep 3, 2020

Superseded by #166

@curbengh curbengh closed this Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants