Skip to content

Instantly share code, notes, and snippets.

👋
Coding

Zander Martineau mrmartineau

👋
Coding
Block or report user

Report or block mrmartineau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mrmartineau
mrmartineau / section-module.mustache
Created Jan 20, 2017
From my blog post: Creating dynamic layouts with Jekyll Raw
View section-module.mustache
<section class="section{%if include.spaced %} section--spaced{% endif %}{%if include.padded %} section--padded{% endif %}{%if include.classes %} {{ include.classes }}{% endif %}{%if include.centred %} section--centred{% endif %}" style="{%if include.color %}color: {{ include.color }};{% endif %}{%if include.bgcolor %}background-color: {{ include.bgcolor }};{% endif %}">
<div class="l-container{%if include.size %} l-container--{{ include.size }}{% endif %}">
{% if include.title %}
<h3 class="h3">{{ include.title }}</h3>
{% endif%}
{{ include.body | markdownify }}
{% if include.link %}
<a href="{{ include.href }}" rel="external">{{ include.link }}</a>
{% endif %}
</div>
@mrmartineau
mrmartineau / front-matter.yml
Last active Jan 20, 2017
From my blog post: Creating dynamic layouts with Jekyll
View front-matter.yml
# ------------ #
# Main content #
# ------------ #
partials:
- name: section-video
id: 183025668
spaced: true
- name: section
title: A wide-ranging audience. One unifying idea.
body: |
@mrmartineau
mrmartineau / for-loop.mustache
Last active Jan 20, 2017
From my blog post: Creating dynamic layouts with Jekyll
View for-loop.mustache
{% for item in page.partials %}
{% include {{item.name}}.html
spaced=item.spaced
padded=item.padded
src=item.src
title=item.title
body=item.body
link=item.link
href=item.href
gutter=item.gutter
@mrmartineau
mrmartineau / Colour-scheme.mustache
Last active Jan 20, 2017
Creating dynamic layouts with Jekyll
View Colour-scheme.mustache
<style>
.hero {
background-color: {{ page.style.color.primary }};
color:{{ page.hero.color }};
background-image: url({{ site.assets.imgPath }}{{ page.hero.bg }}?w=500&{{ site.assets.params }});
}
.hero-title {
color: {{ page.hero.color }};
}
View node-sass.log
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
> tmwsite@0.1.0 preinstall C:\BuildAgent\work\33aa7c45146a0267\source
> bundle install
DL is deprecated, please use Fiddle
Using colorator 1.1.0
Using ffi 1.9.14
@mrmartineau
mrmartineau / cloudSettings
Last active Nov 18, 2018
VS Code settings
View cloudSettings
{"lastUpload":"2017-03-24T23:22:48.050Z","extensionVersion":"v2.6.1"}
@mrmartineau
mrmartineau / .bash_profile
Last active Oct 29, 2016
Bash-it settings
View .bash_profile
#!/usr/bin/env bash
# Path to the bash it configuration
export BASH_IT="/Users/mrmartineau/.bash_it"
# Lock and Load a custom theme file
# location /.bash_it/themes/
export BASH_IT_THEME='zander'
# (Advanced): Change this to the name of your remote repo if you
View icons.scss
// 3rd party brand colors - find more at brandcolors.net
$color-twitter : #55acee;
$color-facebook : #3b5998;
$color-youtube : #cd201f;
$color-pinterest : #bd081c;
$color-instagram : #e4405f;
$color-whatsapp : #25D366;
.socialCTA {
background-color: rgba(#fff, .2);
@mrmartineau
mrmartineau / markup.html
Last active Sep 9, 2016
Simple Video player
View markup.html
<div class="video">
<video poster="video-poster.png" controls>
<source src="video.mp4" type="video/mp4">
Your browser does not support the <code>video</code> element.
<img src="video-poster.png" alt="launch video" />
</video>
</div>
View kickoff-readme.md

Kickoff

A lightweight front-end framework for creating scalable and performant, responsive sites

devDependency Status Build status Dependency Status XO code style Commitizen friendly bitHound Overall Score

Developed and maintained by [Ashley Nolan](https://gith

You can’t perform that action at this time.