Skip to main content

Activity

commented on page_tag
I want to style my Tag Detail template using a variable but it’s not working.
{% if page_tag.name == 'Tag' or page_tag.slug == 'tag' or post_tag.name == 'Tag' %}
    <div class="wrapper">
        <div class="columns_1_flash">{{ content_for_notifications }}</div>
    </div>
    {% yield %}
{% else %}


Is there a way to call a Page Template like you would do a Page Type? (sort of like this:)
{% if page.slug == 'home' or page.type_name == 'Blog Post' %}
    <div class="wrapper">
        <div class="columns_1_flash">{{ content_for_notifications }}</div>
    </div>
    {% yield %}
{% else %}


Since Page Templates don’t have slugs it’s hard to me to target a specific template. Thanks.
posted 2014-08-05 12:35:42 -0700
commented on page
This is what I have, but I want to target the User Settings page “signups_edit.html” and add it to the if statement so it displays that template.
{% if page.slug == 'home' or  page.slug == 'donate' %}
        <div class="wrapper">
                <div class="columns_1_flash">{{ content_for_notifications }}</div>
        </div>
        {% yield %}
{% else %}
   {% include 'features' %}
        <div class="content">
                <div class="wrapper">
                   <div class="columns_1_flash">{{ content_for_notifications }}</div>
                        {% yield %}
                </div>
        </div>
{% endif %}
posted 2014-07-15 06:51:15 -0700