This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Roman Rudenko
committed
Mar 26, 2013
1 parent
de571b0
commit 512fea2
Showing
4 changed files
with
42 additions
and
4 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,33 @@ | ||
{>base/} | ||
|
||
{<content} | ||
<h2>We've also extracted the first paragraph from your site and placed it in home.tmpl:</h2> | ||
<p class="extract"> | ||
{content.firstp} | ||
</p> | ||
{%script} | ||
// Single line comment | ||
window.acc = "Horus"; | ||
// Single line comment | ||
{/script} | ||
<script> | ||
// Single line comment | ||
window.acc += " Isis"; | ||
/* | ||
Multiline comment | ||
*/ | ||
</script> | ||
<script class="dog" type="text/javascript"> | ||
/* | ||
Multiline comment | ||
*/ | ||
window.acc += " Osiris"; | ||
// Single line comment | ||
</script> | ||
<script> | ||
// Single line comment | ||
document.write('<p>' + window.acc + '</p>'); | ||
// Single line comment | ||
</script> | ||
|
||
{/content} |
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