Error compiling template "Designs/Dwsimple/ItemPublisher/Details/NewsDetail.cshtml"
Line 8: ; expected
Line 9: Invalid expression term '<'
Line 10: Invalid expression term '}'
Line 10: ; expected

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>

 

Accepter cookies på dette website

Vores hjemmeside bruger cookies for at optimere din oplevelse af hjemmesiden.

Du kan altid slette cookies via avancerede indstillinger i din browser.

Accepterer ikke cookies Accepterer functionelle cookies Accepterer alle cookies