From cdd28b6c0a3a6444b9ae79b123fe4fa7401de5ab Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Thu, 14 May 2026 01:31:34 -0700 Subject: Refine Lumi layouts and public profile --- templates/_public_feed_partial.html | 71 +++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 templates/_public_feed_partial.html (limited to 'templates/_public_feed_partial.html') diff --git a/templates/_public_feed_partial.html b/templates/_public_feed_partial.html new file mode 100644 index 0000000..ba84c61 --- /dev/null +++ b/templates/_public_feed_partial.html @@ -0,0 +1,71 @@ +{% for film in films %} +
+
+ {% if film.poster_url %} + {{ film.title }} poster + {% else %} + {{ film.title[:1] }} + {% endif %} +
+
+
+
+

{{ film.title }}

+

+ {% if film.year %}{{ film.year }}{% endif %} + {% set directors = split_credit_names(film.director) %} + {% if directors %} + {% if film.year %} · {% endif %} + {{ directors|join(", ") }} + {% endif %} +

+
+ {% if film.stars %} + {% for _ in range(film.stars) %}✦{% endfor %} + {% endif %} +
+ +
+ Diary + {% if film.date_watched %}{{ film.date_watched }}{% endif %} + {% if film.runtime %}{{ film.runtime }} min{% endif %} + {% if film.rewatch %}Rewatch{% if film.rewatch_count %} #{{ film.rewatch_count }}{% endif %}{% endif %} +
+ + {% if film.language or film.genre or film.context or film.how_found or film.watched_with %} +
+ {% if film.language %} +
+ Lang + {{ film.language }} +
+ {% endif %} + {% if film.genre %} +
+ Genre + {{ film.genre }} +
+ {% endif %} + {% if film.context %} +
+ Context + {{ film.context }} +
+ {% endif %} + {% if film.how_found %} +
+ Found + {{ film.how_found }} +
+ {% endif %} + {% if film.watched_with %} +
+ With + {{ film.watched_with }} +
+ {% endif %} +
+ {% endif %} +
+
+{% endfor %} -- cgit v1.3-2-g0d8e