22 class ="user-weekly-trend "
33 style ="box-sizing: border-box; margin-top: 40px; color: #000000 "
44>
5-
65 {% if insight.trending_summary or insight.user_weekly_stats or insight.user_weekly_reminder %}
76 < h2 style ="box-sizing: border-box; margin-bottom: 24px; color: #000000; font-size: 24px; font-weight: 900; letter-spacing: 0; ">
87 {% if user.username %}
@@ -15,13 +14,15 @@ <h2 style="box-sizing: border-box; margin-bottom: 24px; color: #000000; font-siz
1514
1615 {% if insight.user_weekly_stats %}
1716 < div style ="box-sizing: border-box; background-color: #f7f7f7; border-radius: 8px; padding: 20px; margin: 20px 0; ">
18- {% if insight.user_weekly_stats.new_posts > 0 %}
1917 < p style ="box-sizing: border-box; color: #000000; margin: 0; font-size: 13px; font-weight: 500; line-height: 20px; letter-spacing: 0; ">
20- 저번 주에는
21- < span style ="box-sizing: border-box; text-decoration: underline; font-weight: 700 ">
22- {{insight.user_weekly_stats.new_posts}}개의 글
23- </ span >
24- 을 작성하셨네요!< br />
18+ <!-- 새 글이 없을 경우 해당 내용만 제거하고 표시 -->
19+ {% if insight.user_weekly_stats.new_posts > 0 %}
20+ 저번 주에는
21+ < span style ="box-sizing: border-box; text-decoration: underline; font-weight: 700 ">
22+ {{insight.user_weekly_stats.new_posts}}개의 글
23+ </ span >
24+ 을 작성하셨네요!< br />
25+ {% endif %}
2526 👏 지난 한 주간
2627 < span style ="box-sizing: border-box; text-decoration: underline; font-weight: 700 ">
2728 {{insight.user_weekly_stats.views}}명
@@ -40,7 +41,6 @@ <h2 style="box-sizing: border-box; margin-bottom: 24px; color: #000000; font-siz
4041 * 이번 주에 신규 가입을 하셨다면 총 누적 조회수로 계산됩니다.
4142 </ span >
4243 </ p >
43- {% endif %}
4444 </ div >
4545 {% endif %}
4646
@@ -79,7 +79,9 @@ <h2 style="box-sizing: border-box; margin-bottom: 24px; color: #000000; font-siz
7979 < a
8080 href ="https://velog-dashboard.kro.kr/leaderboards?based=post&sort=viewCount&limit=10&dateRange=30&utm_source=email&utm_medium=weekly_analysis "
8181 style ="box-sizing: border-box; color: #999999; font-weight: bold; text-decoration: underline "
82- >
82+ target ="_blank "
83+ rel ="noopener noreferrer "
84+ >
8385 리더보드
8486 </ a >
8587 에서 인기 글을 참고해 작성해보시는 건 어떨까요?
@@ -94,29 +96,32 @@ <h3 style="box-sizing: border-box; margin: 30px 0 20px 0; color: #000000; font-s
9496 </ h3 >
9597 {% for item in insight.trending_summary %}
9698 < div style ="box-sizing: border-box; margin: 20px 0; padding: 20px; border-radius: 8px; background-color: #f7f7f7; ">
97- < div style ="box-sizing: border-box; display: flex; gap: 20px; align-items: center ">
98- {% if item.thumbnail %}
99- < div style ="box-sizing: border-box; flex-shrink: 0; width: 100px; height: 100px; overflow: hidden; border-radius: 6.4px; display: flex; align-items: center; justify-content: center; ">
99+ < table style ="box-sizing: border-box; width: 100%; border-collapse: collapse; border-spacing: 0; margin: 0; padding: 0; ">
100+ < tr style ="box-sizing: border-box; ">
101+ {% if item.thumbnail %}
102+ < td style ="box-sizing: border-box; width: 100px; vertical-align: top; padding: 0; margin: 0; ">
100103 < img
101104 src ="{{item.thumbnail}} "
102105 alt ="{{item.title}} "
103- style ="box-sizing: border-box; width: 100% ; height: 100%; object-fit: cover "
106+ style ="box-sizing: border-box; width: 100px ; height: 100px; border-radius: 6.4px; object-fit: cover; display: block; margin: 0; "
104107 />
105- </ div >
106- {% endif %}
107- < div style ="box-sizing: border-box; flex: 1; min-width: 0 ">
108+ </ td >
109+ < td style ="box-sizing: border-box; width: 20px; padding: 0; margin: 0; "> </ td >
110+ {% endif %}
111+ < td style ="box-sizing: border-box; vertical-align: top; padding: 0; margin: 0; ">
108112 < h4 style ="box-sizing: border-box; margin: 0 0 6px 0; font-size: 16px; font-weight: 700; line-height: 19.2px; color: #000000; letter-spacing: 0; ">
109113 < a
110- href ="https://velog.io/@{{item.username}}/{{item.slug}}?utm_source=velog_dashboard_email&utm_medium=weekly_analysis "
114+ href ="https://velog.io/@{{item.username}}/{{item.slug}}?utm_source=velog_dashboard_email&utm_medium=weekly_analysis "
111115 target ="_blank "
116+ rel ="noopener noreferrer "
112117 style ="box-sizing: border-box; color: #000000; text-decoration: none "
113118 >
114119 {{ item.title }}
115120 </ a >
116121 </ h4 >
117122 {% if item.username and item.key_points %}
118123 < p style ="box-sizing: border-box; margin: 0 0 6px 0; font-size: 13px; font-weight: 700; color: #acacac; letter-spacing: 0; line-height: 14.4px; ">
119- @{{item.username}} | {{ item.key_points|join:", " }}
124+ @{{item.username}} | 📌 {{ item.key_points|join:", " }}
120125 </ p >
121126 {% elif item.username %}
122127 < p style ="box-sizing: border-box; margin: 0 0 6px 0; font-size: 13px; font-weight: 700; color: #acacac; letter-spacing: 0; line-height: 14.4px; ">
@@ -130,8 +135,9 @@ <h4 style="box-sizing: border-box; margin: 0 0 6px 0; font-size: 16px; font-weig
130135 < p style ="box-sizing: border-box; margin: 0; font-size: 13px; font-weight: 500; color: #999999; line-height: 15.6px; letter-spacing: 0; ">
131136 {{ item.summary }}
132137 </ p >
133- </ div >
134- </ div >
138+ </ td >
139+ </ tr >
140+ </ table >
135141 </ div >
136142 {% endfor %}
137143 {% endif %}
0 commit comments