Skip to content

Instantly share code, notes, and snippets.

View nolds9's full-sized avatar
๐ŸŽ“
Always learning

Nicholas Olds nolds9

๐ŸŽ“
Always learning
  • Freelance
  • Austin, TX
View GitHub Profile
@nolds9
nolds9 / html_boilerplate.bash
Created February 17, 2016 21:26 — forked from jblakeman/html_boilerplate.bash
HTML Boilerplate Generator
# Output HTML boilerplate code to a file name specified by the first argument
# If no arguments are provided, outputs to index.html
# example:
# html_boilerplate example.html
html_boilerplate() {
local name="$1"
if [[ $name ]]; then
[[ $name != *.html ]] && name+=.html