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
1 parent
1acd204
commit 2c640c6
Showing
9 changed files
with
90 additions
and
31 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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
<span>Text</span> | ||
<span>Text</span> |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<footer> | ||
<p>© 2018 Gandalf</p> | ||
</footer> | ||
</footer> |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<header> | ||
<h1>How to be a wizard</h1> | ||
</header> | ||
</header> |
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,13 @@ | ||
<div> | ||
<span>Example</span> | ||
<div class="header"> | ||
<partial name="header"></partial> | ||
</div> | ||
<hr /> | ||
<div class="content"> | ||
<partial name="content"></partial> | ||
</div> | ||
<div class="footer"> | ||
<partial name="footer"></partial> | ||
</div> | ||
</div> |
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 |
---|---|---|
@@ -1,13 +1,33 @@ | ||
<div> | ||
<article> | ||
BeforeHeaderText<include src="./include-header.html" />AfterHeaderText | ||
BeforeHeaderText<include src="./include-header.html"></include>AfterHeaderText | ||
<ol> | ||
<li>Grow a long, majestic beard.</li> | ||
<li>Wear a tall, pointed hat.</li> | ||
<li>Have I mentioned the beard?</li> | ||
</ol> | ||
BeforeFooterText<include src="./include-footer.html" />AfterFooterText | ||
<!--<div><include src="./include-content.html"></include></div>--> | ||
TextBeforeOpenDiv<div>TextAfterOpenDiv<include src="./include-content.html" />TextBeforeCloseDiv</div>TextAfterCloseDiv | ||
BeforeFooterText<include src="./include-footer.html"></include>AfterFooterText | ||
TextBeforeOpenDiv<div>TextAfterOpenDiv<include src="./include-content.html"></include>TextBeforeCloseDiv</div>TextAfterCloseDiv | ||
</article> | ||
</div> | ||
|
||
<!-- Future improvements --> | ||
BEFORE | ||
<include src="./include-content.html"> | ||
<header partial="header">Header</header> | ||
<div partial="content">Header</div> | ||
<footer partial="footer">Footer</footer> | ||
</include> | ||
AFTER | ||
|
||
<div>TEXT</div> | ||
<div> | ||
<include src="./include-content.html" ></include > | ||
</div> | ||
<div>TEXT</div> | ||
|
||
<!-- WRONG --> | ||
<div><include src="./include-content.html" /></div> | ||
<include src="./include-content.html"> | ||
<include src="./include-content.html"></include> | ||
</include> |