Error compiling template "Designs/SSTemplate/_parsed/news.parsed.cshtml"
Line 1035: Invalid expression term '%'
Line 1035: Syntax error, ',' expected
Line 1043: Invalid expression term '%'
Line 1043: Syntax error, ',' expected
Line 1035: The name 'Item' does not exist in the current context
Line 1043: The name 'Item' 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
15 #line 5 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
16 using System.Linq;
17
18 #line default
19 #line hidden
20
21 #line 1 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
22 using System.Web.Mvc;
23
24 #line default
25 #line hidden
26
27 #line 129 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
28 using System.Text.RegularExpressions;
29
30 #line default
31 #line hidden
32
33 #line 130 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
34 using System.Web;
35
36 #line default
37 #line hidden
38
39 #line 4 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
40 using System.IO;
41
42 #line default
43 #line hidden
44
45
46 public class RazorEngine_bc3fcee4c0c445719760327d6439a6ed : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> {
47
48 #line hidden
49
50 public RazorEngine_bc3fcee4c0c445719760327d6439a6ed() {
51 }
52
53 public override void Execute() {
54
55 #line 6 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
56
57 string basecss = "/Files/Templates/Designs/SSTemplate/css/base.css";
58 string ifolder = basecss.Substring(0, basecss.LastIndexOf("/")).ToString();
59 string ifolderOnDisk = System.Web.HttpContext.Current.Server.MapPath(ifolder);
60 DirectoryInfo idirectoryInfo = new System.IO.DirectoryInfo(ifolderOnDisk);
61 string idatefetch = @idirectoryInfo + "\\base.css";
62 DateTime ilastmodified = File.GetLastWriteTime(@idatefetch);
63 basecss = @basecss + "?modified=" + @ilastmodified.ToString("yyyy-MM-ddTHH:mm:ss");
64 string stylecss = "/Files/Templates/Designs/SSTemplate/css/styles.css";
65 string ufolder = stylecss.Substring(0, stylecss.LastIndexOf("/")).ToString();
66 string ufolderOnDisk = System.Web.HttpContext.Current.Server.MapPath(ufolder);
67 DirectoryInfo udirectoryInfo = new System.IO.DirectoryInfo(ufolderOnDisk);
68 string udatefetch = @udirectoryInfo + "\\styles.css";
69 DateTime ulastmodified = File.GetLastWriteTime(@udatefetch);
70 stylecss = @stylecss + "?modified=" + @ulastmodified.ToString("yyyy-MM-ddTHH:mm:ss");
71
72
73 #line default
74 #line hidden
75 WriteLiteral("\r\n");
76
77
78 #line 22 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
79
80 string logo = @GetString("Item.Area.Design.Logo");
81
82
83
84 #line default
85 #line hidden
86 WriteLiteral("\r\n<!DOCTYPE html>\r\n<html");
87
88 WriteLiteral(" lang=\"fo\"");
89
90 WriteLiteral(">\r\n");
91
92
93 #line 28 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
94
95 string pageid = @GetString("DwPageID");
96
97 string readspeak = @GetString("Item.Area.Funktionalitetir.BaseUr") + "?id=" + pageid;
98 string pagenametit = @GetString("DwPageName");
99
100 string pagearea = @GetString("DwPageID_1");
101 pagearea = "top" + pagearea;
102 ViewBag.BaseUrl = @GetString("Item.Area.Funktionalitetir.BaseUr");
103 ViewBag.StoddStarvs = @GetString("Item.Page.StoddStarv");
104
105
106 #line default
107 #line hidden
108 WriteLiteral("\r\n\r\n\r\n\r\n<head>\r\n <meta");
109
110 WriteLiteral(" charset=\"utf-8\"");
111
112 WriteLiteral(">\r\n <meta");
113
114 WriteLiteral(" http-equiv=\"X-UA-Compatible\"");
115
116 WriteLiteral(" content=\"IE=edge\"");
117
118 WriteLiteral(">\r\n <meta");
119
120 WriteLiteral(" name=\"viewport\"");
121
122 WriteLiteral(" content=\"width=device-width, initial-scale=1\"");
123
124 WriteLiteral(">\r\n \r\n <meta");
125
126 WriteLiteral(" name=\"author\"");
127
128 WriteLiteral(" content=\"\"");
129
130 WriteLiteral(">\r\n <meta");
131
132 WriteLiteral(" property=\"og:url\"");
133
134 WriteAttribute("content", Tuple.Create(" content=\"", 1908), Tuple.Create("\"", 1928)
135
136 #line 48 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
137 , Tuple.Create(Tuple.Create("", 1918), Tuple.Create<System.Object, System.Int32>(readspeak
138
139 #line default
140 #line hidden
141 , 1918), false)
142 );
143
144 WriteLiteral(">\r\n <meta");
145
146 WriteLiteral(" property=\"og:locale\"");
147
148 WriteLiteral(" content=\"fo_FO\"");
149
150 WriteLiteral(">\r\n <meta");
151
152 WriteLiteral(" property=\"og:title\"");
153
154 WriteAttribute("content", Tuple.Create(" content=\"", 2006), Tuple.Create("\"", 2028)
155
156 #line 50 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
157 , Tuple.Create(Tuple.Create("", 2016), Tuple.Create<System.Object, System.Int32>(pagenametit
158
159 #line default
160 #line hidden
161 , 2016), false)
162 );
163
164 WriteLiteral(">\r\n\r\n");
165
166 WriteLiteral(" ");
167
168
169 #line 52 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
170 Write(RenderSnippet("FBimg"));
171
172
173 #line default
174 #line hidden
175 WriteLiteral("\r\n\r\n <link");
176
177 WriteLiteral(" href=\"https://fonts.googleapis.com/css?family=Raleway:700,800%7CRoboto:300i,400," +
178 "400i,700\"");
179
180 WriteLiteral(" rel=\"stylesheet\"");
181
182 WriteLiteral(">\r\n\r\n <link");
183
184 WriteLiteral(" rel=\"stylesheet\"");
185
186 WriteLiteral(" href=\"https://cdn.icomoon.io/136306/Studnifo/style-cf.css?zzt2t\"");
187
188 WriteLiteral(">\r\n <link");
189
190 WriteLiteral(" rel=\"stylesheet\"");
191
192 WriteLiteral(" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css\"");
193
194 WriteLiteral(">\r\n <link");
195
196 WriteLiteral(" type=\"text/css\"");
197
198 WriteLiteral(" rel=\"stylesheet\"");
199
200 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/lightgallery/css/lightgallery.css\"");
201
202 WriteLiteral(">\r\n <link");
203
204 WriteLiteral(" rel=\"stylesheet\"");
205
206 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/css/tablesaw.css\"");
207
208 WriteLiteral(">\r\n <link");
209
210 WriteLiteral(" rel=\"stylesheet\"");
211
212 WriteAttribute("href", Tuple.Create(" href=\"", 2609), Tuple.Create("\"", 2624)
213
214 #line 60 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
215 , Tuple.Create(Tuple.Create("", 2616), Tuple.Create<System.Object, System.Int32>(basecss
216
217 #line default
218 #line hidden
219 , 2616), false)
220 );
221
222 WriteLiteral(">\r\n <link");
223
224 WriteLiteral(" rel=\"stylesheet\"");
225
226 WriteAttribute("href", Tuple.Create(" href=\"", 2652), Tuple.Create("\"", 2668)
227
228 #line 61 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
229 , Tuple.Create(Tuple.Create("", 2659), Tuple.Create<System.Object, System.Int32>(stylecss
230
231 #line default
232 #line hidden
233 , 2659), false)
234 );
235
236 WriteLiteral(">\r\n <link");
237
238 WriteLiteral(" rel=\"shortcut icon\"");
239
240 WriteLiteral(" type=\"image/ico\"");
241
242 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/img/favicon.ico\"");
243
244 WriteLiteral(">\r\n <link");
245
246 WriteLiteral(" rel=\"shortcut icon\"");
247
248 WriteLiteral(" type=\"image/png\"");
249
250 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/img/Favicon.png\"");
251
252 WriteLiteral(">\r\n <link");
253
254 WriteLiteral(" rel=\"stylesheet\"");
255
256 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/css/meanmenu.css?build=25\"");
257
258 WriteLiteral(">\r\n <link");
259
260 WriteLiteral(" type=\"text/css\"");
261
262 WriteLiteral(" rel=\"stylesheet\"");
263
264 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/css/base-mobil.css\"");
265
266 WriteLiteral(">\r\n <link");
267
268 WriteLiteral(" type=\"text/css\"");
269
270 WriteLiteral(" rel=\"stylesheet\"");
271
272 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/css/styles-mobil.css\"");
273
274 WriteLiteral(">\r\n\r\n");
275
276
277 #line 68 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
278 Write(GetValue("CopyRightNotice"));
279
280
281 #line default
282 #line hidden
283 WriteLiteral("\r\n");
284
285
286 #line 69 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
287 Write(GetValue("MetaTags"));
288
289
290 #line default
291 #line hidden
292 WriteLiteral("\r\n");
293
294
295 #line 70 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
296 Write(GetValue("Stylesheets"));
297
298
299 #line default
300 #line hidden
301 WriteLiteral("\r\n");
302
303
304 #line 71 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
305 Write(GetValue("Javascripts"));
306
307
308 #line default
309 #line hidden
310 WriteLiteral("\r\n</head>\r\n\r\n<body>\r\n <script");
311
312 WriteLiteral(" src=\"https://consent.cookiefirst.com/banner.js\"");
313
314 WriteLiteral(" data-cookiefirst-key=\"111a2558-96b1-4a07-bbd1-bcadbabc8ad3\"");
315
316 WriteLiteral("></script>\r\n");
317
318 WriteLiteral(" ");
319
320
321 #line 76 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
322 Write(GetString("Item.Area.FacebookJaascriptSDK"));
323
324
325 #line default
326 #line hidden
327 WriteLiteral("\r\n <div");
328
329 WriteLiteral(" class=\"container toptop d-none d-sm-none d-md-block\"");
330
331 WriteLiteral(">\r\n <div");
332
333 WriteLiteral(" class=\"row\"");
334
335 WriteLiteral(">\r\n <div");
336
337 WriteLiteral(" class=\"col-md-12\"");
338
339 WriteLiteral(">\r\n <a");
340
341 WriteLiteral(" class=\"navbar-brand\"");
342
343 WriteLiteral(" href=\"/\"");
344
345 WriteLiteral("><img");
346
347 WriteLiteral(" class=\"img-fluid mainlogo\"");
348
349 WriteAttribute("src", Tuple.Create(" src=\"", 3683), Tuple.Create("\"", 3694)
350
351 #line 80 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
352 , Tuple.Create(Tuple.Create("", 3689), Tuple.Create<System.Object, System.Int32>(logo
353
354 #line default
355 #line hidden
356 , 3689), false)
357 );
358
359 WriteLiteral("></a>\r\n <a");
360
361 WriteAttribute("class", Tuple.Create(" class=\"", 3712), Tuple.Create("\"", 3772)
362 , Tuple.Create(Tuple.Create("", 3720), Tuple.Create("langlink", 3720), true)
363 , Tuple.Create(Tuple.Create(" ", 3728), Tuple.Create("langfo", 3729), true)
364
365 #line 81 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
366 , Tuple.Create(Tuple.Create(" ", 3735), Tuple.Create<System.Object, System.Int32>(pageid
367
368 #line default
369 #line hidden
370 , 3736), false)
371 , Tuple.Create(Tuple.Create(" ", 3743), Tuple.Create("d-none", 3745), true)
372 , Tuple.Create(Tuple.Create(" ", 3751), Tuple.Create("d-sm-none", 3752), true)
373 , Tuple.Create(Tuple.Create(" ", 3761), Tuple.Create("d-md-block", 3762), true)
374 );
375
376 WriteLiteral(" href=\"?id=38\"");
377
378 WriteLiteral(">FO <span");
379
380 WriteLiteral(" class=\"icon-dropdown\"");
381
382 WriteLiteral("></span></a>\r\n <a");
383
384 WriteAttribute("class", Tuple.Create(" class=\"", 3842), Tuple.Create("\"", 3902)
385 , Tuple.Create(Tuple.Create("", 3850), Tuple.Create("langlink", 3850), true)
386 , Tuple.Create(Tuple.Create(" ", 3858), Tuple.Create("langen", 3859), true)
387
388 #line 82 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
389 , Tuple.Create(Tuple.Create(" ", 3865), Tuple.Create<System.Object, System.Int32>(pageid
390
391 #line default
392 #line hidden
393 , 3866), false)
394 , Tuple.Create(Tuple.Create(" ", 3873), Tuple.Create("d-none", 3875), true)
395 , Tuple.Create(Tuple.Create(" ", 3881), Tuple.Create("d-sm-none", 3882), true)
396 , Tuple.Create(Tuple.Create(" ", 3891), Tuple.Create("d-md-block", 3892), true)
397 );
398
399 WriteLiteral(" href=\"?id=97\"");
400
401 WriteLiteral(">EN <span");
402
403 WriteLiteral(" class=\"icon-dropdown\"");
404
405 WriteLiteral("></span></a>\r\n <form");
406
407 WriteLiteral(" method=\"post\"");
408
409 WriteLiteral(" id=\"searchform\"");
410
411 WriteLiteral(" action=\"?id=47\"");
412
413 WriteLiteral(" class=\"form-inline my-2 my-md-0 relative d-none d-sm-none d-md-block\"");
414
415 WriteLiteral(">\r\n <input");
416
417 WriteLiteral(" type=\"submit\"");
418
419 WriteLiteral(" class=\"hide\"");
420
421 WriteLiteral(">\r\n <input");
422
423 WriteLiteral(" class=\"form-control stdsrchinput\"");
424
425 WriteLiteral(" name=\"q\"");
426
427 WriteLiteral(" type=\"text\"");
428
429 WriteLiteral(" placeholder=\"Leita á studni.fo\"");
430
431 WriteLiteral("><span");
432
433 WriteLiteral(" class=\"icon-search searchicon\"");
434
435 WriteLiteral("></span>\r\n\r\n </form>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div");
436
437 WriteLiteral(" class=\"mynav d-md-none d-lg-none d-xl-none\"");
438
439 WriteLiteral(">\r\n");
440
441 WriteLiteral(" ");
442
443
444 #line 94 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
445 Write(GetValue("DwNavigation(mobmen)"));
446
447
448 #line default
449 #line hidden
450 WriteLiteral("\r\n\r\n </div><!-- #dl-menu end -->\r\n\r\n <nav");
451
452 WriteLiteral(" class=\"navbar navbar-expand-md mt-2 mb-2 d-none d-sm-none d-md-block\"");
453
454 WriteLiteral(">\r\n <div");
455
456 WriteLiteral(" class=\"container mobmen\"");
457
458 WriteLiteral(">\r\n\r\n\r\n\r\n <div");
459
460 WriteLiteral(" class=\"collapse navbar-collapse\"");
461
462 WriteLiteral(" id=\"menu\"");
463
464 WriteLiteral(">\r\n");
465
466 WriteLiteral(" ");
467
468
469 #line 104 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
470 Write(GetValue("DwNavigation(topmen1)"));
471
472
473 #line default
474 #line hidden
475 WriteLiteral("\r\n\r\n </div>\r\n\r\n </div>\r\n </nav>\r\n <!--- NAVIGATION --->\r\n\r\n\r\n");
476
477
478 #line 113 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
479
480
481 #line default
482 #line hidden
483
484 #line 113 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
485 if (GetBoolean("Item.ShowBradcrumbs") == true)
486 {
487
488
489 #line default
490 #line hidden
491 WriteLiteral(" ");
492
493 WriteLiteral("\r\n <div");
494
495 WriteLiteral(" class=\"container-fluid mb-0 bread\"");
496
497 WriteLiteral(">\r\n <div");
498
499 WriteLiteral(" class=\"container\"");
500
501 WriteLiteral(">\r\n <div");
502
503 WriteLiteral(" class=\"row\"");
504
505 WriteLiteral(">\r\n <div");
506
507 WriteLiteral(" class=\"bread col my-2\"");
508
509 WriteLiteral(">\r\n");
510
511 WriteLiteral(" ");
512
513
514 #line 120 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
515 Write(GetValue("DwNavigation(bread)"));
516
517
518 #line default
519 #line hidden
520 WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n ");
521
522 WriteLiteral("\r\n");
523
524
525 #line 126 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
526 }
527
528
529 #line default
530 #line hidden
531 WriteLiteral(" <!--- BREADCRUMB --->\r\n <section id=\"contentsec\">\r\n");
532
533
534 #line 129 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
535
536
537 #line default
538 #line hidden
539 WriteLiteral("\r\n");
540
541
542 #line 132 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
543
544 string mynd=@GetString("Item.Area.Design.FacebookDeilFallback");
545
546 string play="";
547 string videostart="";
548
549
550 #line default
551 #line hidden
552 WriteLiteral("\r\n");
553
554
555 #line 138 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
556 if(!string.IsNullOrEmpty(@GetString("Item.Video"))){play="<span class='icon-media-video'></span>"; videostart="videostart";}
557 else {play="";}
558
559
560 #line default
561 #line hidden
562 WriteLiteral("\r\n");
563
564
565 #line 141 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
566 if(!String.IsNullOrEmpty(GetString("Item.Mynd"))){
567 mynd = @GetString("Item.Mynd");
568 mynd=@mynd.Replace(" ", "%20");
569 }
570
571
572 #line default
573 #line hidden
574 WriteLiteral("\r\n\r\n");
575
576
577 #line 147 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
578 Write(SnippetStart("FBimg"));
579
580
581 #line default
582 #line hidden
583 WriteLiteral("\r\n<meta property=\"og:image\" content=\"");
584
585
586 #line 148 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
587 Write(ViewBag.BaseUrl);
588
589
590 #line default
591 #line hidden
592
593 #line 148 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
594 Write(mynd);
595
596
597 #line default
598 #line hidden
599 WriteLiteral("\">\r\n");
600
601
602 #line 149 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
603 Write(SnippetEnd("FBimg"));
604
605
606 #line default
607 #line hidden
608 WriteLiteral("\r\n\r\n\r\n\r\n\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <di" +
609 "v class=\"col-xl-9 col-sm-12 mt-5 \">\r\n <p class=\"dato hide\">");
610
611
612 #line 157 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
613 Write(GetDate("Item.Dato").ToString("dd. MMMM yyyy"));
614
615
616 #line default
617 #line hidden
618 WriteLiteral("</p>\r\n <h1>");
619
620
621 #line 158 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
622 Write(GetString("Item.Yvirskrift"));
623
624
625 #line default
626 #line hidden
627 WriteLiteral("<a href=\"#\"><span class=\"icon-readspeak\"></span></a> </h1>\r\n");
628
629
630 #line 159 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
631
632
633 #line default
634 #line hidden
635
636 #line 159 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
637 if(!String.IsNullOrEmpty(GetString("Item.Inngangstekstur"))){
638
639
640 #line default
641 #line hidden
642 WriteLiteral(" <p");
643
644 WriteLiteral(" class=\"introIII mt-4 mb-5\"");
645
646 WriteLiteral(">");
647
648
649 #line 160 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
650 Write(GetString("Item.Inngangstekstur"));
651
652
653 #line default
654 #line hidden
655 WriteLiteral("</p> ");
656
657
658 #line 160 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
659 }
660
661
662 #line default
663 #line hidden
664 WriteLiteral(" </div>\r\n </div>\r\n </div> <!--- INTRO TEXT --->\r\n\r\n " +
665 "<div class=\"container\">\r\n <div class=\"row\">\r\n");
666
667
668 #line 167 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
669
670
671 #line default
672 #line hidden
673
674 #line 167 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
675 if(@GetBoolean("Item.MogulleikaFyriAtDeila")==true){
676
677
678 #line default
679 #line hidden
680 WriteLiteral(" ");
681
682 WriteLiteral("\r\n <div");
683
684 WriteLiteral(" class=\"col-sm-1\"");
685
686 WriteLiteral(">\r\n \r\n \r\n \r\n <div");
687
688 WriteLiteral(" class=\"linja mt-5\"");
689
690 WriteLiteral("></div>\r\n <p");
691
692 WriteLiteral(" class=\"share\"");
693
694 WriteLiteral(">Deil:</p>\r\n <a");
695
696 WriteLiteral(" href=\"#\"");
697
698 WriteLiteral(" onclick=\"window.open(\'https://www.facebook.com/sharer/sharer.php?u=\'+encodeURICo" +
699 "mponent(location.href),\'facebook-share-dialog\',\'width=626,height=436\');return fa" +
700 "lse;\"");
701
702 WriteLiteral("><span");
703
704 WriteLiteral(" class=\"icon-share-facebook\"");
705
706 WriteLiteral("><span");
707
708 WriteLiteral(" class=\"path1\"");
709
710 WriteLiteral("></span><span");
711
712 WriteLiteral(" class=\"path2\"");
713
714 WriteLiteral("></span><span");
715
716 WriteLiteral(" class=\"path3\"");
717
718 WriteLiteral("></span></span></a>\r\n");
719
720
721 #line 176 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
722
723
724 #line default
725 #line hidden
726
727 #line 176 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
728
729 string pagename=@GetString("DwPageName");
730 string pagelink=@HttpContext.Current.Request.Url.AbsoluteUri;
731
732
733 #line default
734 #line hidden
735 WriteLiteral("\r\n <a");
736
737 WriteAttribute("href", Tuple.Create(" href=\"", 7078), Tuple.Create("\"", 7144)
738 , Tuple.Create(Tuple.Create("", 7085), Tuple.Create("mailto:?Subject=", 7085), true)
739
740 #line 180 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
741 , Tuple.Create(Tuple.Create("", 7101), Tuple.Create<System.Object, System.Int32>(pagename
742
743 #line default
744 #line hidden
745 , 7101), false)
746 , Tuple.Create(Tuple.Create("", 7110), Tuple.Create("&body=Trýst", 7110), true)
747 , Tuple.Create(Tuple.Create(" ", 7121), Tuple.Create("á", 7122), true)
748 , Tuple.Create(Tuple.Create(" ", 7123), Tuple.Create("leinki", 7124), true)
749 , Tuple.Create(Tuple.Create(" ", 7130), Tuple.Create("her", 7131), true)
750
751 #line 180 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
752 , Tuple.Create(Tuple.Create(" ", 7134), Tuple.Create<System.Object, System.Int32>(pagelink
753
754 #line default
755 #line hidden
756 , 7135), false)
757 );
758
759 WriteLiteral("><span");
760
761 WriteLiteral(" class=\"icon-share-email\"");
762
763 WriteLiteral("><span");
764
765 WriteLiteral(" class=\"path1\"");
766
767 WriteLiteral("></span><span");
768
769 WriteLiteral(" class=\"path2\"");
770
771 WriteLiteral("></span><span");
772
773 WriteLiteral(" class=\"path3\"");
774
775 WriteLiteral("></span></span></a>\r\n \r\n \r\n </div>\r\n ");
776
777 WriteLiteral("\r\n");
778
779
780 #line 185 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
781 }
782
783
784 #line default
785 #line hidden
786 WriteLiteral(" <div class=\"col-12 col-xl-9\">\r\n");
787
788
789 #line 187 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
790
791
792 #line default
793 #line hidden
794
795 #line 187 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
796 if(!String.IsNullOrEmpty(@GetString("Item.Mynd"))){
797
798
799 #line default
800 #line hidden
801 WriteLiteral(" ");
802
803 WriteLiteral("\r\n <div");
804
805 WriteAttribute("class", Tuple.Create(" class=\"", 7484), Tuple.Create("\"", 7526)
806 , Tuple.Create(Tuple.Create("", 7492), Tuple.Create("newsitemimage", 7492), true)
807 , Tuple.Create(Tuple.Create(" ", 7505), Tuple.Create("relative", 7506), true)
808
809 #line 189 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
810 , Tuple.Create(Tuple.Create(" ", 7514), Tuple.Create<System.Object, System.Int32>(videostart
811
812 #line default
813 #line hidden
814 , 7515), false)
815 );
816
817 WriteLiteral(">\r\n <img");
818
819 WriteAttribute("src", Tuple.Create(" src=\"", 7547), Tuple.Create("\"", 7558)
820
821 #line 190 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
822 , Tuple.Create(Tuple.Create("", 7553), Tuple.Create<System.Object, System.Int32>(mynd
823
824 #line default
825 #line hidden
826 , 7553), false)
827 );
828
829 WriteLiteral(" class=\"img-fluid mt-5 mb-3\"");
830
831 WriteLiteral(">\r\n");
832
833
834 #line 191 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
835 Write(play);
836
837
838 #line default
839 #line hidden
840 WriteLiteral("\r\n</div>\r\n ");
841
842 WriteLiteral("\r\n");
843
844
845 #line 194 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
846 }
847
848
849 #line default
850 #line hidden
851 WriteLiteral(" \r\n </div>\r\n <div class=\"col-12 col-xl-2\">\r\n <d" +
852 "iv class=\"linja mt-5 ml-2\"></div>\r\n");
853
854
855 #line 199 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
856
857
858 #line default
859 #line hidden
860
861 #line 199 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
862 if(!String.IsNullOrEmpty(GetString("Item.Myndatekstur"))){
863
864
865 #line default
866 #line hidden
867 WriteLiteral(" ");
868
869 WriteLiteral("\r\n <p");
870
871 WriteLiteral(" class=\"myndatekstur ml-2\"");
872
873 WriteLiteral(">");
874
875
876 #line 201 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
877 Write(GetString("Item.Myndatekstur"));
878
879
880 #line default
881 #line hidden
882 WriteLiteral("</p>\r\n ");
883
884
885 #line 202 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
886 }
887
888
889 #line default
890 #line hidden
891 WriteLiteral(" </div>\r\n </div>\r\n </div> <!--- MYND --->\r\n\r\n\r\n <div clas" +
892 "s=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-xl-7" +
893 " newstekstur\">\r\n");
894
895 WriteLiteral(" ");
896
897
898 #line 211 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
899 Write(GetString("Item.Tekstur"));
900
901
902 #line default
903 #line hidden
904 WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n");
905
906
907 #line 217 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
908 if(!String.IsNullOrEmpty(@GetString("Item.TeksturKnap")) && !String.IsNullOrEmpty(@GetString("Item.LeinkiKnappur"))){
909
910
911 #line default
912 #line hidden
913 WriteLiteral("\r\n <div");
914
915 WriteLiteral(" class=\"container\"");
916
917 WriteLiteral(">\r\n <div");
918
919 WriteLiteral(" class=\"row\"");
920
921 WriteLiteral(">\r\n <div");
922
923 WriteLiteral(" class=\"col-12 offset-sm-2 nowpadding\"");
924
925 WriteLiteral(">\r\n <h2>");
926
927
928 #line 222 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
929 Write(GetString("Item.YvirskriftTilKnapp"));
930
931
932 #line default
933 #line hidden
934 WriteLiteral("</h2>\r\n </div>\r\n <a");
935
936 WriteAttribute("href", Tuple.Create(" href=\'", 8545), Tuple.Create("\'", 8584)
937
938 #line 224 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
939 , Tuple.Create(Tuple.Create("", 8552), Tuple.Create<System.Object, System.Int32>(GetString("Item.LeinkiKnappur")
940
941 #line default
942 #line hidden
943 , 8552), false)
944 );
945
946 WriteLiteral(" class=\"col-12 col-sm-7 offset-sm-2 oydublad my-3\"");
947
948 WriteLiteral(">\r\n");
949
950 WriteLiteral(" ");
951
952
953 #line 225 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
954 Write(GetString("Item.TeksturKnap"));
955
956
957 #line default
958 #line hidden
959 WriteLiteral(" <span");
960
961 WriteLiteral(" class=\"icon-download taknidur\"");
962
963 WriteLiteral("></span>\r\n </a>\r\n </div> \r\n </div>\r\n\r\n");
964
965 WriteLiteral("\r\n");
966
967
968 #line 231 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
969 }
970
971
972 #line default
973 #line hidden
974 WriteLiteral("\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <h2 class=\"offset-sm-2\"" +
975 ">");
976
977
978 #line 235 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
979 Write(GetString("Item.YvirskrftMyndasavn"));
980
981
982 #line default
983 #line hidden
984 WriteLiteral("</h2>\r\n <div class=\"card-columns offset-sm-1 col-9\" id=\"lightgallery\">\r\n " +
985 "\r\n");
986
987
988 #line 238 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
989
990
991 #line default
992 #line hidden
993
994 #line 238 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
995
996 foreach(var file in GetLoop("Item.Mappa.ListOfFiles")){
997
998
999 #line default
1000 #line hidden
1001 WriteLiteral(" <div");
1002
1003 WriteLiteral(" class=\"card mb-4 \"");
1004
1005 WriteLiteral("> <a");
1006
1007 WriteLiteral(" class=\"item\"");
1008
1009 WriteAttribute("href", Tuple.Create(" href=\'", 9106), Tuple.Create("\'", 9174)
1010
1011 #line 240 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1012 , Tuple.Create(Tuple.Create("", 9113), Tuple.Create<System.Object, System.Int32>(GetValue("Item.Mappa")
1013
1014 #line default
1015 #line hidden
1016 , 9113), false)
1017 , Tuple.Create(Tuple.Create("", 9136), Tuple.Create("/", 9136), true)
1018
1019 #line 240 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1020 , Tuple.Create(Tuple.Create("", 9137), Tuple.Create<System.Object, System.Int32>(file.GetValue("Item.Mappa.FileName")
1021
1022 #line default
1023 #line hidden
1024 , 9137), false)
1025 );
1026
1027 WriteLiteral("><img");
1028
1029 WriteLiteral(" class=\"card-img\"");
1030
1031 WriteAttribute("src", Tuple.Create(" src=\'", 9197), Tuple.Create("\'", 9353)
1032 , Tuple.Create(Tuple.Create("", 9203), Tuple.Create("/admin/public/getimage.ashx?&Image=", 9203), true)
1033
1034 #line 240 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1035 , Tuple.Create(Tuple.Create("", 9238), Tuple.Create<System.Object, System.Int32>(GetValue(%22Item.Mappa%22)
1036
1037 #line default
1038 #line hidden
1039 , 9238), false)
1040 , Tuple.Create(Tuple.Create("", 9265), Tuple.Create("/", 9265), true)
1041
1042 #line 240 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1043 , Tuple.Create(Tuple.Create("", 9266), Tuple.Create<System.Object, System.Int32>(file.GetValue(%22Item.Mappa.FileName%22)
1044
1045 #line default
1046 #line hidden
1047 , 9266), false)
1048 , Tuple.Create(Tuple.Create("", 9307), Tuple.Create("&Resolution=75&Compression=90&Width=200&Crop=0", 9307), true)
1049 );
1050
1051 WriteLiteral("></a>\r\n </div>\r\n");
1052
1053
1054 #line 242 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1055 }
1056
1057
1058 #line default
1059 #line hidden
1060 WriteLiteral(" \r\n \r\n </div>\r\n <div class=\"col-2 \">\r\n \t <div class=\"linja ml-2\"" +
1061 "></div>\r\n <p class=\"myndatekstur ml-2\">");
1062
1063
1064 #line 248 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1065 Write(GetString("Item.TeksturTilMyndasavn"));
1066
1067
1068 #line default
1069 #line hidden
1070 WriteLiteral(@"</p>
1071 </div>
1072
1073 </div>
1074 </div> <!--- MASONRY --->
1075
1076
1077
1078 <div class=""container mb-5 hide"">
1079 <div class=""row"">
1080 <div class=""col-12 next"">
1081 <div class=""text-right"">
1082 <a href=""#""><p>Næst</p> <span class=""icon-arrow-right""></span></a>
1083 </div>
1084 </div>
1085 </div>
1086 </div>
1087
1088
1089 <div class=""container-fluid bg pb-5 list-group-parent"">
1090 <div class=""container"">
1091 <div class=""row"">
1092 <div class=""col-12 col-xl-9 offset-xl-1 "">
1093 <h2>Onnur Tíðindi</h2>
1094 <ul class=""list-group"">
1095 ");
1096
1097 WriteLiteral(" ");
1098
1099
1100 #line 273 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1101 Write(RenderParagraphContent(2));
1102
1103
1104 #line default
1105 #line hidden
1106 WriteLiteral(@"
1107
1108 </ul>
1109
1110 <div class=""col mt-4"">
1111 <div class=""row"">
1112 <a class=""showmore"" href=""/?id=48"">Vís fleiri</a>
1113 </div>
1114 </div>
1115 </div>
1116 </div>
1117 </div>
1118 </div> <!--- IN OTHER NEWS --->
1119
1120 <div class=""container-fluid bg-grey"">
1121 <div class=""container pb-5 hide"">
1122 <div class=""row"">
1123
1124 <div class=""col-12 m-4"">
1125 <h2 class=""text-center"">Yvirskrift, um tørvur er á tí</h2></div>
1126 ");
1127
1128 WriteLiteral(" ");
1129
1130
1131 #line 293 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1132 Write(RenderParagraphContent(3));
1133
1134
1135 #line default
1136 #line hidden
1137 WriteLiteral("\r\n\t\t\r\n\t</div>\r\n</div>\r\n</div>\r\n<!--- FOOTER --->\r\n\r\n");
1138
1139
1140 #line 300 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1141 if (!string.IsNullOrWhiteSpace(@GetString("Item.Video"))) {
1142
1143
1144 #line default
1145 #line hidden
1146 WriteLiteral(@"
1147 <script>
1148 document.addEventListener(""DOMContentLoaded"", function(event) {
1149 $('.videostart').on('click', function() {
1150 $(this).lightGallery({
1151 dynamic: true,
1152 zoom: false,
1153 youtubePlayerParams: { modestbranding: 1, showinfo: 0, controls: 0, rel: 0 },
1154 dynamicEl: [{
1155 ""src"": '");
1156
1157
1158 #line 310 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1159 Write(GetValue("Item.Video"));
1160
1161
1162 #line default
1163 #line hidden
1164 WriteLiteral("\'\r\n }]\r\n })\r\n \r\n });\r\n});\r\n \r\n \r\n</script>\r\n\r\n ");
1165
1166
1167 #line 320 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1168 }
1169
1170
1171 #line default
1172 #line hidden
1173 WriteLiteral("\r\n </section>\r\n\r\n <div class=\"container-fluid footer\">\r\n <div class=\"contain" +
1174 "er relative\">\r\n");
1175
1176
1177 #line 326 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1178
1179
1180 #line default
1181 #line hidden
1182
1183 #line 326 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1184 if (@GetBoolean("Item.LatestUpdate") == true)
1185 {
1186
1187
1188 #line default
1189 #line hidden
1190 WriteLiteral(" <div");
1191
1192 WriteLiteral(" class=\"latestupdate\"");
1193
1194 WriteLiteral(">\r\n <text>\r\n Dagført ");
1195
1196
1197 #line 330 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1198 Write(GetDate("DwPageUpdatedDate").ToString("dd. MMMM yyyy"));
1199
1200
1201 #line default
1202 #line hidden
1203 WriteLiteral("\r\n </text>\r\n </div>\r\n");
1204
1205
1206 #line 333 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1207 }
1208
1209
1210 #line default
1211 #line hidden
1212 WriteLiteral(" <div class=\"row \">\r\n\r\n <div class=\"col-sm-4 col-xl-3 mt-5\">\r\n " +
1213 " <img class=\"footerlogo\" src=\"/Files/Templates/Designs/SSTemplate/img/logo-po" +
1214 "s.svg\" alt=\"\">\r\n </div>\r\n <div class=\"col-sm-8 col-xl-3 mt-5\">\r\n");
1215
1216 WriteLiteral(" ");
1217
1218
1219 #line 340 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1220 Write(RenderParagraphContent(28));
1221
1222
1223 #line default
1224 #line hidden
1225 WriteLiteral("\r\n </div>\r\n <div class=\"col-xl-3 col-sm-8 offset-sm-4 offset-xl-0 m" +
1226 "t-5\">\r\n");
1227
1228 WriteLiteral(" ");
1229
1230
1231 #line 343 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1232 Write(RenderParagraphContent(29));
1233
1234
1235 #line default
1236 #line hidden
1237 WriteLiteral("\r\n </div>\r\n <div class=\"col-xl-3 col-sm-8 offset-sm-4 offset-xl-0 " +
1238 "mt-5\">\r\n");
1239
1240 WriteLiteral(" ");
1241
1242
1243 #line 346 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1244 Write(RenderParagraphContent(30));
1245
1246
1247 #line default
1248 #line hidden
1249 WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"container-f" +
1250 "luid footerbottom\">\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n " +
1251 " <div class=\"col-12 text-center\">\r\n <a class=\"kolofon\" target=\"_blank" +
1252 "\" href=\"//www.sendistovan.fo\"><img src=\"/Files/Templates/Designs/SSTemplate/img/" +
1253 "kolofon.svg\" alt=\"Sendistovan\">Ein loysn frá Sendistovuni</a>\r\n </div>\r\n " +
1254 " </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"mob-search\">\r\n <form met" +
1255 "hod=\"post\" action=\"?id=47\" id=\"mob-searchform\">\r\n <input type=\"submit\" clas" +
1256 "s=\"hide\">\r\n <input class=\"mobinput\" name=\"q\" type=\"text\" placeholder=\"Leita" +
1257 " á studni.fo\"><span class=\"icon-search mob-searchicon mob-submit\"></span>\r\n " +
1258 " <span class=\"icon-menu-close mob-search-close\"></span>\r\n\r\n </form>\r\n </div>" +
1259 "\r\n\r\n\r\n <script src=\"/Files/Templates/Designs/SSTemplate/js/tablesaw.js\"></scrip" +
1260 "t>\r\n <script src=\"/Files/Templates/Designs/SSTemplate/js/tablesaw-init.js\"></sc" +
1261 "ript>\r\n <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery." +
1262 "min.js\"></script>\r\n <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.1." +
1263 "0/js/bootstrap.min.js\"></script>\r\n <script src=\"/Files/Templates/Designs/SSTemp" +
1264 "late/lightgallery/js/lightgallery.min.js\"></script>\r\n <script src=\"/Files/Templ" +
1265 "ates/Designs/SSTemplate/lightgallery/js/lg-thumbnail.js\"></script>\r\n <script sr" +
1266 "c=\"/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-zoom.js\"></script>\r\n " +
1267 "<script src=\"/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-video.js\"></" +
1268 "script>\r\n\r\n\r\n\r\n <script src=\"/Files/Templates/Designs/SSTemplate/js/meanmenu.js" +
1269 "?build=23\"></script>\r\n <script>\r\n document.addEventListener(\"DOMContentLoade" +
1270 "d\", function (event) {\r\n jQuery(\'.mynav\').meanmenu();\r\n\r\n\r\n var div1Ht" +
1271 "ml = $(\'.mobilmenpush\').html();\r\n\r\n $(\".meanmenu\").append(div1Html);\r\n\r\n " +
1272 " $(\".search-reveal\").click(function () {\r\n\r\n\r\n $(\'.mob-search\').fadeIn(" +
1273 "\"fast\");\r\n $(\'.mobinput\').focus();\r\n });\r\n\r\n $(\".mob-submit\").c" +
1274 "lick(function () {\r\n $(\'#mob-searchform\').submit();\r\n });\r\n\r\n\r\n }" +
1275 ");\r\n\r\n </script>\r\n <script>\r\n\r\n document.addEventListener(\"DOMContentLoaded" +
1276 "\", function (event) {\r\n $(\'.mob-search\').hide();\r\n\r\n $(\".mob-search-cl" +
1277 "ose\").click(function () {\r\n\r\n\r\n $(\'.mob-search\').fadeOut(\"fast\");\r\n " +
1278 "});\r\n\r\n\r\n\r\n });\r\n </script>\r\n\r\n <!-- mobsearch og meanmenu end -->\r\n\r\n <sc" +
1279 "ript>\r\n $(\"#lightgallery\").lightGallery({\r\n selector: \".item\"\r\n })\r\n " +
1280 " </script>\r\n\r\n <script>\r\n $(document).ready(function () {\r\n $(\'.sv.svar" +
1281 "Open\').slideToggle(\'fast\');\r\n jQuery(\'.frontsp .spurningur\').click(function" +
1282 " () {\r\n\r\n if ($(this).next(\'.svar\').hasClass(\'svarOpen\')) {\r\n $(" +
1283 "this).next(\'.svar\').removeClass(\'svarOpen\');\r\n $(this).removeClass(\'spu" +
1284 "rningurOpen\');\r\n $(this).next(\'.svar\').slideToggle(\'fast\');\r\n\r\n " +
1285 "}\r\n\r\n else {\r\n $(this).addClass(\'spurningurOpen\');\r\n $(" +
1286 "this).next(\'.svar\').addClass(\'svarOpen\');\r\n $(this).next(\'.svar\').slide" +
1287 "Toggle(\'fast\');\r\n\r\n\r\n }\r\n })\r\n });\r\n </script>\r\n\r\n\r\n\r\n <script>" +
1288 "\r\n $(\".scrolltop\").click(function () {\r\n $(\"html, body\").animate({ scrol" +
1289 "lTop: 0 }, \"slow\");\r\n return false;\r\n });\r\n </script>\r\n\r\n\r\n <script>\r\n" +
1290 " $(document).ready(function () {\r\n $(window).scroll(function () {\r\n " +
1291 " var y = 0;\r\n var scroll = $(window).scrollTop();\r\n var win = $(" +
1292 "window).height()\r\n var height = $(\".parallax\").height();\r\n var off" +
1293 "set = $(\".parallax\").offset().top;\r\n y = ((100 * scroll) / (height + win)" +
1294 ") + ((100 * (win - offset)) / (height + win));\r\n if (y > 100) { y = 100; " +
1295 "}\r\n else if (y < 0) { y = 0; }\r\n var out = String(y) + \"%\";\r\n " +
1296 " $(\".parallax\").css(\"background-position-y\", out);\r\n });\r\n\r\n });\r\n </" +
1297 "script>\r\n\r\n\r\n <script>\r\n $(document).ready(function () {\r\n\r\n $(\"#starvs" +
1298 "input\").on(\"keyup\", function () {\r\n var value = $(this).val().toLowerCase" +
1299 "();\r\n\r\n $(\".starvsf\").filter(function () {\r\n $(this).toggle($(th" +
1300 "is).text().toLowerCase().indexOf(value) > -1)\r\n\r\n })\r\n\r\n })\r\n });" +
1301 "\r\n </script>\r\n\r\n\r\n <script>\r\n $(document).ready(function () {\r\n\r\n $(do" +
1302 "cument.body).on(\'change\', \"#newsyearfilter\", function (e) {\r\n //doStuff\r\n" +
1303 " var optVal = $(\"#newsyearfilter option:selected\").val();\r\n\r\n\r\n $(" +
1304 "\".newslist\").filter(function () {\r\n $(this).toggle($(this).find(\'.newsd" +
1305 "ate\').text().toLowerCase().indexOf(optVal) > -1)\r\n\r\n })\r\n\r\n });\r\n\r\n\r" +
1306 "\n\r\n });\r\n </script>\r\n\r\n\r\n\r\n <script>\r\n srcinput = 1;\r\n $(\".stdsrchinp" +
1307 "ut\").hide();\r\n $(\".searchicon\").addClass(\"whitetext\")\r\n $(document).ready(" +
1308 "function () {\r\n\r\n $(\".stdsrchinput\").on(\"keyup\", function () {\r\n if " +
1309 "($(this).val() != \"\") {\r\n $(\'.searchicon\').removeClass(\'icon-search\');\r" +
1310 "\n $(\'.searchicon\').addClass(\'icon-menu-close\');\r\n srcinput = 1" +
1311 ";\r\n\r\n }\r\n else {\r\n $(\'.searchicon\').addClass(\'icon-search" +
1312 "\');\r\n $(\'.searchicon\').removeClass(\'icon-menu-close\');\r\n srcin" +
1313 "put = 0;\r\n\r\n }\r\n });\r\n\r\n\r\n $(\".searchicon\").click(function () {" +
1314 "\r\n\r\n\r\n\r\n if (!$(this).hasClass(\"icon-menu-close\")) {\r\n $(\".stdsr" +
1315 "chinput\").toggle();\r\n $(\".stdsrchinput\").focus();\r\n $(\".search" +
1316 "icon\").toggleClass(\"whitetext\");\r\n\r\n\r\n }\r\n else {\r\n\r\n if " +
1317 "(srcinput == 1) {\r\n $(\".stdsrchinput\").val(\"\");\r\n\r\n $(\'.se" +
1318 "archicon\').addClass(\'icon-search\');\r\n $(\'.searchicon\').removeClass(\'i" +
1319 "con-menu-close\');\r\n srcinput = 0;\r\n }\r\n }\r\n\r\n\r\n\r\n " +
1320 " });\r\n\r\n\r\n\r\n\r\n });\r\n\r\n\r\n\r\n\r\n </script>\r\n\r\n <script>\r\n $(\'input\').on(\'bl" +
1321 "ur\', function () {\r\n $(this).removeClass(\'focus\');\r\n }).on(\'focus\', func" +
1322 "tion () {\r\n $(this).addClass(\'focus\');\r\n })\r\n\r\n $(\'textarea\').on(\'blu" +
1323 "r\', function () {\r\n $(this).removeClass(\'focus\');\r\n }).on(\'focus\', funct" +
1324 "ion () {\r\n $(this).addClass(\'focus\');\r\n })\r\n </script>\r\n\r\n <script>\r\n\r" +
1325 "\n $(document).bind(\'click\', function (e) {\r\n if ($(e.target).closest(\'#s" +
1326 "earchform\').length === 0) {\r\n if ($(\".stdsrchinput\").is(\':visible\') === t" +
1327 "rue) {\r\n $(\".stdsrchinput\").blur();\r\n srcinput = 1;\r\n " +
1328 " $(\".stdsrchinput\").hide();\r\n $(\".searchicon\").addClass(\"whitetext\")\r\n " +
1329 " $(\'.searchicon\').addClass(\'icon-search\');\r\n $(\'.searchicon\').r" +
1330 "emoveClass(\'icon-menu-close\');\r\n $(\".stdsrchinput\").val(\"\");\r\n }" +
1331 "\r\n }\r\n });\r\n\r\n\r\n </script>\r\n\r\n\r\n\r\n\r\n\r\n <script>\r\n $(document).ready" +
1332 "(function () {\r\n $(\"a\").on(\"click\", function (e) {\r\n if (\"\" !== this" +
1333 ".hash) {\r\n e.preventDefault();\r\n var t = this.hash;\r\n " +
1334 " $(\"html, body\").animate({\r\n scrollTop: $(t).offset().top\r\n " +
1335 "}, 800, function () {\r\n window.location.hash = t\r\n })\r\n " +
1336 " }\r\n })\r\n })\r\n\r\n\r\n </script>\r\n\r\n");
1337
1338 WriteLiteral(" ");
1339
1340
1341 #line 636 "E:\dynamicweb.net\Solutions\Sendistovan\studni.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml"
1342 Write(GetString("Item.Area.Funktionalitetir.FacebookTrackingPixul"));
1343
1344
1345 #line default
1346 #line hidden
1347 WriteLiteral("\r\n\r\n \r\n <script");
1348
1349 WriteLiteral(" src=\'https://customerwidget.joinflow.com/tvx-customer-widget-app.js?widgetId=f83" +
1350 "6d327-c2e0-4453-8f88-d39e89892ef1\'");
1351
1352 WriteLiteral(" charset=\"utf-8\"");
1353
1354 WriteLiteral(" crossorigin=\"anonymous\"");
1355
1356 WriteLiteral(" type=\"text/javascript\"");
1357
1358 WriteLiteral(" defer=\"\"");
1359
1360 WriteLiteral("></script>\r\n\r\n\r\n\r\n</body>\r\n\r\n</html>");
1361
1362 }
1363 }
1364 }
1365
1 @using System.Web.Mvc;
2 @using System.Text.RegularExpressions;
3 @using System.Web;
4 @using System.IO;
5 @using System.Linq;
6 @{
7 string basecss = "/Files/Templates/Designs/SSTemplate/css/base.css";
8 string ifolder = basecss.Substring(0, basecss.LastIndexOf("/")).ToString();
9 string ifolderOnDisk = System.Web.HttpContext.Current.Server.MapPath(ifolder);
10 DirectoryInfo idirectoryInfo = new System.IO.DirectoryInfo(ifolderOnDisk);
11 string idatefetch = @idirectoryInfo + "\\base.css";
12 DateTime ilastmodified = File.GetLastWriteTime(@idatefetch);
13 basecss = @basecss + "?modified=" + @ilastmodified.ToString("yyyy-MM-ddTHH:mm:ss");
14 string stylecss = "/Files/Templates/Designs/SSTemplate/css/styles.css";
15 string ufolder = stylecss.Substring(0, stylecss.LastIndexOf("/")).ToString();
16 string ufolderOnDisk = System.Web.HttpContext.Current.Server.MapPath(ufolder);
17 DirectoryInfo udirectoryInfo = new System.IO.DirectoryInfo(ufolderOnDisk);
18 string udatefetch = @udirectoryInfo + "\\styles.css";
19 DateTime ulastmodified = File.GetLastWriteTime(@udatefetch);
20 stylecss = @stylecss + "?modified=" + @ulastmodified.ToString("yyyy-MM-ddTHH:mm:ss");
21 }
22 @{
23 string logo = @GetString("Item.Area.Design.Logo");
24
25 }
26 <!DOCTYPE html>
27 <html lang="fo">
28 @{
29 string pageid = @GetString("DwPageID");
30
31 string readspeak = @GetString("Item.Area.Funktionalitetir.BaseUr") + "?id=" + pageid;
32 string pagenametit = @GetString("DwPageName");
33
34 string pagearea = @GetString("DwPageID_1");
35 pagearea = "top" + pagearea;
36 ViewBag.BaseUrl = @GetString("Item.Area.Funktionalitetir.BaseUr");
37 ViewBag.StoddStarvs = @GetString("Item.Page.StoddStarv");
38 }
39
40
41
42 <head>
43 <meta charset="utf-8">
44 <meta http-equiv="X-UA-Compatible" content="IE=edge">
45 <meta name="viewport" content="width=device-width, initial-scale=1">
46
47 <meta name="author" content="">
48 <meta property="og:url" content="@readspeak">
49 <meta property="og:locale" content="fo_FO">
50 <meta property="og:title" content="@pagenametit">
51
52 @RenderSnippet("FBimg")
53
54 <link href="https://fonts.googleapis.com/css?family=Raleway:700,800%7CRoboto:300i,400,400i,700" rel="stylesheet">
55
56 <link rel="stylesheet" href="https://cdn.icomoon.io/136306/Studnifo/style-cf.css?zzt2t">
57 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
58 <link type="text/css" rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/lightgallery/css/lightgallery.css">
59 <link rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/tablesaw.css">
60 <link rel="stylesheet" href="@basecss">
61 <link rel="stylesheet" href="@stylecss">
62 <link rel="shortcut icon" type="image/ico" href="/Files/Templates/Designs/SSTemplate/img/favicon.ico">
63 <link rel="shortcut icon" type="image/png" href="/Files/Templates/Designs/SSTemplate/img/Favicon.png">
64 <link rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/meanmenu.css?build=25">
65 <link type="text/css" rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/base-mobil.css">
66 <link type="text/css" rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/styles-mobil.css">
67
68 @GetValue("CopyRightNotice")
69 @GetValue("MetaTags")
70 @GetValue("Stylesheets")
71 @GetValue("Javascripts")
72 </head>
73
74 <body>
75 <script src="https://consent.cookiefirst.com/banner.js" data-cookiefirst-key="111a2558-96b1-4a07-bbd1-bcadbabc8ad3"></script>
76 @GetString("Item.Area.FacebookJaascriptSDK")
77 <div class="container toptop d-none d-sm-none d-md-block">
78 <div class="row">
79 <div class="col-md-12">
80 <a class="navbar-brand" href="/"><img class="img-fluid mainlogo" src="@logo"></a>
81 <a class="langlink langfo @pageid d-none d-sm-none d-md-block" href="?id=38">FO <span class="icon-dropdown"></span></a>
82 <a class="langlink langen @pageid d-none d-sm-none d-md-block" href="?id=97">EN <span class="icon-dropdown"></span></a>
83 <form method="post" id="searchform" action="?id=47" class="form-inline my-2 my-md-0 relative d-none d-sm-none d-md-block">
84 <input type="submit" class="hide">
85 <input class="form-control stdsrchinput" name="q" type="text" placeholder="Leita á studni.fo"><span class="icon-search searchicon"></span>
86
87 </form>
88
89 </div>
90 </div>
91 </div>
92
93 <div class="mynav d-md-none d-lg-none d-xl-none">
94 @GetValue("DwNavigation(mobmen)")
95
96 </div><!-- #dl-menu end -->
97
98 <nav class="navbar navbar-expand-md mt-2 mb-2 d-none d-sm-none d-md-block">
99 <div class="container mobmen">
100
101
102
103 <div class="collapse navbar-collapse" id="menu">
104 @GetValue("DwNavigation(topmen1)")
105
106 </div>
107
108 </div>
109 </nav>
110 <!--- NAVIGATION --->
111
112
113 @if (GetBoolean("Item.ShowBradcrumbs") == true)
114 {
115 <text>
116 <div class="container-fluid mb-0 bread">
117 <div class="container">
118 <div class="row">
119 <div class="bread col my-2">
120 @GetValue("DwNavigation(bread)")
121 </div>
122 </div>
123 </div>
124 </div>
125 </text>
126 }
127 <!--- BREADCRUMB --->
128 <section id="contentsec">
129 @using System.Text.RegularExpressions;
130 @using System.Web;
131
132 @{
133 string mynd=@GetString("Item.Area.Design.FacebookDeilFallback");
134
135 string play="";
136 string videostart="";
137 }
138 @if(!string.IsNullOrEmpty(@GetString("Item.Video"))){play="<span class='icon-media-video'></span>"; videostart="videostart";}
139 else {play="";}
140
141 @if(!String.IsNullOrEmpty(GetString("Item.Mynd"))){
142 mynd = @GetString("Item.Mynd");
143 mynd=@mynd.Replace(" ", "%20");
144 }
145
146
147 @SnippetStart("FBimg")
148 <meta property="og:image" content="@ViewBag.BaseUrl@mynd">
149 @SnippetEnd("FBimg")
150
151
152
153
154 <div class="container">
155 <div class="row">
156 <div class="col-xl-9 col-sm-12 mt-5 ">
157 <p class="dato hide">@GetDate("Item.Dato").ToString("dd. MMMM yyyy")</p>
158 <h1>@GetString("Item.Yvirskrift")<a href="#"><span class="icon-readspeak"></span></a> </h1>
159 @if(!String.IsNullOrEmpty(GetString("Item.Inngangstekstur"))){
160 <p class="introIII mt-4 mb-5">@GetString("Item.Inngangstekstur")</p> }
161 </div>
162 </div>
163 </div> <!--- INTRO TEXT --->
164
165 <div class="container">
166 <div class="row">
167 @if(@GetBoolean("Item.MogulleikaFyriAtDeila")==true){
168 <text>
169 <div class="col-sm-1">
170
171
172
173 <div class="linja mt-5"></div>
174 <p class="share">Deil:</p>
175 <a href="#" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href),'facebook-share-dialog','width=626,height=436');return false;"><span class="icon-share-facebook"><span class="path1"></span><span class="path2"></span><span class="path3"></span></span></a>
176 @{
177 string pagename=@GetString("DwPageName");
178 string pagelink=@HttpContext.Current.Request.Url.AbsoluteUri;
179 }
180 <a href="mailto:?Subject=@pagename&body=Trýst á leinki her @pagelink"><span class="icon-share-email"><span class="path1"></span><span class="path2"></span><span class="path3"></span></span></a>
181
182
183 </div>
184 </text>
185 }
186 <div class="col-12 col-xl-9">
187 @if(!String.IsNullOrEmpty(@GetString("Item.Mynd"))){
188 <text>
189 <div class="newsitemimage relative @videostart">
190 <img src="@mynd" class="img-fluid mt-5 mb-3">
191 @play
192 </div>
193 </text>
194 }
195
196 </div>
197 <div class="col-12 col-xl-2">
198 <div class="linja mt-5 ml-2"></div>
199 @if(!String.IsNullOrEmpty(GetString("Item.Myndatekstur"))){
200 <text>
201 <p class="myndatekstur ml-2">@GetString("Item.Myndatekstur")</p>
202 </text>}
203 </div>
204 </div>
205 </div> <!--- MYND --->
206
207
208 <div class="container">
209 <div class="row">
210 <div class="col-12 col-xl-7 newstekstur">
211 @GetString("Item.Tekstur")
212 </div>
213 </div>
214 </div>
215
216
217 @if(!String.IsNullOrEmpty(@GetString("Item.TeksturKnap")) && !String.IsNullOrEmpty(@GetString("Item.LeinkiKnappur"))){
218 <text>
219 <div class="container">
220 <div class="row">
221 <div class="col-12 offset-sm-2 nowpadding">
222 <h2>@GetString("Item.YvirskriftTilKnapp")</h2>
223 </div>
224 <a href='@GetString("Item.LeinkiKnappur")' class="col-12 col-sm-7 offset-sm-2 oydublad my-3">
225 @GetString("Item.TeksturKnap") <span class="icon-download taknidur"></span>
226 </a>
227 </div>
228 </div>
229
230 </text>
231 }
232
233 <div class="container">
234 <div class="row">
235 <h2 class="offset-sm-2">@GetString("Item.YvirskrftMyndasavn")</h2>
236 <div class="card-columns offset-sm-1 col-9" id="lightgallery">
237
238 @{
239 foreach(var file in GetLoop("Item.Mappa.ListOfFiles")){
240 <div class="card mb-4 "> <a class="item" href='@GetValue("Item.Mappa")/@file.GetValue("Item.Mappa.FileName")'><img class="card-img" src='/admin/public/getimage.ashx?&Image=@GetValue(%22Item.Mappa%22)/@file.GetValue(%22Item.Mappa.FileName%22)&Resolution=75&Compression=90&Width=200&Crop=0'></a>
241 </div>
242 }
243 }
244
245 </div>
246 <div class="col-2 ">
247 <div class="linja ml-2"></div>
248 <p class="myndatekstur ml-2">@GetString("Item.TeksturTilMyndasavn")</p>
249 </div>
250
251 </div>
252 </div> <!--- MASONRY --->
253
254
255
256 <div class="container mb-5 hide">
257 <div class="row">
258 <div class="col-12 next">
259 <div class="text-right">
260 <a href="#"><p>Næst</p> <span class="icon-arrow-right"></span></a>
261 </div>
262 </div>
263 </div>
264 </div>
265
266
267 <div class="container-fluid bg pb-5 list-group-parent">
268 <div class="container">
269 <div class="row">
270 <div class="col-12 col-xl-9 offset-xl-1 ">
271 <h2>Onnur Tíðindi</h2>
272 <ul class="list-group">
273 @RenderParagraphContent(2)
274
275 </ul>
276
277 <div class="col mt-4">
278 <div class="row">
279 <a class="showmore" href="/?id=48">Vís fleiri</a>
280 </div>
281 </div>
282 </div>
283 </div>
284 </div>
285 </div> <!--- IN OTHER NEWS --->
286
287 <div class="container-fluid bg-grey">
288 <div class="container pb-5 hide">
289 <div class="row">
290
291 <div class="col-12 m-4">
292 <h2 class="text-center">Yvirskrift, um tørvur er á tí</h2></div>
293 @RenderParagraphContent(3)
294
295 </div>
296 </div>
297 </div>
298 <!--- FOOTER --->
299
300 @if (!string.IsNullOrWhiteSpace(@GetString("Item.Video"))) {
301 <text>
302 <script>
303 document.addEventListener("DOMContentLoaded", function(event) {
304 $('.videostart').on('click', function() {
305 $(this).lightGallery({
306 dynamic: true,
307 zoom: false,
308 youtubePlayerParams: { modestbranding: 1, showinfo: 0, controls: 0, rel: 0 },
309 dynamicEl: [{
310 "src": '@GetValue("Item.Video")'
311 }]
312 })
313
314 });
315 });
316
317
318 </script>
319
320 </text>}
321
322 </section>
323
324 <div class="container-fluid footer">
325 <div class="container relative">
326 @if (@GetBoolean("Item.LatestUpdate") == true)
327 {
328 <div class="latestupdate">
329 <text>
330 Dagført @GetDate("DwPageUpdatedDate").ToString("dd. MMMM yyyy")
331 </text>
332 </div>
333 }
334 <div class="row ">
335
336 <div class="col-sm-4 col-xl-3 mt-5">
337 <img class="footerlogo" src="/Files/Templates/Designs/SSTemplate/img/logo-pos.svg" alt="">
338 </div>
339 <div class="col-sm-8 col-xl-3 mt-5">
340 @RenderParagraphContent(28)
341 </div>
342 <div class="col-xl-3 col-sm-8 offset-sm-4 offset-xl-0 mt-5">
343 @RenderParagraphContent(29)
344 </div>
345 <div class="col-xl-3 col-sm-8 offset-sm-4 offset-xl-0 mt-5">
346 @RenderParagraphContent(30)
347 </div>
348 </div>
349 </div>
350 </div>
351
352 <div class="container-fluid footerbottom">
353 <div class="container">
354 <div class="row">
355 <div class="col-12 text-center">
356 <a class="kolofon" target="_blank" href="//www.sendistovan.fo"><img src="/Files/Templates/Designs/SSTemplate/img/kolofon.svg" alt="Sendistovan">Ein loysn frá Sendistovuni</a>
357 </div>
358 </div>
359 </div>
360 </div>
361
362
363 <div class="mob-search">
364 <form method="post" action="?id=47" id="mob-searchform">
365 <input type="submit" class="hide">
366 <input class="mobinput" name="q" type="text" placeholder="Leita á studni.fo"><span class="icon-search mob-searchicon mob-submit"></span>
367 <span class="icon-menu-close mob-search-close"></span>
368
369 </form>
370 </div>
371
372
373 <script src="/Files/Templates/Designs/SSTemplate/js/tablesaw.js"></script>
374 <script src="/Files/Templates/Designs/SSTemplate/js/tablesaw-init.js"></script>
375 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
376 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
377 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lightgallery.min.js"></script>
378 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-thumbnail.js"></script>
379 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-zoom.js"></script>
380 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-video.js"></script>
381
382
383
384 <script src="/Files/Templates/Designs/SSTemplate/js/meanmenu.js?build=23"></script>
385 <script>
386 document.addEventListener("DOMContentLoaded", function (event) {
387 jQuery('.mynav').meanmenu();
388
389
390 var div1Html = $('.mobilmenpush').html();
391
392 $(".meanmenu").append(div1Html);
393
394 $(".search-reveal").click(function () {
395
396
397 $('.mob-search').fadeIn("fast");
398 $('.mobinput').focus();
399 });
400
401 $(".mob-submit").click(function () {
402 $('#mob-searchform').submit();
403 });
404
405
406 });
407
408 </script>
409 <script>
410
411 document.addEventListener("DOMContentLoaded", function (event) {
412 $('.mob-search').hide();
413
414 $(".mob-search-close").click(function () {
415
416
417 $('.mob-search').fadeOut("fast");
418 });
419
420
421
422 });
423 </script>
424
425 <!-- mobsearch og meanmenu end -->
426
427 <script>
428 $("#lightgallery").lightGallery({
429 selector: ".item"
430 })
431 </script>
432
433 <script>
434 $(document).ready(function () {
435 $('.sv.svarOpen').slideToggle('fast');
436 jQuery('.frontsp .spurningur').click(function () {
437
438 if ($(this).next('.svar').hasClass('svarOpen')) {
439 $(this).next('.svar').removeClass('svarOpen');
440 $(this).removeClass('spurningurOpen');
441 $(this).next('.svar').slideToggle('fast');
442
443 }
444
445 else {
446 $(this).addClass('spurningurOpen');
447 $(this).next('.svar').addClass('svarOpen');
448 $(this).next('.svar').slideToggle('fast');
449
450
451 }
452 })
453 });
454 </script>
455
456
457
458 <script>
459 $(".scrolltop").click(function () {
460 $("html, body").animate({ scrollTop: 0 }, "slow");
461 return false;
462 });
463 </script>
464
465
466 <script>
467 $(document).ready(function () {
468 $(window).scroll(function () {
469 var y = 0;
470 var scroll = $(window).scrollTop();
471 var win = $(window).height()
472 var height = $(".parallax").height();
473 var offset = $(".parallax").offset().top;
474 y = ((100 * scroll) / (height + win)) + ((100 * (win - offset)) / (height + win));
475 if (y > 100) { y = 100; }
476 else if (y < 0) { y = 0; }
477 var out = String(y) + "%";
478 $(".parallax").css("background-position-y", out);
479 });
480
481 });
482 </script>
483
484
485 <script>
486 $(document).ready(function () {
487
488 $("#starvsinput").on("keyup", function () {
489 var value = $(this).val().toLowerCase();
490
491 $(".starvsf").filter(function () {
492 $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
493
494 })
495
496 })
497 });
498 </script>
499
500
501 <script>
502 $(document).ready(function () {
503
504 $(document.body).on('change', "#newsyearfilter", function (e) {
505 //doStuff
506 var optVal = $("#newsyearfilter option:selected").val();
507
508
509 $(".newslist").filter(function () {
510 $(this).toggle($(this).find('.newsdate').text().toLowerCase().indexOf(optVal) > -1)
511
512 })
513
514 });
515
516
517
518 });
519 </script>
520
521
522
523 <script>
524 srcinput = 1;
525 $(".stdsrchinput").hide();
526 $(".searchicon").addClass("whitetext")
527 $(document).ready(function () {
528
529 $(".stdsrchinput").on("keyup", function () {
530 if ($(this).val() != "") {
531 $('.searchicon').removeClass('icon-search');
532 $('.searchicon').addClass('icon-menu-close');
533 srcinput = 1;
534
535 }
536 else {
537 $('.searchicon').addClass('icon-search');
538 $('.searchicon').removeClass('icon-menu-close');
539 srcinput = 0;
540
541 }
542 });
543
544
545 $(".searchicon").click(function () {
546
547
548
549 if (!$(this).hasClass("icon-menu-close")) {
550 $(".stdsrchinput").toggle();
551 $(".stdsrchinput").focus();
552 $(".searchicon").toggleClass("whitetext");
553
554
555 }
556 else {
557
558 if (srcinput == 1) {
559 $(".stdsrchinput").val("");
560
561 $('.searchicon').addClass('icon-search');
562 $('.searchicon').removeClass('icon-menu-close');
563 srcinput = 0;
564 }
565 }
566
567
568
569 });
570
571
572
573
574 });
575
576
577
578
579 </script>
580
581 <script>
582 $('input').on('blur', function () {
583 $(this).removeClass('focus');
584 }).on('focus', function () {
585 $(this).addClass('focus');
586 })
587
588 $('textarea').on('blur', function () {
589 $(this).removeClass('focus');
590 }).on('focus', function () {
591 $(this).addClass('focus');
592 })
593 </script>
594
595 <script>
596
597 $(document).bind('click', function (e) {
598 if ($(e.target).closest('#searchform').length === 0) {
599 if ($(".stdsrchinput").is(':visible') === true) {
600 $(".stdsrchinput").blur();
601 srcinput = 1;
602 $(".stdsrchinput").hide();
603 $(".searchicon").addClass("whitetext")
604 $('.searchicon').addClass('icon-search');
605 $('.searchicon').removeClass('icon-menu-close');
606 $(".stdsrchinput").val("");
607 }
608 }
609 });
610
611
612 </script>
613
614
615
616
617
618 <script>
619 $(document).ready(function () {
620 $("a").on("click", function (e) {
621 if ("" !== this.hash) {
622 e.preventDefault();
623 var t = this.hash;
624 $("html, body").animate({
625 scrollTop: $(t).offset().top
626 }, 800, function () {
627 window.location.hash = t
628 })
629 }
630 })
631 })
632
633
634 </script>
635
636 @GetString("Item.Area.Funktionalitetir.FacebookTrackingPixul")
637
638
639 <script src='https://customerwidget.joinflow.com/tvx-customer-widget-app.js?widgetId=f836d327-c2e0-4453-8f88-d39e89892ef1' charset="utf-8" crossorigin="anonymous" type="text/javascript" defer=""></script>
640
641
642
643 </body>
644
645 </html>