From 1c344c5765d591524abe49ee78be8476a79715db Mon Sep 17 00:00:00 2001 From: 47z1Lu7h Date: Sun, 1 Dec 2024 15:16:17 +0100 Subject: [PATCH] init --- _layouts/home.html | 85 +++++++++++++++++++++++++++++----------------- 1 file changed, 54 insertions(+), 31 deletions(-) diff --git a/_layouts/home.html b/_layouts/home.html index 57dfc9ecbc3..0885d087b79 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,45 +1,68 @@ sidebar: - nav: docs-en +nav: docs-en --- layout: articles titles: - # @start locale config - en : &EN Home - en-GB : *EN - en-US : *EN - en-CA : *EN - en-AU : *EN - zh-Hans : &ZH_HANS 主页 - zh : *ZH_HANS - zh-CN : *ZH_HANS - zh-SG : *ZH_HANS - zh-Hant : &ZH_HANT 主頁 - zh-TW : *ZH_HANT - zh-HK : *ZH_HANT - ko : &KO 홈 - ko-KR : *KO - fr : &FR Accueil - fr-BE : *FR - fr-CA : *FR - fr-CH : *FR - fr-FR : *FR - fr-LU : *FR - tr : &TR Ana Sayfa - # @end locale config +# @start locale config +en : &EN Home +en-GB : *EN +en-US : *EN +en-CA : *EN +en-AU : *EN +zh-Hans : &ZH_HANS 主页 +zh : *ZH_HANS +zh-CN : *ZH_HANS +zh-SG : *ZH_HANS +zh-Hant : &ZH_HANT 主頁 +zh-TW : *ZH_HANT +zh-HK : *ZH_HANT +ko : &KO 홈 +ko-KR : *KO +fr : &FR Accueil +fr-BE : *FR +fr-CA : *FR +fr-CH : *FR +fr-FR : *FR +fr-LU : *FR +tr : &TR Ana Sayfa +# @end locale config show_title: false articles: - data_source: paginator.posts - article_type: BlogPosting - show_cover: false - show_excerpt: true - show_readmore: true - show_info: true +data_source: paginator.posts +article_type: BlogPosting +show_cover: false +show_excerpt: true +show_readmore: true +show_info: true ---
{%- include paginator.html -%}
{{ content }} + + +
+ + --- + + Article list with cover, excerpt, read more link and info. + + + + **front matter:** + + --- + layout: articles + title: Articles - Item (Cover + Excerpt + Read More + Info) + articles: + data_source: site.sample_page + show_excerpt: true + show_readmore: true + show_info: true + --- + +
\ No newline at end of file