Skip to content

Conversation

@zaigham
Copy link

@zaigham zaigham commented Jul 16, 2016

What does it do ?

Remove actual content from files if its a static element.

Why is it needed ?

Having content in 2 different places makes it problematic, once in yaml files, and then in actual static files. If developer forgets to extract and commit the yaml files, its a high chance that the build will mess things up.

Related issue(s)/PR(s)

n/a

@alroniks alroniks self-assigned this Jul 17, 2016
@alroniks
Copy link
Collaborator

After merging pull request you can use such syntax:

templates:
  class: modTemplate
  primary: templatename
  extension: .html
  exclude_keys:
    - content

@Mark-H
Copy link
Member

Mark-H commented Aug 4, 2016

Thanks @zaigham for the pull request. I think the proposed solution by @alroniks in #196 is a better way to achieve the same result, as it makes the behaviour configurable. Thanks for bringing it up!

@Mark-H Mark-H closed this Aug 4, 2016
Mark-H added a commit that referenced this pull request Jan 22, 2019
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 this pull request may close these issues.

3 participants