]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Adds HTML Starter Template - Fixes #7783
authorAndrew Biddinger <andrewbiddinger@gmail.com>
Wed, 6 Jan 2016 16:18:34 +0000 (11:18 -0500)
committerAndrew Biddinger <andrewbiddinger@gmail.com>
Wed, 6 Jan 2016 16:18:34 +0000 (11:18 -0500)
docs/pages/installation.md

index b1adaabda048e19cfe2eac06b0bb44a1b93cc815..47d3b363bd63f1b597cba4f052411ca70b72ace5 100644 (file)
@@ -85,6 +85,35 @@ If you aren't into Sass, we have a starter template with compiled CSS and JavaSc
 
 ---
 
+## HTML Starter Template
+Start with this HTML template and adapt it to your needs.
+
+```html
+<!doctype html>
+<html class="no-js" lang="en">
+  <head>
+    <meta charset="utf-8" />
+    <meta http-equiv="x-ua-compatible" content="ie=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <title>Foundation Starter Template</title>
+    <link rel="stylesheet" href="css/foundation.css" />
+  </head>
+  <body>
+    <h1>Hello, world!</h1>
+    
+    <script src="js/vendor/jquery.min.js"></script>
+    <script src="js/foundation.min.js"></script>
+    <script>
+      $(document).foundation();
+    </script>
+
+  </body>
+</html>
+
+```
+
+---
+
 ## CDN Links
 
 The folks at [jsDelivr](https://www.jsdelivr.com) host the compressed Foundation CSS and JavaScript for us. Just drop one of these `<script>` tags into you're HTML and you're set: