Aggregatore Risorse
Ageng Sasangka
modificato 3 Anni fa.
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> .vars['reserved-article-display-date'] [in template "20101#20127#399640" at line 1, column 31] ---- Tip: It's the final [] step that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign articleDisplayDate = .vars["r... [in template "20101#20127#399640" at line 1, column 1] ----
1<#assign articleDisplayDate = .vars['reserved-article-display-date'].data />
2<#assign originalLocale = locale>
3<#setting locale = 'en_US'>
4<#assign date = articleDisplayDate?date("EEE, dd MMM yyyy hh:mm:ss zzz")>
5<#assign dateTimeFormat = languageUtil.get(originalLocale, "MMM dd, yyyy")>
6<#assign date = date?string(dateTimeFormat)>
7
8<#assign
9
10 newsContent = Content.getData()
11 newsTitle = .vars['reserved-article-title'].data
12
13 folderIconPath = "/documents/109702/122888"
14
15/>
16
17<style>
18
19#app-content .portlet-content-container .asset-full-content .asset-details {
20 display:none;
21}
22
23#app-content div.portlet-asset-publisher:nth-child(1) .section.article {
24 padding-bottom : 0 !important;
25}
26
27#app-content div.portlet-asset-publisher:nth-child(2) .section {
28 padding-top : 0;
29}
30
31</style>
32
33<section class="section article">
34 <div class="container">
35 <div class="row justify-content-center">
36 <div class="col-md-8">
37 <h6 class="article__category"><a href="/news">News</a></h6>
38 <h1 class="article__title">${newsTitle}</h1>
39 <time class="article__time">${date}</time>
40
41 <div class="article__content">
42 <div class="text-justify">
43 ${newsContent}
44 </div>
45
46
47 <div class="text-center">
48 <p class="mb-2"><strong>Share</strong></p>
49 <ul class="article__share mt-2">
50 <li onclick="">
51 <a href="#" class="link-fb">
52 <!--<img src="${folderIconPath}/fb.png" alt=""> -->
53 <i class="fa fa-facebook" aria-hidden="true"></i>
54 </a>
55 </li>
56 <li onclick="">
57 <a href="#" class="link-twitter">
58 <!--<img src="${folderIconPath}/twitter.png" alt=""> -->
59 <i class="fa fa-twitter" aria-hidden="true"></i>
60 </a>
61 </li>
62 <li onclick="">
63 <a href="#" class="link-linkedin">
64 <!--<img src="${folderIconPath}/linkedin.png" alt=""> -->
65 <i class="fa fa-linkedin" aria-hidden="true"></i>
66 </a>
67 </li>
68 </ul>
69 </div>
70 </div>
71 </div>
72 </div>
73 <h2 class="r-line b-title mt-5">Related News</h2>
74 </div>
75 </section>
76
77<script type="text/javascript">
78 $(document).ready(function() {
79 $('.link-fb').parent().attr("onclick", $('.taglib-social-bookmark-facebook').attr("onclick"));
80 $('.link-twitter').parent().attr("onclick", $('.taglib-social-bookmark-twitter').attr("onclick"));
81 $('.link-linkedin').parent().attr("onclick", $('.taglib-social-bookmark-linkedin').attr("onclick"));
82 $('.link-fb').attr("href", $('.taglib-social-bookmark-facebook a').attr("href"));
83 $('.link-twitter').attr("href", $('.taglib-social-bookmark-twitter a').attr("href"));
84 $('.link-linkedin').attr("href", $('.taglib-social-bookmark-linkedin a').attr("href"));
85 });
86</script>