diff --git a/public/themes/website/1/en/demo/single_index.html b/public/themes/website/1/en/demo/single_index.html index b88989b..d8f9675 100644 --- a/public/themes/website/1/en/demo/single_index.html +++ b/public/themes/website/1/en/demo/single_index.html @@ -80,10 +80,10 @@ {/hcTaglib:category} {if !empty($news[$key-1])} -
+

{$news[$key-1]['title']}

-
+ 探索更多 - +
-
+ {/if} {/hcTaglib:content} diff --git a/public/themes/website/1/zh/demo/news.html b/public/themes/website/1/zh/demo/news.html index f142c38..b6047cd 100644 --- a/public/themes/website/1/zh/demo/news.html +++ b/public/themes/website/1/zh/demo/news.html @@ -174,14 +174,9 @@ {volist name="hc_content" id="vo_content"} {php} - $content = $hc_content['content'] ?? ''; - $description = $hc_content['description'] ?? ''; - $create_time_int = $hc_content['create_time'] ?? ''; - $create_time_str = ''; - if(!empty($create_time_int)){ - $create_time_str = date('Y-m-d', $create_time_int); - } - // dd($hc_content->toArray());exit; + $content = $vo_content['content'] ?? ''; + $description = $vo_content['description'] ?? ''; + $create_time_str = $vo_content['create_time'] ?? ''; {/php}
diff --git a/public/themes/website/1/zh/demo/single_index.html b/public/themes/website/1/zh/demo/single_index.html index c018b29..d557036 100644 --- a/public/themes/website/1/zh/demo/single_index.html +++ b/public/themes/website/1/zh/demo/single_index.html @@ -80,10 +80,10 @@ {/hcTaglib:category} {if !empty($news[$key-1])} -
+ -
+ {/if}
{/hcTaglib:content}