on se raproche du but
This commit is contained in:
parent
571a269607
commit
47457a5a3d
2 changed files with 6 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: English title
|
title: English title
|
||||||
---
|
---
|
||||||
<h1>A Brand New nanoc Site</h1>
|
<h1 class="first" >A Brand New nanoc Site</h1>
|
||||||
|
|
||||||
<p>You’ve just created a new nanoc site. The page you are looking at right now is the home page for your site (and it’s probably the only page).</p>
|
<p>You’ve just created a new nanoc site. The page you are looking at right now is the home page for your site (and it’s probably the only page).</p>
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,8 @@ conf.languages=languages
|
||||||
|
|
||||||
self.instance_variable_set(:@conf, conf)
|
self.instance_variable_set(:@conf, conf)
|
||||||
|
|
||||||
puts '--- conf ---'
|
# puts '--- conf ---'
|
||||||
puts conf.to_s
|
# puts conf.to_s
|
||||||
|
|
||||||
%><?xml version="1.0" encoding="utf-8"?>
|
%><?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
|
@ -80,7 +80,7 @@ puts conf.to_s
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="choix">
|
<div id="choix">
|
||||||
<%= puts %{tradOf(:langue)} %>
|
<%= tradOf(:langue) %>
|
||||||
<div id="choixlang">
|
<div id="choixlang">
|
||||||
<ul>
|
<ul>
|
||||||
<% languages.each do |l| %>
|
<% languages.each do |l| %>
|
||||||
|
@ -120,13 +120,10 @@ puts conf.to_s
|
||||||
<%= puts %{generateSubMenuFor} %>
|
<%= puts %{generateSubMenuFor} %>
|
||||||
|
|
||||||
<div class="flush"></div>
|
<div class="flush"></div>
|
||||||
<%= puts %{generateLanguageOnlyTag} %>
|
|
||||||
<div id="afterheader">
|
<div id="afterheader">
|
||||||
|
|
||||||
<div class="corps">
|
<div class="corps">
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if article %>
|
<% if article %>
|
||||||
<% if depthOf(@item) == 3 %>
|
<% if depthOf(@item) == 3 %>
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
|
@ -141,7 +138,6 @@ puts conf.to_s
|
||||||
<%= generateIntenseDebateThread %>
|
<%= generateIntenseDebateThread %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div id="bottom">
|
<div id="bottom">
|
||||||
<div>
|
<div>
|
||||||
<%= tradOf(:entirely_done_with) %>
|
<%= tradOf(:entirely_done_with) %>
|
||||||
|
@ -150,14 +146,12 @@ puts conf.to_s
|
||||||
<a href="http://nanoc.stoneship.org">nanoc</a>
|
<a href="http://nanoc.stoneship.org">nanoc</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<% puts %{validationPage = @items.each{ |p| p.path == '/Scratch/multi/validation/' } } %>
|
<a href="/Scratch/<%=language%>/validation/">Validation</a>
|
||||||
<%= puts %{span_multi_link_to_unless_current( {:en => "Validation: ", :fr => "Validation : "}, validationPage)} %>
|
|
||||||
<a href="http://validator.w3.org/check?uri=referer"> [xhtml] </a>
|
<a href="http://validator.w3.org/check?uri=referer"> [xhtml] </a>
|
||||||
.
|
.
|
||||||
<a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3"> [css] </a>
|
<a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3"> [css] </a>
|
||||||
.
|
.
|
||||||
<a href="http://validator.w3.org/feed/check.cgi?url=http%3A//yannesposito.com/Scratch/en/blog/feed/feed.xml" class="en">[rss]</a>
|
<a href="http://validator.w3.org/feed/check.cgi?url=http%3A//yannesposito.com/Scratch/<%=language%>/blog/feed/feed.xml">[rss]</a>
|
||||||
<a href="http://validator.w3.org/feed/check.cgi?url=http%3A//yannesposito.com/Scratch/fr/blog/feed/feed.xml" class="fr">[rss]</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<%=tradOf(:copyright) %>
|
<%=tradOf(:copyright) %>
|
||||||
|
|
Loading…
Reference in a new issue