Skip to content

Commit

Permalink
Updated h3rald layouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
h3rald committed Nov 10, 2012
1 parent c62237a commit e412dd0
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 84 deletions.
34 changes: 17 additions & 17 deletions document.glyph
Expand Up @@ -2,8 +2,8 @@ book[
@head[
style[default.css]
?[output?[pdf]|style[pagination.css]]
?[eq[$[filters.highlighter]|coderay]|style[coderay.css]]
?[eq[$[filters.highlighter]|ultraviolet]|style[ultraviolet/lazy.css]]
?[eq[$[filters.highlighter]|coderay]|style[coderay.css]]
?[eq[$[filters.highlighter]|ultraviolet]|style[ultraviolet/lazy.css]]
]
@pre-title[
?[output?[pdf]|
Expand All @@ -17,77 +17,77 @@ book[
toc[]
introduction[
@title[So you want to learn Ruby...]
include[intro]
@src[intro]
section[
@title[About this Book]
include[notes]
@src[notes]
]
]
]
@bodymatter[
chapter[
@title[Quick Tour]
include[language]
@src[language]
section[
@title[10 Good Things about Ruby]
@id[ten-good-things]
include[ten-good-things]
@src[ten-good-things]
]
section[
@title[Versions and Implementations]
@id[implementations]
include[implementations]
@src[implementations]
]
section[
@title[Syntax]
@id[syntax]
include[syntax]
@src[syntax]
]
section[
@title[The Core and the Standard Library]
@id[core-stdlib]
include[core-stdlib]
@src[core-stdlib]
]
section[
@title[Advanced Language Features]
@id[features]
include[features]
@src[features]
]
]
chapter[
@title[Ruby Gems]
@id[gems]
include[gems]
@src[gems]
section[
@title[What you can use for...]
include[gem-tips]
@src[gem-tips]
]
]
chapter[
@title[Resources]
@id[resources]
include[resources]
@src[resources]
section[
@title[Web Sites]
@id[websites]
include[web-sites]
@src[web-sites]
]
section[
@title[Books]
@id[books]
include[books]
@src[books]
]
section[
@title[Podcasts and Screencasts]
@id[podcasts]
include[podcasts]
@src[podcasts]
]
]
]
@backmatter[
appendix[
@title[Notable Rubyists]
include[rubyists]
@src[rubyists]
]
]
]
44 changes: 10 additions & 34 deletions lib/layouts/bookindex.glyph
@@ -1,11 +1,7 @@

<!DOCTYPE html>
<html lang="en">
<head>
<title>Ruby Compendium - An Essential Guide to the Ruby Ecosystem</title>
<link href='http://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>


<title>Glyph - Document Authoring Framework</title>

<meta charset="utf-8" />
<meta name="author" content="Fabio Cevasco" />
Expand All @@ -18,7 +14,7 @@
<meta name="readability-verification" content="XmaVzRjmcFL5Bb2Fu9TZVdDKzhA3apQdxexTB2rK"/>
<meta name="description" content="H3RALD - Fabio Cevasco's Web Site" />

<meta name="keywords" content="h3rald, fabio cevasco, ruby-compendium" />
<meta name="keywords" content="h3rald, fabio cevasco, glyph" />
<link rel="shortcut icon" href="/favicon.png" type="image/png" />
<meta content="44.388041;9.073248" name="ICBM" />

Expand All @@ -28,7 +24,7 @@
<script src="http://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script>
<script src="/js/sevenup.js" type="text/javascript"></script>
<script src="/js/sevenup_black.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">google.load("jquery", "1");</script>
<script src="/js/jquery-timeago.js" type="text/javascript"></script>
<script src="/js/jquery-easing.js" type="text/javascript"></script>
<script src="/js/jquery-fancybox.js" type="text/javascript"></script>
Expand All @@ -44,23 +40,23 @@
<header class="page">
<nav class="home-link">
<a href="/">
<img src="/images/h3rald_small.png" alt="H3RALD" class="default"/>
<!\[if !IE\]>
<img src="/images/h3rald_hover_small.png" alt="H3RALD" class="hover"/>
<!\[endif\]>
<span class="logo">
<span class="hrald"><span class="h">H</span>&nbsp;<span class="rald">RALD</span></span>
<span class="three">3</span>
</span>
</a>
</nav>

<nav class="section">
/<a href="/ruby-compendium/" rel="ruby-compendium">RUBY-COMPENDIUM</a>
/<a href="/glyph/" rel="glyph">GLYPH</a>
</nav>

</header>
<article class="page">
<header>
<hgroup>
<h1>Ruby Compendium</h1>
<h2>An Essential Guide to the Ruby Ecosystem</h2>
<h1>Glyph - Document Authoring Framework</h1>
<h2>Documentation</h2>

</hgroup>

Expand All @@ -70,32 +66,12 @@
<nav id="sharing-buttons">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="h3rald">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<g:plusone size="medium"></g:plusone>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')\[0\]; s.parentNode.insertBefore(po, s);
})();
</script>
</nav>
</section>
</article>


