view tests/bakes/test_linker.yaml @ 402:043b9d8304c7 2.0.0a11

linker: Fix linker returning the wrong value for `is_dir` in some situations.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 18 May 2015 23:45:51 -0700
parents 8e1e55ad35fb
children 27b10024f8d8
line wrap: on
line source

---
in:
    pages/foo.md: |
        {%for c in family.children%}
        {{c.title}}
        {%endfor%}
outfiles:
    foo.html: ''
---
in:
    pages/foo.md: |
        {%for c in family.children-%}
        {{c.title}}
        {%endfor%}
    pages/foo/one.md: |
        ---
        title: One
        ---
    pages/foo/two.md: |
        ---
        title: Two
        ---
outfiles:
    foo.html: |
        One
        Two
---
in:
    pages/foo.md: |
        ---
        title: Foo
        ---
        {%for c in family.siblings-%}
        {{c.title}}{%if c.is_self%} SELFIE!{%endif%}
        {%endfor%}
    pages/bar.md: |
        ---
        title: Bar
        ---
    pages/other.md: |
        ---
        title: Other
        ---
outfiles:
    foo.html: |
        Bar
        Foo SELFIE!
        Other