Created
August 14, 2012 21:35
-
-
Save objectivehtml/3353241 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {exp:stash:set_value name="page_title" value="News"} | |
| {exp:stash:set name="page_content"} | |
| <section class="section grey-texture"> | |
| <div class="row"> | |
| <div class="nine columns"> | |
| <h1>Blog and News</h1> | |
| {if segment_3} | |
| <h4>{segment_4}/{segment_3}</h4> | |
| {/if} | |
| <ul class="block-grid three-up news"> | |
| {exp:channel:entries | |
| channel="news" | |
| disable="member_data|categories|category_fields|pagination" | |
| month="{segment_4}" | |
| year="{segment_3}" | |
| status="not closed" | |
| } | |
| <li> | |
| <a href="/news/article/{url_title}"><img src="{news_photo}" alt="Photo of {title}" /></a> | |
| <h3><a href="/news/article/{url_title}">{title}</a></h3> | |
| {news_excerpt} | |
| </li> | |
| {/exp:channel:entries} | |
| </ul> | |
| </div> | |
| <div class="three columns"> | |
| {if segment_3} | |
| <a href="/news" class="back"><span class="icon-circle-arrow-left"></span> Latest Articles</a> | |
| {if:else} | |
| <a href="/" class="back"><span class="icon-circle-arrow-left"></span> Back to Home</a> | |
| {/if} | |
| {stash:embed name="objects:news_archives"} | |
| </div> | |
| </div> | |
| </section> | |
| {/exp:stash:set} | |
| {stash:embed name="structure:header"} | |
| {stash:embed name="structure:footer"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment