Skip to content

Instantly share code, notes, and snippets.

View growdigital's full-sized avatar
🏠
Working from home

Jake Rayson growdigital

🏠
Working from home
View GitHub Profile
@growdigital
growdigital / characters-in-a-circle-css.html
Created September 7, 2018 19:19
Characters in a circle
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Characters in a circle</title>
<style>
body {
font-family: sans-serif;
☁ templates [master] yarn start
yarn run v1.6.0
$ gulp build:local && gulp serve & gulp watch
[23:16:54] Using gulpfile ~/Sites/templates/gulpfile.js
[23:16:54] Starting 'watch'...
[23:16:54] Using gulpfile ~/Sites/templates/gulpfile.js
[23:16:54] Starting 'build:local'...
[23:16:54] Starting 'clean-build'...
[23:16:54] 'clean-build' errored after 37 ms
[23:16:54] Error: File not found with singular glob: /Users/growdigital/Sites/templates/dist (if this was purposeful, use `allowEmpty` option)
{
"Hugo figure": {
"prefix": "gofig",
"body": [
"{{< figure src=\"$1\" alt=\"$2\" caption=\"$3\" >}}",
"$4"
],
"description": "Hugo figure shortcode"
}
}
@growdigital
growdigital / markdown.json
Last active January 2, 2018 21:56
Groundwork Visual Studio Code User Snippets for post & status templates
{
// prettier-ignore
"Post template": {
"prefix": "fmp",
"body": [
"---",
"title: $1",
"excerpt: $2",
"datePublished: $3",
"image: $4",
@growdigital
growdigital / frontmatter.json
Last active October 2, 2017 15:39
Frontmatter Textastic template
{
"uuid": "3EA16C71-F1F2-4F51-9B91-CFEAA2A7D5B3",
"category": "Markdown",
"templates": [
{
"name": "Frontmatter",
"fileExtension": "md",
"snippet": "---\ntitle: ${1:untitled}\ndate: ${2:DATE}\nlayout: post.hbs\ncollections: posts\ndraft: true\ndesc: $3\n\n---\n\n"
}
]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@growdigital
growdigital / toothpaste-colors.less
Created September 22, 2017 14:16
Toothpaste theme colors
// This file defines all the colours used in the Toothpaste theme.
// Gray
@gray: #C5C5C0;
// Blue-Grays
@blue-gray-light: #DAE3E8;
@blue-gray-dark: #465E68;
@blue-gray-darkest: #222E33;
@growdigital
growdigital / frontmatter.sublime-snippet
Created September 15, 2017 10:14
Sublime Text Frontmatter snippet for Metalsmith blog posts
<snippet>
<content><![CDATA[
---
title: $1
date: ${2:2017-04-01}
layout: post.hbs
collections: posts
draft: true
---
@growdigital
growdigital / html.html
Created July 13, 2017 14:22
All HTML elements. Well, most of them…
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML by Adam Morse, mrmrs.cc</title>
</head>
<body>
<header>
<h1>HTML</h1>