0
Application.spark:星火視圖引擎 - 命名內容與忽略的RenderAction
<html>
<head>
<use content="head"/>
</head>
<body>
<use content="view"/>
</body>
</html>
Index.spark:
# Html.RenderAction("Hello"); // This renders _Hello.spark
_Hello.spark:_Hello的
<content name="head">
<script src="/hello.js"></script>
</content>
<p>hello</p>
和頭部的內容.spark被忽略。我如何使它包括在內?