drush core-quick-drupal --core=drupal d8 gesso
drush runserver
| module.exports = function (grunt) { | |
| grunt.config.merge({ | |
| browserSync: { | |
| dev: { | |
| bsFiles: { | |
| src : ['<%= pkg.themePath %>/css/pattern-lab.css', | |
| '<%= pkg.themePath %>/pattern-lab/public/latest-change.txt' | |
| ] | |
| }, | |
| options: { |
| /** | |
| To use (WIP): | |
| - Create a Taoxnomy term called Suggestions | |
| - Populate with terms for what you may want to use in the template | |
| - Add the field to whatever content types (i.e. Listing or Landing content type) | |
| - Create a .theme function to look for the field and content type | |
| Example: | |
| https://github.com/forumone/CBCNY/blob/6d3f9c2c808f5fbc5eee1c08fa4bcd5545298101/web/themes/cbcny_theme/cbcny_theme.theme | |
| **/ |
| [alias] | |
| # Usage: 'git find helloWorld' | |
| # Source: http://stackoverflow.com/a/7125014/4114265 | |
| find = log --all --pretty=\"format:%Cgreen%H %C(bold blue)%s\n%b%Creset\" --name-status --grep | |
| // Add User-Agent info to HTML tag, example: | |
| // <html data-useragent="Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)"> | |
| function addUserAgent() { | |
| var doc = document.documentElement; | |
| doc.setAttribute('data-useragent', navigator.userAgent); | |
| } |
| // Connect: | |
| // Run http server to serve files | |
| // https://github.com/gruntjs/grunt-contrib-connect | |
| module.exports = function (grunt) { | |
| grunt.config.merge({ | |
| connect: { | |
| server: { | |
| options: { | |
| base: |
| http://codepen.io/ldavisrobeson/pen/WwjwOP |
| <h1>Panels Layout: Sidebar Right</h1> | |
| <!-- Using the .no-flexbox class added by Modernizr. --> | |
| <!--<div class="no-flexbox">--> | |
| <!-- <div class="layout-panels-sidebar-left">--> | |
| <!-- <div class="layout-preface">--> | |
| <!-- <h1>Preface Region</h1>--> | |
| <!-- <p>Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic.</p>--> | |
| <!-- <p>Gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini.</p>--> | |
| <!-- </div>--> |
| <h1>Panels Layout: Sidebar Right</h1> | |
| <!-- Using the .no-flexbox class added by Modernizr. --> | |
| <!--<div class="no-flexbox">--> | |
| <!-- <div class="layout-panels-sidebar-left">--> | |
| <!-- <div class="layout-preface">--> | |
| <!-- <h1>Preface Region</h1>--> | |
| <!-- <p>Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic.</p>--> | |
| <!-- <p>Gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini.</p>--> | |
| <!-- </div>--> |