Skip to content

Instantly share code, notes, and snippets.

❯ ./craft update craft
Fetching available updates ... done
Performing one update:
- craft 3.1.17.1 => 3.1.17.2
Backup the database? (yes|no) [yes]:no
Skipping database backup.
Performing update with Composer ... error: An error occurred
helpers do
def dev_pages(dir)
sitemap.resources.select do |resource|
resource.path.start_with?(dir) && resource.parent == nil && resource.data.archive != true && resource.data.published != false #&& resource.metadata[:options][:layout] == 'developments'
end.sort_by { |resource| resource.data.order || 9999 }
end
end
@iparr
iparr / _mixin_placeholder-color.scss
Created September 12, 2013 21:16 — forked from martinwolf/_mixin_placeholder-color.scss
Updated to provide new Firefox (19+) support.
@mixin placeholder($color) {
&::-webkit-input-placeholder {
color: $color;
}
&:-moz-placeholder {
color: $color;
}
&::-moz-placeholder {
color: $color;
}
@iparr
iparr / gist:1373770
Created November 17, 2011 17:07
testgist
test
@iparr
iparr / mega_dropdown.css
Created November 26, 2010 09:52
WIP: Mega dropdown with in-dropdown rollovers called from the footer
ul#productNav {
font-size:1.0em;
/*font-weight:bold;*/
margin:0 auto;
padding:0;
width:960px;
}
ul#productNav li {
background:none;
display:inline;
@iparr
iparr / call_to_action_h2_links.css
Created November 26, 2010 09:33
All encompassing single link h2 call to actions (w/ sexy hover transition)