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

Including files from within _includes does not work #180

Closed
hexa2k9 opened this Issue Jun 24, 2010 · 4 comments

Comments

Projects
None yet
3 participants
@hexa2k9

hexa2k9 commented Jun 24, 2010

I'm including some files from within _includes directory which does not work properly.

e.g. I'm writing a version file (_source/_includes/GIT-VERSION-FILE) every time I build the site which is included from _source/_includes/headmeta.inc.html and _source/_includes/footer.inc.html

Now if I build the site I'm getting an error "Liquid error: No such file or directory - _source/_includes"

If I create the path _source/_includes/_source/_includes and put my version file in there it's just being included as expected.

It was working fine with jekyll 0.5.7 up to commit a4f3f5c (the last version I've installed on my production server)

@mojombo

This comment has been minimized.

Contributor

mojombo commented Jun 25, 2010

What is the exact include tag that you're using in each case?

@hexa2k9

This comment has been minimized.

hexa2k9 commented Jun 25, 2010

I'm using {% include GIT-VERSION-FILE %} in both cases (footer.inc.html & headmeta.inc.html)

@hexa2k9

This comment has been minimized.

hexa2k9 commented Jun 25, 2010

Just found a "fix" on a previous commit (b1a055f) which did fix #104. Modified that one line in jekyll/lib/jekyll/site.rb and it works again as expected. it might actually break other things (which I didn't test) but this thing should be fixed with it.

@mojombo

This comment has been minimized.

Contributor

mojombo commented Jun 25, 2010

Expand source, destination, and plugin paths. Closed by 1c3fedb.

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017

This issue was closed.

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