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
Open

Yaml definitions on Handlebars files #240

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

Comments

@Lukas238
Copy link

Lukas238 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
Copy link

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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant