Skip to content

Instantly share code, notes, and snippets.

@Yoshi325
Last active Oct 29, 2015
Embed
What would you like to do?
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