Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyerburgh committed Apr 21, 2016
0 parents commit 6eed854
Show file tree
Hide file tree
Showing 4,031 changed files with 382,275 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org

root = true

[*]
charset = utf-8
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Include your project-specific ignores in this file
# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files
1 change: 1 addition & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"></html><head><meta charset="utf-8"><title>404 Page Not Found</title><meta name="viewport" content="width=device-width, initial-scale=1"></head><body><h1>Page Not Found</h1><p>Sorry</p></body><!-- IE needs 512+ bytes: http://blogs.msdn.com/b/ieinternals/archive/2010/08/19/http-error-pages-in-internet-explorer.aspx-->
11 changes: 11 additions & 0 deletions 404.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
doctype html
html(lang="en")
head
meta(charset="utf-8")
title 404 Page Not Found
meta(name="viewport" content="width=device-width, initial-scale=1")
body
h1 Page Not Found
p Sorry

// IE needs 512+ bytes: http://blogs.msdn.com/b/ieinternals/archive/2010/08/19/http-error-pages-in-internet-explorer.aspx
12 changes: 12 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Free Public License 1.0.0

Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Pug Index Page Boilerplate

A Pug version of the HTML5 Boilerplate index.html

## Usage

Download to a folder and run grunt w to begin watching for changes to any .pug files.

Use to quickly start one page .pug projects

## Support

Please [open an issue](https://github.com/fraction/readme-boilerplate/issues/new) for support.

## Contributing

Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/fraction/readme-boilerplate/compare/).
Binary file added apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Please read: https://msdn.microsoft.com/en-us/library/ie/dn455106.aspx -->
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="tile.png"/>
<square150x150logo src="tile.png"/>
<wide310x150logo src="tile-wide.png"/>
<square310x310logo src="tile.png"/>
</tile>
</msapplication>
</browserconfig>
15 changes: 15 additions & 0 deletions crossdomain.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<!-- Read this: https://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->

<!-- Most restrictive policy: -->
<site-control permitted-cross-domain-policies="none"/>

<!-- Least restrictive policy: -->
<!--
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
-->
</cross-domain-policy>
Empty file added css/style.css
Empty file.
1 change: 1 addition & 0 deletions debug-404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"></html><head><meta charset="utf-8"><title>404 Page Not Found</title><meta name="viewport" content="width=device-width, initial-scale=1"></head><body><h1>Page Not Found</h1><p>Sorry</p></body><!-- IE needs 512+ bytes: http://blogs.msdn.com/b/ieinternals/archive/2010/08/19/http-error-pages-in-internet-explorer.aspx-->
4 changes: 4 additions & 0 deletions debug-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!DOCTYPE html><html lang="" class="no-js"><head><meta charset="utf-8"><meta><title>Page Title</title><meta name="description" content=""><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="apple-touch-icon" href="apple-touch-icon.png"><link rel="stylesheet" href="style.css"><script src="js/vendor/modernizr-2.8.3.min.js"></script></head><body><!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]
--><!-- Add your site or application content here--><p> Hello world! This is Pug Boilerplate</p><script src="https://code.jquery.com/jquery-{{JQUERY_VERSION}}.min.js"></script><script> window.jQuery || document.write('<script src="js/vendor/jquery-{{JQUERY_VERSION}}.min.js"><\/script>')</script><script src="js/plugins.js"></script><script js/main.js></script><!-- Google Analytics: change UA-XXXXX-Y to be your site's ID.--><script> window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date; ga('create','UA-XXXXX-Y','auto');ga('send','pageview')</script><script src="https://www.google-analytics.com/analytics.js" async defer></script></body></html>
Binary file added favicon.ico
Binary file not shown.
44 changes: 44 additions & 0 deletions gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
module.exports = function(grunt) {

// Project configuration.
grunt.initConfig({
pug: {
debug: {
options: {
data: {
debug: true
}
},
files: {
'debug-index.html': 'index.pug',
'debug-404.html' : '404.pug'
}
},
release: {
options: {
data: {
debug: false
}
},
files: {
'index.html': 'index.pug',
'404.html' : '404.pug'
}
}
},
watch: {
files: {
files: '**/*.pug',
tasks: ['pug'],
}
}
});

// Load the plugins
grunt.loadNpmTasks('grunt-contrib-pug');
grunt.loadNpmTasks('grunt-contrib-watch');

// Default task(s).
grunt.registerTask('default', ['pug'] );
grunt.registerTask('w', ['watch']);
};
15 changes: 15 additions & 0 deletions humans.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# humanstxt.org/
# The humans responsible & technology colophon

# TEAM

<name> -- <role> -- <twitter>

# THANKS

<name>

# TECHNOLOGY COLOPHON

CSS3, HTML5
Apache Server Configs, jQuery, Modernizr, Normalize.css
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!DOCTYPE html><html lang="" class="no-js"><head><meta charset="utf-8"><meta><title>Page Title</title><meta name="description" content=""><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="apple-touch-icon" href="apple-touch-icon.png"><link rel="stylesheet" href="style.css"><script src="js/vendor/modernizr-2.8.3.min.js"></script></head><body><!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]
--><!-- Add your site or application content here--><p> Hello world! This is Pug Boilerplate</p><script src="https://code.jquery.com/jquery-{{JQUERY_VERSION}}.min.js"></script><script> window.jQuery || document.write('<script src="js/vendor/jquery-{{JQUERY_VERSION}}.min.js"><\/script>')</script><script src="js/plugins.js"></script><script js/main.js></script><!-- Google Analytics: change UA-XXXXX-Y to be your site's ID.--><script> window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date; ga('create','UA-XXXXX-Y','auto');ga('send','pageview')</script><script src="https://www.google-analytics.com/analytics.js" async defer></script></body></html>
29 changes: 29 additions & 0 deletions index.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
doctype html
html(class="no-js" lang="")
head
meta(charset="utf-8")
meta()
title Page Title
meta(name="description" content="")
meta(name="viewport" content="width=device-width, initial-scale=1")

link(rel="apple-touch-icon" href="apple-touch-icon.png")
link(rel="stylesheet" href="style.css")
script(src="js/vendor/modernizr-2.8.3.min.js")
body
//
[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]
// Add your site or application content here
p Hello world! This is Pug Boilerplate

script(src="https://code.jquery.com/jquery-{{JQUERY_VERSION}}.min.js")
script window.jQuery || document.write('<script src="js/vendor/jquery-{{JQUERY_VERSION}}.min.js"><\/script>')
script(src="js/plugins.js")
script(js/main.js)
// Google Analytics: change UA-XXXXX-Y to be your site's ID.
script window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date; ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
script(src="https://www.google-analytics.com/analytics.js" async defer)
Empty file added js/main.js
Empty file.
24 changes: 24 additions & 0 deletions js/plugins.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Avoid `console` errors in browsers that lack a console.
(function() {
var method;
var noop = function () {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn'
];
var length = methods.length;
var console = (window.console = window.console || {});

while (length--) {
method = methods[length];

// Only stub undefined methods.
if (!console[method]) {
console[method] = noop;
}
}
}());

// Place any jQuery/helper plugins in here.
Loading

0 comments on commit 6eed854

Please sign in to comment.