Skip to content

Instantly share code, notes, and snippets.

@Yoshi325
Last active October 29, 2015 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Yoshi325/be7e7c5960b879e72a45 to your computer and use it in GitHub Desktop.
Save Yoshi325/be7e7c5960b879e72a45 to your computer and use it in GitHub Desktop.
Three-Pass Rendering Not Working, Nancy.ViewEngines.Spark, Shade, Example
<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>
img src="~/Content/nancy-logo.png" alt="Nancy Logo"
br
| This view was rendered using the SparkViewEngine
use master="html"
| This goes before the view.
use content="view"
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