File tree Expand file tree Collapse file tree 4 files changed +62
-20
lines changed
Expand file tree Collapse file tree 4 files changed +62
-20
lines changed Original file line number Diff line number Diff line change 66 "sns_share": "true"
77 })
88
9- < section class ="mt-16 md:mt-20 ">
10- <!-- 関連記事 -->
11- @include("/include/entry/tag-relational-card.html")
12- < div class ="mt-10 ">
13- <!-- 新着記事 -->
14- @include("/include/entry/summary-tiny.html", {
15- "wrapper_class": "md:grid md:grid-cols-2 md:gap-8"
16- })
9+ < section class ="mt-16 md:mt-20 grid gap-y-8 ">
10+ < div >
11+ < h2 class ="text-lg font-bold "> 関連記事</ h2 >
12+ < p class ="mt-3 "> < span > この記事のハッシュタグ</ span > <!-- BEGIN_MODULE Tag_Cloud ctx="eid/%{EID}" --> < span class ="flex my-0.5 md:my-0 md:inline md:ml-3 "> <!-- BEGIN tag:loop --> < span class ="mr-3 "> < a href ="{path} " class ="text-gray-900 no-underline hover:opacity-70 "> #{name}</ a > </ span > <!-- END tag:loop --> </ span > <!-- END_MODULE Tag_Cloud --> < span > から関連する記事を表示しています。</ span > </ p >
1713 </ div >
14+
15+ @include("/include/entry/tag-relational-card.html")
16+
17+ @include("/include/entry/tag-relational-tiny.html")
1818 </ section >
1919</ article >
2020@endsection
Original file line number Diff line number Diff line change 11<!-- BEGIN_MODULE Entry_Summary id="{{module_id}}" -->
22< div >
33 @include("/admin/module/setting.html")
4- < ul class ="{{wrapper_class|default('grid grid-cols-1 md:grid-cols-2 lg:grid-cols-1 gap-4')}} ">
4+ < div class ="{{wrapper_class|default('grid grid-cols-1 md:grid-cols-2 lg:grid-cols-1 gap-4')}} ">
55 <!-- BEGIN unit:loop --> <!-- BEGIN entry:loop -->
6- < li >
6+ < article >
77 < a href ="{url} " class ="flex items-start gap-2 hover:opacity-70 ">
88 < div class ="w-1/3 aspect-square overflow-hidden rounded-md ">
99 <!-- BEGIN_IF [{path}/nem] -->
@@ -34,8 +34,8 @@ <h3 class="text-gray-900 font-bold line-clamp-3">{title}</h3>
3434 </ div >
3535 </ div >
3636 </ a >
37- </ li >
37+ </ article >
3838 <!-- END entry:loop --> <!-- END unit:loop -->
39- </ ul >
39+ </ div >
4040</ div >
4141<!-- END_MODULE Entry_Summary -->
Original file line number Diff line number Diff line change 11<!-- BEGIN_MODULE Entry_TagRelational id="{{module_id}}" -->
2- < h2 class ="text-lg font-bold "> 関連記事</ h2 >
3- < p class ="mt-3 mb-8 "> < span > この記事のハッシュタグ</ span > <!-- BEGIN_MODULE Tag_Cloud ctx="eid/%{EID}" --> < span class ="flex my-0.5 md:my-0 md:inline md:ml-3 "> <!-- BEGIN tag:loop --> < span class ="mr-3 "> < a href ="{path} " class ="text-gray-500 no-underline hover:opacity-70 "> #{name}</ a > </ span > <!-- END tag:loop --> </ span > <!-- END_MODULE Tag_Cloud --> < span > から関連する記事を表示しています。</ span > </ p >
42< div >
53 @include("/admin/module/setting.html")
64
@@ -9,9 +7,8 @@ <h2 class="text-lg font-bold">関連記事</h2>
97 <!-- END notFound -->
108
119 < div class ="grid grid-cols-1 sm:grid-cols-2 gap-8 ">
12- <!-- BEGIN unit:loop -->
13- <!-- BEGIN entry:loop -->
14- < div class ="">
10+ <!-- BEGIN unit:loop --> <!-- BEGIN entry:loop -->
11+ < article >
1512 < a href ="{url} " class ="block w-full hover:opacity-70 ">
1613 <!-- BEGIN_IF [{path}/nem] -->
1714 < img
@@ -45,9 +42,8 @@ <h2 class="mt-3 text-gray-900 text-lg font-bold line-clamp-2">{title}</h2>
4542 </ ul >
4643 <!-- END tag:veil -->
4744 </ a >
48- </ div >
49- <!-- END entry:loop -->
50- <!-- END unit:loop -->
45+ </ article >
46+ <!-- END entry:loop --> <!-- END unit:loop -->
5147 </ div >
5248</ div >
5349<!-- END_MODULE Entry_TagRelational -->
Original file line number Diff line number Diff line change 1+ <!-- BEGIN_MODULE Entry_TagRelational id="{{module_id}}" -->
2+ < div >
3+ <!-- BEGIN notFound -->
4+ < p > 関連記事はありません</ p >
5+ <!-- END notFound -->
6+
7+ @include("/admin/module/setting.html")
8+
9+ < div class ="{{wrapper_class|default('grid grid-cols-1 md:grid-cols-2 gap-8')}} ">
10+ <!-- BEGIN unit:loop --> <!-- BEGIN entry:loop -->
11+ < article >
12+ < a href ="{url} " class ="flex items-start gap-2 hover:opacity-70 ">
13+ < div class ="w-1/3 aspect-square overflow-hidden rounded-md ">
14+ <!-- BEGIN_IF [{path}/nem] -->
15+ < img
16+ src ="%{ROOT_DIR}{path}[resizeImg(192)] "
17+ alt ="{alt} "
18+ class ="object-cover w-full h-full "
19+ >
20+ <!-- ELSE -->
21+ <!-- BEGIN noimage -->
22+ < img
23+ src ="/images/default/noimage.gif "
24+ alt =""
25+ width ="{noImgX} "
26+ height ="{noImgY} "
27+ class ="object-cover w-full h-full "
28+ >
29+ <!-- END noimage -->
30+ <!-- END_IF -->
31+ </ div >
32+ < div class ="flex flex-col items-start justify-center w-2/3 text-sm ">
33+ < h3 class ="text-gray-900 font-bold line-clamp-3 "> {title}</ h3 >
34+ < div class ="flex items-center mt-1 ">
35+ < p class ="text-gray-500 "> < time datetime ="{date#Y}-{date#m}-{date#d} "> {date#Y}年{date#n}月{date#j}日</ time > </ p >
36+ <!-- BEGIN new -->
37+ < p class ="ml-2 px-2 py-1 rounded-full bg-gray-50 text-gray-900 text-xs "> NEW</ p >
38+ <!-- END new -->
39+ </ div >
40+ </ div >
41+ </ a >
42+ </ article >
43+ <!-- END entry:loop --> <!-- END unit:loop -->
44+ </ div >
45+ </ div >
46+ <!-- END_MODULE Entry_TagRelational -->
You can’t perform that action at this time.
0 commit comments