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
#!/bin/sh | |
# | |
# Server-side hook for running scripts associated with auto deployments. | |
# | |
# Reference: | |
# http://nicolasgallagher.com/simple-git-deployment-strategy-for-static-sites/ | |
# https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks | |
# | |
# To enable this hook, rename this file to "post-receive". |
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
// Updated gulpfile for the following article: https://www.smashingmagazine.com/2018/07/pattern-library-first-css/ | |
'use strict'; | |
const gulp = require('gulp'); | |
const fractal = require('./fractal.js'); | |
const logger = fractal.cli.console; | |
const sass = require('gulp-sass'); | |
const sassGlob = require('gulp-sass-glob'); | |
const plumber = require('gulp-plumber'); |
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
^(?:[\t ]*(?:\r?\n|\r))+ |
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
<!-- Paste this into the code block of a HTML email. --> | |
<table align="center" border="0" cellpadding="0" cellspacing="0" width="600" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;table-layout: fixed;margin 0px auto;width:100%;"> | |
<tbody> | |
<tr> | |
<td align="center"> | |
<style type="text/css"> | |
.btn a { | |
display: inline-block; | |
background-color: #00add2; |
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
<!-- Ref: https://litmus.com/blog/the-little-known-preview-text-hack-you-may-want-to-use-in-every-email --> | |
<p style="display:none;">Your beautiful preview text prose goes here. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ & |