This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const squareImage = graphql` | |
fragment squareImage on File { | |
childImageSharp { | |
fluid(maxWidth: 520, maxHeight: 400) { | |
...GatsbyImageSharpFluid | |
} | |
} | |
} | |
`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend default { | |
.host = "127.0.0.1"; | |
.port = "8080"; | |
} | |
acl purge { | |
"127.0.0.1"; | |
"localhost"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Top_Bar_Walker extends Walker_Nav_Menu { | |
function start_lvl( &$output, $depth = 0, $args = array() ) { | |
$output .= "\n<ul class=\"sub-menu dropdown\">\n"; | |
} | |
function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) { | |
$item_html = ''; | |
parent::start_el( $item_html, $object, $depth, $args ); | |
$output .= ( $depth == 0 ) ? '<li class="divider"></li>' : ''; |
NewerOlder