Skip to content

Commit

Permalink
Port to Jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Feb 26, 2013
1 parent 5bd9c44 commit 2b245cd
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 31 deletions.
40 changes: 40 additions & 0 deletions .gitignore
@@ -0,0 +1,40 @@
# Ignore compiled docs
_site

# Numerous always-ignore extensions
*.diff
*.err
*.orig
*.log
*.rej
*.swo
*.swp
*.zip
*.vi
*~
*.sass-cache

# OS or Editor folders
.DS_Store
._*
Thumbs.db
.cache
.project
.settings
.tmproj
*.esproj
nbproject
*.sublime-project
*.sublime-workspace

# Komodo
*.komodoproject
.komodotools

# Folders to ignore
.hg
.svn
.CVS
.idea
node_modules
dist
1 change: 1 addition & 0 deletions CNAME
@@ -0,0 +1 @@
getpreboot.com
4 changes: 4 additions & 0 deletions _config.yml
@@ -0,0 +1,4 @@
markdown: rdiscount
permalink: pretty
pygments: true
paginate: 5
40 changes: 40 additions & 0 deletions _layouts/default.html
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0, maximum-scale=1">
<link href="/public/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="http://gmpg.org/xfn/11" rel="profile">

<!-- // Less.js at the ready! -->
<link rel="stylesheet/less" type="text/css" media="all" href="style.less">
<script type="text/javascript" src="less-1.3.3.min.js"></script>
<script type="text/javascript" charset="utf-8">
less.env = "development";
less.watch();
</script>

<title>Preboot</title>

<!-- Google Webmaster Tools & Analytics -->
<meta name="google-site-verification" content="i2l3RBLrWFm3JY5fXIug2_83I6muZwPlIF5e4j13-o8" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-146052-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>

<body>

<div class="container">
{{ content }}
</div>

</body>
</html>
32 changes: 3 additions & 29 deletions index.html
@@ -1,30 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- // Less.js at the ready! -->
<link rel="stylesheet/less" type="text/css" media="all" href="style.less" />
<script type="text/javascript" src="less-1.3.3.min.js"></script>
<script type="text/javascript" charset="utf-8">
less.env = "development";
less.watch();
</script>
<title>Bootstrap.less by Mark Otto</title>
<!-- Google Webmaster Tools & Analytics -->
<meta name="google-site-verification" content="i2l3RBLrWFm3JY5fXIug2_83I6muZwPlIF5e4j13-o8" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-146052-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>

<body>
---
layout: default
---

<header>
<p><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.markdotto.com/2011/03/21/introducing-bootstrap/" data-count="horizontal" data-via="mdo">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></p>
Expand Down Expand Up @@ -340,5 +316,3 @@ <h2>Download</h2>
</p>
<p>Licensed under the <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons</a>.</p>
</footer>
</body>
</html>
4 changes: 2 additions & 2 deletions preboot.less
Expand Up @@ -51,7 +51,7 @@
// that are clearfixed.
// 2. The use of `table` rather than `block` is only necessary if using
// `:before` to contain the top-margins of child elements.
.clear_float() {
.clearfix() {
&:before,
&:after {
content: " "; // 1
Expand Down Expand Up @@ -183,7 +183,7 @@
color: @textColor;
font-size: @fontSize;
line-height: 20px;
.border-radius(@borderRadius);
border-radius: @borderRadius;
@shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.2), 0 1px 2px rgba(0,0,0,.25);
.box-shadow(@shadow);
&:hover {
Expand Down

0 comments on commit 2b245cd

Please sign in to comment.