Nyheder
Error compiling template "Designs/Dwsimple/ItemPublisher/Details/NewsDetail.cshtml"
Line 54: ; expected
Line 54: Invalid expression term '<'
Line 55: Invalid expression term '/'
Line 55: Invalid expression term '}'
Line 55: ; expected
Line 54: The name 'div' does not exist in the current context
Line 54: The name 'style' does not exist in the current context
Line 55: The name 'div' does not exist in the current context
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.42000
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace CompiledRazorTemplates.Dynamic {
12 using System;
13 using System.Collections.Generic;
14 using System.Linq;
15
16
17 public class RazorEngine_2a44fade770244a1affc8b5ed8055560 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> {
18
19 #line hidden
20
21 public RazorEngine_2a44fade770244a1affc8b5ed8055560() {
22 }
23
24 public override void Execute() {
25 WriteLiteral("<div");
26
27 WriteLiteral(" class=\"w-section white inverse blog-grid\"");
28
29 WriteLiteral(">\r\n\t<div");
30
31 WriteLiteral(" class=\"col-md-9\"");
32
33 WriteLiteral(">\r\n\t\t<div");
34
35 WriteLiteral(" class=\"w-box blog-post\"");
36
37 WriteLiteral(">\r\n\t\t\t<div");
38
39 WriteLiteral(" class=\"figure\"");
40
41 WriteLiteral(">\r\n");
42
43
44 #line 5 "e:\dynamicweb.net\solutions\SkovboData\ringstedsoroeprovsti.dw9.dynamicweb-cms.com\files\Templates\Designs\Dwsimple\ItemPublisher\Details\NewsDetail.cshtml"
45
46
47 #line default
48 #line hidden
49
50 #line 5 "e:\dynamicweb.net\solutions\SkovboData\ringstedsoroeprovsti.dw9.dynamicweb-cms.com\files\Templates\Designs\Dwsimple\ItemPublisher\Details\NewsDetail.cshtml"
51 if (!string.IsNullOrWhiteSpace("Item.GeneralImage")){
52 var image = GetString("Item.GeneralImage")
53
54 <div style="background-image: url(/Admin/Public/GetImage.ashx?image=@image&width=940&compression=90); height: 350px; background-position: bottom center">
55 </div>
56 }
57
58
59 #line default
60 #line hidden
61 WriteLiteral("\t\t\t\t<h2>");
62
63
64 #line 11 "e:\dynamicweb.net\solutions\SkovboData\ringstedsoroeprovsti.dw9.dynamicweb-cms.com\files\Templates\Designs\Dwsimple\ItemPublisher\Details\NewsDetail.cshtml"
65 Write(GetString("Item.Heading"));
66
67
68 #line default
69 #line hidden
70 WriteLiteral("</h2>\r\n\t\t\t\t<ul");
71
72 WriteLiteral(" class=\"meta-list\"");
73
74 WriteLiteral(">\r\n\t\t\t\t\t<li>\r\n\t\t\t\t\t\t<span>Written by</span>\r\n\t\t\t\t\t\t<span");
75
76 WriteLiteral(" class=\"bold\"");
77
78 WriteLiteral(">");
79
80
81 #line 15 "e:\dynamicweb.net\solutions\SkovboData\ringstedsoroeprovsti.dw9.dynamicweb-cms.com\files\Templates\Designs\Dwsimple\ItemPublisher\Details\NewsDetail.cshtml"
82 Write(GetString("Item.GeneralAuthor"));
83
84
85 #line default
86 #line hidden
87 WriteLiteral("</span>\r\n\t\t\t\t\t</li>\r\n\t\t\t\t\t<li>\r\n\t\t\t\t\t\t<span>-</span>\r\n\t\t\t\t\t\t<a");
88
89 WriteLiteral(" href=\"#\"");
90
91 WriteLiteral(">");
92
93
94 #line 19 "e:\dynamicweb.net\solutions\SkovboData\ringstedsoroeprovsti.dw9.dynamicweb-cms.com\files\Templates\Designs\Dwsimple\ItemPublisher\Details\NewsDetail.cshtml"
95 Write(GetString("Item.Date.LongDate"));
96
97
98 #line default
99 #line hidden
100 WriteLiteral("</a>\r\n\t\t\t\t\t</li>\r\n\t\t\t\t</ul>\r\n\t\t\t\t<p>");
101
102
103 #line 22 "e:\dynamicweb.net\solutions\SkovboData\ringstedsoroeprovsti.dw9.dynamicweb-cms.com\files\Templates\Designs\Dwsimple\ItemPublisher\Details\NewsDetail.cshtml"
104 Write(GetString("Item.Text"));
105
106
107 #line default
108 #line hidden
109 WriteLiteral("</p>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>");
110
111 }
112 }
113 }
114
1 <div class="w-section white inverse blog-grid">
2 <div class="col-md-9">
3 <div class="w-box blog-post">
4 <div class="figure">
5 @if (!string.IsNullOrWhiteSpace("Item.GeneralImage")){
6 var image = GetString("Item.GeneralImage")
7
8 <div style="background-image: url(/Admin/Public/GetImage.ashx?image=@image&width=940&compression=90); height: 350px; background-position: bottom center">
9 </div>
10 }
11 <h2>@GetString("Item.Heading")</h2>
12 <ul class="meta-list">
13 <li>
14 <span>Written by</span>
15 <span class="bold">@GetString("Item.GeneralAuthor")</span>
16 </li>
17 <li>
18 <span>-</span>
19 <a href="#">@GetString("Item.Date.LongDate")</a>
20 </li>
21 </ul>
22 <p>@GetString("Item.Text")</p>
23 </div>
24 </div>
25 </div>
26 </div>