projects
/
gitmo/moose-website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bed39e7
)
include code sample only once, exactly where it's needed
Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 [Tue, 6 Apr 2010 12:30:32 +0000 (14:30 +0200)]
lib/Moose/Website/Resource/Templates/about.tt
patch
|
blob
|
blame
|
history
lib/Moose/Website/Resource/Templates/wrapper/root.tt
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Website/Resource/Templates/about.tt
b/lib/Moose/Website/Resource/Templates/about.tt
index
261b086
..
86f2db2
100644
(file)
--- a/
lib/Moose/Website/Resource/Templates/about.tt
+++ b/
lib/Moose/Website/Resource/Templates/about.tt
@@
-2,6
+2,10
@@
[% loc('about body') %]
+<div id="code_sample" style="display:none">
+[% INCLUDE 'code/point.tt' %]
+</div>
+
<h3>[% loc('about new to moose header') %]</h3>
[% loc('about new to moose body') %]
@@
-13,5
+17,4
@@
<li><a href="[% company.url %]">[% company.name %]</a></li>
[% END %]
</ul>
-
[% END %]
\ No newline at end of file
diff --git
a/lib/Moose/Website/Resource/Templates/wrapper/root.tt
b/lib/Moose/Website/Resource/Templates/wrapper/root.tt
index
a566c0c
..
9afffa8
100644
(file)
--- a/
lib/Moose/Website/Resource/Templates/wrapper/root.tt
+++ b/
lib/Moose/Website/Resource/Templates/wrapper/root.tt
@@
-26,8
+26,5
@@
jQuery(document).ready(function($) {
<div class="footer">
[% INCLUDE 'shared/footer.tt' %]
</div>
-<div id="code_sample" style="display:none">
-[% INCLUDE 'code/point.tt' %]
-</div>
</body>
</html>
\ No newline at end of file