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

Endless tries/loop #28

Open
vladyn opened this issue Mar 26, 2017 · 2 comments
Open

Endless tries/loop #28

vladyn opened this issue Mar 26, 2017 · 2 comments
Labels

Comments

@vladyn
Copy link

vladyn commented Mar 26, 2017

Hi there,
I'm trying to use the given example in my simple project, but when I run the gulp task I'm entering in end-less cycle if tries to include the block from content.html.

I have this:

gulp.task('extend', () => { gulp.src('index.html') .pipe(extender({annotations:true,verbose:true})) .pipe(gulp.dest('./extend/')); });

index.html

`<body>
<!-- @@placeholder= content -->
<!-- @@placeholder =footer -->
<!-- @@include footer.html {"foo":"bar"} -->
</body>`

content.html

`<!-- @@master  = index.html-->
<!-- @@block  =  content-->
<main>
    my content
</main>
<!-- @@close-->
<!-- @@block  =  footer-->
<footer>
    my footer
</footer>
<!-- @@close-->`

footer.html

`<!-- @@master  = index.html-->
<!-- @@block  =  footer-->
<footer>
    my footer
</footer>
<!-- @@close-->`

and I'm getting this
Screenshot

@vladyn
Copy link
Author

vladyn commented Apr 5, 2017

It doesn't work for me. At leaser following the example code.

@FrankFang
Copy link
Owner

Sorry for that. I'll look into it.

@FrankFang FrankFang added the bug label Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants