Skip to content

Instantly share code, notes, and snippets.

View timkelty's full-sized avatar

Tim Kelty timkelty

View GitHub Profile
{!-- Page --}
{exp:stash:cache
parse_stage="both"
}
{exp:channel:entries
limit="1"
require_entry="yes"
disable="categories|category_fields|member_data|pagination|trackbacks"
}
{stash:embed
{
"require": {
"fusionary/ee2-bootstrap": "1.9.*@dev",
"croxton/stash": "@dev"
},
"repositories": [
{
"type": "vcs",
"url": "https://bitbucket.org/fusionary/ee2-bootstrap-composer-package.git"
},
@timkelty
timkelty / default.html
Last active August 29, 2015 13:56
Stash nocache issue
{exp:stash:cache
context="{structure:page:entry_id}"
}
{stash:embed
name="layouts/default"
}
{exp:channel:entries
limit="1"
require_entry="yes"
disable="categories|category_fields|member_data|pagination|trackbacks"
/**
* Prefix classes per breakpoint (e.g. .v2-Grid--2col)
* https://github.com/suitcss/grid-layouts
*/
$breakpoint-prefix-default-map: (
"sm": max-width 25em,
"md": 25em,
"lg": 50em,
) !default;
# Apache Server Configs v2.3.0 | MIT License
# https://github.com/h5bp/server-configs-apache
# (!) Using `.htaccess` files slows down Apache, therefore, if you have access
# to the main server config file (usually called `httpd.conf`), you should add
# this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html.
# ##############################################################################
# # CROSS-ORIGIN RESOURCE SHARING (CORS) #
# ##############################################################################
row_id|=|454|&|label|=|What to See|&|url_title|=|what-to-see|&|content|=|<p>The 132-acre grounds may take up to two, four, or eight hours to walk through depending on what you choose to explore. With a large variety of art and plants, Meijer Gardens has something to pique any interest. <a href="/explore/">Explore some of the many great highlights we have to offer</a>.</p>
<div class="ExploreSplash"><a href="/explore"><span class="Button Button--default">Begin Exploring Highlights</span></a></div>|&|show_hdg|=|yes|+|row_id|=|495|&|label|=|Shop & Eat|&|url_title|=|shop-eat|&|content|=|__NULL__|&|show_hdg|=|yes|+|row_id|=|46|&|label|=|Groups & Tours|&|url_title|=|groups-tours|&|content|=|<p>An exciting day-long excursion for groups, Meijer Gardens offers a variety of experiences including guided tours year-round and comfortable tram tours of the outdoor grounds (daily, except in January and February).</p>|&|show_hdg|=|yes|+|row_id|=|51|&|label|=|Hours & Rates|&|url_title|=|hours-rates|&|content|=|<div class="Gr
{% set getEvents = craft.entries.section('taproomEvent').search('posterImage:*').order('eventDate').find() %}
{% set events = [] %}
{% set assets = [] %}
{% for event in getEvents %}
{% set img = event.posterImage.first() %}
{% set assets = assets | merge([{
"path" : img.url,
# This is a basic VCL configuration file for varnish. See the vcl(7)
# man page for details on VCL syntax and semantics.
#
# Default backend definition. Set this to point to your content
# server.
#
# Switch to 8080 when we go live.
backend default {
.host = "127.0.0.1";