{layout='layouts/_html-wrapper'} {!-- page vars (prefix p_) --} {preload_replace:p_url='blog'} {preload_replace:p_url_entry='entry'} {!-- channel vars (prefix ch_) --} {preload_replace:ch='blog'} {preload_replace:ch_disable='category_fields|member_data'} {layout:set name='scripts'}{/layout:set}
{!-- slideshow images from a specific directory, and category --} {exp:file:entries directory_id='7' dynamic='no' limit='5' disable='pagination' category='not 25'} {file_name:attr_safe} {if count == 1}
{/if} {/exp:file:entries}

Recent Blog Posts All Posts

{exp:channel:entries channel='{ch}' disable='{ch_disable}' limit='4'} {!-- listing as a snippet, as it's used through more than one template --} {snp_blog_list} {!-- no results --} {if no_results}

{gv_entries_none}

{/if} {/exp:channel:entries}
{!-- using the offset='' parameter here to start the listing on the 5th item. which allows us to split it into two columns without any wonky math --} {exp:channel:entries channel='{ch}' disable='{ch_disable}' limit='4' offset='4'} {!-- listing as a snippet, as it's used through more than one template --} {snp_blog_list} {!-- no results --} {if no_results}

{gv_entries_none}

{/if} {/exp:channel:entries}