Trang bình luận
Có lỗi xảy ra trong quá trình xử lý biểu mẫu.
Template importing failed (for parameter value "_TEMPLATE_CONTEXT_/29795641980326/20117/20005/33140"):
Syntax error in template "33140" in line 578, column 1:
Encountered "</#macro>", but at this place only this can be closed: "#if". This usually because of wrong nesting of FreeMarker directives, like a missed or malformed end-tag somewhere. (Note that FreeMarker end-tags must have # or @ after the / character.)
Was expecting one of these patterns:
    <ATTEMPT>
    <IF>
    <ELSE_IF>
    <LIST>
    <ITEMS>
    <SEP>
    <FOREACH>
    <SWITCH>
    <ASSIGN>
    <GLOBALASSIGN>
    <LOCALASSIGN>
    <_INCLUDE>
    <IMPORT>
    <FUNCTION>
    <MACRO>
    <TRANSFORM>
    <VISIT>
    <STOP>
    <RETURN>
    <CALL>
    <SETTING>
    <OUTPUTFORMAT>
    <AUTOESC>
    <NOAUTOESC>
    <COMPRESS>
    <COMMENT>
    <TERSE_COMMENT>
    <NOPARSE>
    <END_IF>
    <ELSE>
    <BREAK>
    <CONTINUE>
    <SIMPLE_RETURN>
    <HALT>
    <FLUSH>
    <TRIM>
    <LTRIM>
    <RTRIM>
    <NOTRIM>
    <SIMPLE_NESTED>
    <NESTED>
    <SIMPLE_RECURSE>
    <RECURSE>
    <FALLBACK>
    <ESCAPE>
    <NOESCAPE>
    <UNIFIED_CALL>
    <STATIC_TEXT_WS>
    <STATIC_TEXT_NON_WS>
    <STATIC_TEXT_FALSE_ALARM>
    "${"
    "#{"
    "[="

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #import "${templatesPath}/33140" as apme  [in template "29795641980326#20120#33045" at line 8, column 1]
----
1<#-- 
2Widget templates can be used to modify the look of a 
3specific application. 
4 
5Please use the right panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<#import "${templatesPath}/33140" as apme /> 
9<#global 
10defaultThumbnailImageUrl = "/documents/20117/32827/logo-nhnnvn-3.png" /> 
11<#if !entries?has_content> 
12    <#if !themeDisplay.isSignedIn()> 
13        ${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
14    </#if> 
15 
16    <div class="alert alert-info"> 
17        <@liferay_ui["message"] key="there-are-no-results" /> 
18    </div> 
19</#if> 
20 
21<div class="danh-sach-tin-tuc-v5 "> 
22    <div class="all-news"> 
23        <div class="row"> 
24            <#list entries as entry> 
25                <#global 
26                entry = entry 
27 
28                assetRenderer = entry.getAssetRenderer() 
29 
30                entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) 
31 
32                viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent")) 
33                /> 
34                <div class="col-md-4 col-sm-6 col-12 grid-items"> 
35                    <@apme.getThumbnailPreview /> 
36                    <@apme.getMetadataField fieldName="publish-date" /> 
37                    <@apme.getEntryTitle /> 
38                </div> 
39            </#list> 
40        </div> 
41    </div> 
42</div> 
43 
44 
45<style> 
46</style>