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

Make asset tags accept nested liquid blocks #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Make asset tags accept nested liquid blocks #23

wants to merge 1 commit into from

Conversation

clee704
Copy link

@clee704 clee704 commented Mar 24, 2013

For example, the following code will work:

{% css_asset_tag global %}
  {% for path in page.stylesheets %}
    - {{ path }}
  {% endfor %}
{% endcss_asset_tag %}

I didn't included tests for this, since it seemed hard to write
such tests with the project's current test patterns. I made a small
change to a spec file just to make the current tests not fail.

For example, the following code will work:

    {% css_asset_tag global %}
      {% for path in page.stylesheets %}
        - {{ path }}
      {% endfor %}
    {% endcss_asset_tag %}

I didn't included tests for this, since it seemed hard to write
such tests with the project's current test patterns. I made a small
change to a spec file just to make the current tests not fail.
janosrusiczki added a commit that referenced this pull request Dec 14, 2017
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.

1 participant