<footer>
<section class="ads">
<script type="text/javascript"><!--
google_ad_client = "pub-2871497824158668";
/* 728x90, created 9/10/10 */
google_ad_slot = "3963343166";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</section>
<section>
<nav>
<a href="/about/">ABOUT</a>\|<a href="/contact/">CONTACT</a>
Expand Down
43 changes: 10 additions & 33 deletions lib/layouts/bookpage.glyph
@@ -1,10 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{title}} &ndash; Ruby Compendium</title>
<link href='http://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>


<title>{{title}} - Glyph</title>

<meta charset="utf-8" />
<meta name="author" content="Fabio Cevasco" />
Expand All @@ -17,7 +14,7 @@
<meta name="readability-verification" content="XmaVzRjmcFL5Bb2Fu9TZVdDKzhA3apQdxexTB2rK"/>
<meta name="description" content="H3RALD - Fabio Cevasco's Web Site" />

<meta name="keywords" content="h3rald, fabio cevasco, ruby-compendium" />
<meta name="keywords" content="h3rald, fabio cevasco, glyph" />
<link rel="shortcut icon" href="/favicon.png" type="image/png" />
<meta content="44.388041;9.073248" name="ICBM" />

Expand All @@ -27,7 +24,7 @@
<script src="http://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script>
<script src="/js/sevenup.js" type="text/javascript"></script>
<script src="/js/sevenup_black.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">google.load("jquery", "1");</script>
<script src="/js/jquery-timeago.js" type="text/javascript"></script>
<script src="/js/jquery-easing.js" type="text/javascript"></script>
<script src="/js/jquery-fancybox.js" type="text/javascript"></script>
Expand All @@ -43,23 +40,23 @@
<header class="page">
<nav class="home-link">
<a href="/">
<img src="/images/h3rald_small.png" alt="H3RALD" class="default"/>
<!\[if !IE\]>
<img src="/images/h3rald_hover_small.png" alt="H3RALD" class="hover"/>
<!\[endif\]>
<span class="logo">
<span class="hrald"><span class="h">H</span>&nbsp;<span class="rald">RALD</span></span>
<span class="three">3</span>
</span>
</a>
</nav>

<nav class="section">
/<a href="/ruby-compendium/" rel="ruby-compendium">RUBY-COMPENDIUM</a>
/<a href="/glyph/" rel="glyph">GLYPH</a>
</nav>

</header>
<article class="page glyph-book">
<header>
<hgroup>
<h1>{{title}}</h1>
<h2>Ruby Compendium</h2>
<h2>Glyph</h2>
</hgroup>
</header>
<section id="body-text" class="hyphenate glyph-book">
Expand All @@ -70,37 +67,17 @@
<nav id="sharing-buttons">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="h3rald">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<g:plusone size="medium"></g:plusone>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')\[0\]; s.parentNode.insertBefore(po, s);
})();
</script>
</nav>
</section>
</article>


<footer>
<section class="ads">
<script type="text/javascript"><!--
google_ad_client = "pub-2871497824158668";
/* 728x90, created 9/10/10 */
google_ad_slot = "3963343166";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</section>
<section>
<nav>
<a href="/about/">ABOUT</a>\|<a href="/contact/">CONTACT</a>
</nav>
<p>H3RALD Web Site v8.1.2 &copy; 2004 &mdash; 2011 <em>Fabio Cevasco</em></p>
<p>H3RALD Web Site v8.1.2 &copy; 2004 &mdash; 2012 <em>Fabio Cevasco</em></p>
</section>
</footer>
</section><!-- #container end -->
Expand Down

0 comments on commit e412dd0

Please sign in to comment.