Skip to content

Instantly share code, notes, and snippets.

@beckysoll
beckysoll / template.html
Created November 15, 2017 19:23
using infinite scroll in a statamic collection/entries loop
{{ entries limit='6' paginate='true' as='articles' }}
<div class="items-wrap">
{{ if show_title=='true' }}
<h2 class="group-title"><a href="{{ url }}">{{ title }}</a></h2>
{{ /if }}
<div class="items">
{{ articles }}
@beckysoll
beckysoll / Support Lincoln Center Website Elements
Created March 26, 2015 15:59
Support Lincoln Center Website Elements
#**Support Lincoln Center** Website Elements
Character counts given are maximums, shorter is always ok.
##Hero Slider
On Homepage & Giving Channel Pages
####Image
- **Desktop Image Size:** 3840px × 2160px
- **Mobile Image Size:** 1125px × 820px
@beckysoll
beckysoll / gist:8409233a3d1ce0746585
Last active August 29, 2015 14:08
environments portion of AS config
_environments:
dev:
- 'http://localhost*'
- '*.dev'
- '*.dev:8888'
- '*.localip'
live:
- '*.com'
- '*.org'
staging:
@beckysoll
beckysoll / event-list.html
Created October 24, 2013 19:45
Is it possible to compare data from multiple rows of a grid, see if they are the same, and hide the duplicates?
<div id="event">
<ul class="menu-list__event">
{{entries:listing folder="events" show_future="yes" show_past="yes" conditions="venue:allen"}}
{{if total_results==!0}}
{{if first}}
<li class="{{venue}}">
<span class="menu-list-header">In the Allen Room</span>