Three-Pass Rendering Not Working, Nancy.ViewEngines.Spark, Shade, Example
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
<html lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>NancySelfHost1</title> | |
<style type="text/css"> | |
body { text-align: center; } | |
</style> | |
</head> | |
<body> | |
This goes before the view. | |
<img src="/Content/nancy-logo.png" alt="Nancy Logo" /> | |
<br/> | |
This view was rendered using the SparkViewEngine | |
</body> | |
</html> |
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
img src="~/Content/nancy-logo.png" alt="Nancy Logo" | |
br | |
| This view was rendered using the SparkViewEngine |
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
use master="html" | |
| This goes before the view. | |
use content="view" |
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
html lang="en" | |
head | |
meta charset="utf-8" | |
title |NancySelfHost1 | |
style type="text/css" | |
| body { text-align: center; } | |
body | |
use content="view" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment