Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separate HTML templates from markdown converter
- Loading branch information
Showing
4 changed files
with
154 additions
and
96 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
</div> | ||
<div style="clear: both;"> </div> | ||
</div> | ||
|
||
<div id="bottom"> </div> | ||
<div id="footer"> | ||
Designed by <a href="http://www.free-css-templates.com/">Free CSS Templates</a>, Thanks to <a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html">Chapter 13 Bankruptcy</a> | ||
<br /> | ||
<a href="http://www.famfamfam.com/"><img src="images/famfamfam-logo.png" /></a> | ||
</div> | ||
</div> | ||
|
||
</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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<% | ||
lang_menu_items = langs.map do |l| | ||
rel_dir = "../#{l}" | ||
if lang == "en" && l == "en" | ||
rel_dir = "." | ||
elsif lang == "en" | ||
rel_dir = "./#{l}" | ||
elsif l == "en" | ||
rel_dir = ".." | ||
end | ||
"<a href=\"#{rel_dir}/#{file}\"><img src=\"#{rel_dir}/images/lang-#{l}.png\" /></a>" | ||
end.join(" ") | ||
%> | ||
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%=h lang %>" lang="<%=h lang %>"> | ||
<head> | ||
<title>Twittering-mode</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<link rel="stylesheet" type="text/css" href="style.css" media="screen" /> | ||
</head> | ||
<body> | ||
<div id="wrap"> | ||
|
||
<!-- | ||
<div id="header"> | ||
<h1><a href="#">Twittering-mode</a></h1> | ||
<h2>A major mode for Twitter.</h2> | ||
</div> | ||
<div id="top"> </div> | ||
--> | ||
<div style="text-align: left; padding-left: 20px;"> | ||
<%= lang_menu_items %> | ||
</div> | ||
|
||
<div id="top"> </div> | ||
|
||
<div id="menu"> | ||
<ul> | ||
<li><a href="./index.html"><img src="./images/logo.png" /></a></li> | ||
</ul> | ||
</div> | ||
|
||
<div id="content"> | ||
<div class="left"> |
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