- {{- range .Illust.RecentWorks }}
- {* NOTE: indivisble col-7 to create a visible affordance *}
-
-
- {{ include "fragments/thumbnail-dt" . }}
-
{{ include "fragments/thumbnail-tt" . }}
+ {* we only render 19 items if there are 20 RecentWorks to avoid a newline with only the "See more" button on large devices *}
+ {{- if len(.Illust.RecentWorks) == 20 }}
+ {{- range .Illust.RecentWorks[:19] }}
+ {* NOTE: indivisble col-7 to create a visible affordance *}
+
+
+ {{ include "fragments/thumbnail-dt" . }}
+
{{ include "fragments/thumbnail-tt" . }}
+
-
+ {{- end }}
+ {{- else }}
+ {{- range .Illust.RecentWorks }}
+ {* NOTE: indivisble col-7 to create a visible affordance *}
+
+
+ {{ include "fragments/thumbnail-dt" . }}
+
{{ include "fragments/thumbnail-tt" . }}
+
+
+ {{- end }}
{{- end }}
{* See more button *}
diff --git a/i18n/locale/en/template.json b/i18n/locale/en/template.json
index 6d1610b..5518695 100644
--- a/i18n/locale/en/template.json
+++ b/i18n/locale/en/template.json
@@ -143,7 +143,6 @@
"assets/views/index.jet.html:MnsvADadEqk": "Newest articles on pixivision",
"assets/views/index.jet.html:QX9SfhF5thM": "Nothing here yet—find a user to follow!",
"assets/views/index.jet.html:Sccoo133FQI": "All",
- "assets/views/index.jet.html:X9iU_H9c1Ss": "You are logged in.",
"assets/views/index.jet.html:lEVH3Ram904": "Newest works",
"assets/views/index.jet.html:lv5wuj1vx98": "Latest works by followed",
"assets/views/index.jet.html:n7zdClpaR18": "Recommended illustrations tagged",