Skip to content

Instantly share code, notes, and snippets.

View gist:3ef2a096cea7e2bdc99342dd9bf6dd44
❯ ./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
View middleman-helper-collection
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 Sep 12, 2013 — forked from martinwolf/_mixin_placeholder-color.scss
Updated to provide new Firefox (19+) support.
View _mixin_placeholder-color.scss
@mixin placeholder($color) {
&::-webkit-input-placeholder {
color: $color;
}
&:-moz-placeholder {
color: $color;
}
&::-moz-placeholder {
color: $color;
}
@iparr
iparr / mega_dropdown.css
Created Nov 26, 2010
WIP: Mega dropdown with in-dropdown rollovers called from the footer
View mega_dropdown.css
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 Nov 26, 2010
All encompassing single link h2 call to actions (w/ sexy hover transition)
View call_to_action_h2_links.css
You can’t perform that action at this time.