-
-
Latest Jobs
+
+
Latest Jobs
- {% for job in jobs %}
-
-
-
-
{{ job.title }}
+
+
+
+ {% for job in jobs %}
+
+
+
+
+
+
{{job.description|truncatewords:20}}
+
Apply
+
-
- {% for tag in job.tags.all %}
- {{tag}}
- {% endfor %}
+ {% endfor %}
+
+
+
+
-
-
-
-
- {% endfor %}
-{% comment %}
-
- {% for job in jobs %}
-
-
-
-
{{ job.description|truncatewords_html:20 }}
-
-
-
- {% endfor %}
-
-{% endcomment %}
+
{% endblock %}
\ No newline at end of file
diff --git a/jobs/views.py b/jobs/views.py
index 1de8884..a61db16 100644
--- a/jobs/views.py
+++ b/jobs/views.py
@@ -17,7 +17,7 @@ class Index(TemplateView):
def get_context_data(self, *args, **kwargs):
context = super().get_context_data(*args, **kwargs)
- context['jobs'] = Job.objects.all().order_by('-updated')[:3]
+ context['jobs'] = Job.objects.all().order_by('-updated')[:6]
return context