Permalink
Browse files

added bash file

  • Loading branch information...
1 parent 24337cd commit edd33710ea2d4da4e763a7dc3e0b4bc051f7ad47 Stuart committed Nov 1, 2012
Showing with 39 additions and 33 deletions.
  1. +2 −2 README.md
  2. +34 −31 index.html
  3. +3 −0 miniplate
View
@@ -1,7 +1,7 @@
-miniplate
+Miniplate
=========
-A basic html file to be used as a starting point for quick experiments.
+A basic HTML file to be used as a starting point for quick experiments. Includes bash script to be able to create HTML file from any directory.
Includes CDN links to:
View
@@ -1,35 +1,38 @@
<!doctype html>
-<meta charset="utf-8"/>
-<title></title>
+<html>
+ <head>
+ <meta charset="utf-8"/>
+ <title>Miniplate</title>
+ <style>
+ html {
+ background: #eee;
+ font-family: Arial, sans-serif;
+ }
-<style>
- html {
- background: #eee;
- font-family: Arial, sans-serif;
- }
+ h1 {
+ font-family: Georgia, serif;
+ }
- h1 {
- font-family: Georgia, serif;
- }
+ div.container {
+ margin: 120px auto;
+ width: 600px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="container">
+ <h1>Hi there!</h1>
+ <p class="icon">Welcome friend.</p>
+ </div>
- div.container {
- margin: 120px auto;
- width: 600px;
- }
-</style>
-
-<div class="container">
- <h1>Hi!</h1>
- <p>How are you?</p>
-</div>
-
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
-<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js"></script>
-<script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
-<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.2/backbone-min.js"></script>
-
-<script>
- $(function () {
- console.log('ready for action!');
- });
-</script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.2/backbone-min.js"></script>
+ <script>
+ $(function () {
+ console.log('Ready for action!');
+ });
+ </script>
+ </body>
+</html>
View
@@ -0,0 +1,3 @@
+#!/bin/bash
+cp ~/Projects/miniplate/index.html .
+echo 'Miniplate created'

0 comments on commit edd3371

Please sign in to comment.