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

Three dots are prepended to snippets. #12

Open
sanex3339 opened this issue Feb 27, 2025 · 2 comments · May be fixed by #13
Open

Three dots are prepended to snippets. #12

sanex3339 opened this issue Feb 27, 2025 · 2 comments · May be fixed by #13

Comments

@sanex3339
Copy link

sanex3339 commented Feb 27, 2025

Hello.

This plugin prepends 3 dots (...) to all snippets.

https://github.com/flant/jekyll_include_plugin/blob/master/lib/jekyll_include_plugin/utils.rb#L46

Can we avoid this behavior?

It was added here:
383f69a

@sanex3339 sanex3339 changed the title Three dots are added prepended to snippets. Three dots are prepended to snippets. Feb 27, 2025
@sanex3339 sanex3339 linked a pull request Feb 28, 2025 that will close this issue
@ilya-lesikov
Copy link
Member

Hello, we won't change the current behavior, but option to configure this can be added. Probably its best to add a global option in _config.yml, probably with the ... default? PRs are welcome.

@ilya-lesikov
Copy link
Member

To clarify, this was done to differentiate whole file includes vs partial file includes (snippets). Worked for us.

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 a pull request may close this issue.

2 participants