-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commited working hem module and example
- Loading branch information
Brandon Orther
committed
Apr 2, 2012
1 parent
ff239f2
commit 95c7f93
Showing
19 changed files
with
49 additions
and
43 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
body { | ||
background: black; | ||
color: white; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<hr> | ||
<p>Goodbye!</p> | ||
<p>Footer :: Goodbye!</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
exports = | ||
module.exports = | ||
siteName: 'Example Site' | ||
pageName: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title><%= @title %>- <%= @pageName %></title> | ||
<title><%= @siteName %> - <%= @pageName %></title> | ||
<script src="/application.js" type="text/javascript" charset="utf-8"></script> | ||
<link rel="stylesheet" href="/application.css" type="text/css" media="screen" title="no title" charset="utf-8"> | ||
</head> | ||
<body> | ||
<h1>siteName = <%= @siteName %></h1> | ||
<h2>pageName = <%= @pageName %></h2> | ||
<a href="/">Home</a> | ||
<a href="/contact.html">Contact</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<%- @render "__header.eco", {pageName: 'Contact'} %> | ||
<p>Conatact me in person.</p> | ||
<p>Conatact me in person or else!</p> | ||
<%- @render "__footer.eco", %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<%- @render "__header.eco", {pageName: 'Home'} %> | ||
<p>This is the home page boooy!!!!!!!</p> | ||
<p>This is the home page my fine lad.</p> | ||
<%- @render "__footer.eco" %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>- Contact</title> | ||
<title>Example Site - Contact</title> | ||
<script src="/application.js" type="text/javascript" charset="utf-8"></script> | ||
<link rel="stylesheet" href="/application.css" type="text/css" media="screen" title="no title" charset="utf-8"> | ||
</head> | ||
<body> | ||
<h1>siteName = </h1> | ||
<h1>siteName = Example Site</h1> | ||
<h2>pageName = Contact</h2> | ||
<a href="/">Home</a> | ||
<a href="/contact.html">Contact</a> | ||
|
||
<p>Conatact me in person.</p> | ||
<p>Conatact me in person or else!</p> | ||
|
||
<hr> | ||
<p>Goodbye!</p> | ||
<p>Footer :: Goodbye!</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>- Home</title> | ||
<title>Example Site - Home</title> | ||
<script src="/application.js" type="text/javascript" charset="utf-8"></script> | ||
<link rel="stylesheet" href="/application.css" type="text/css" media="screen" title="no title" charset="utf-8"> | ||
</head> | ||
<body> | ||
<h1>siteName = </h1> | ||
<h1>siteName = Example Site</h1> | ||
<h2>pageName = Home</h2> | ||
<a href="/">Home</a> | ||
<a href="/contact.html">Contact</a> | ||
|
||
<p>This is the home page boooy!!!!!!!</p> | ||
<p>This is the home page my fine lad.</p> | ||
<hr> | ||
<p>Goodbye!</p> | ||
<p>Footer :: Goodbye!</p> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
var hem = new (require('../lib/hem-render-html')); | ||
var argv = process.argv.slice(2); | ||
|
||
//hem.compilers.less = require('hem-render-html').compiler; | ||
|
||
hem.exec(argv[0]); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters