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

Yaml definitions on Handlebars files #240

Open
Lukas238 opened this issue Oct 1, 2019 · 1 comment

Comments

@Lukas238
Copy link

commented Oct 1, 2019

The bug

I have a handlebar file with YAML declarations on top.

---
layout: default
page_id: upgrades
body_css: page-upgrades
---
<section id="content">
    <article>
        <h2>Title</h2>
        <p>Lorem ipsum dolo sit amet.</p>
    </article>
</section>

After I beautify it the YAML declaration is modified:

-- -layout : default
page_id : upgrades
body_css : page - upgrades
-- - <section id="content">
    <article>
        <h2>Title</h2>
        <p>Lorem ipsum dolo sit amet.</p>
    </article>
</section>

System (please complete the following information):

  • OS: macOS
  • Version: Mojave

Additional information:
This way to include YAML in a handlebar file is part of the workflow of https://assemble.io/ gulp static site generator.

@issue-label-bot

This comment has been minimized.

Copy link

commented Oct 1, 2019

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.78. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug label Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.