diff --git a/fedcode/templates/base.html b/fedcode/templates/base.html
index 0c3779e..c41c523 100644
--- a/fedcode/templates/base.html
+++ b/fedcode/templates/base.html
@@ -6,7 +6,7 @@
{% block title %}FederatedCode.io{% endblock %}
-
+
@@ -29,9 +29,9 @@
diff --git a/fedcode/templates/home.html b/fedcode/templates/home.html
index 58bd85a..c52bdf9 100644
--- a/fedcode/templates/home.html
+++ b/fedcode/templates/home.html
@@ -50,7 +50,7 @@ My Packages
{{ note.content }}
-
+
diff --git a/fedcode/views.py b/fedcode/views.py
index 4019b7b..23d6f20 100644
--- a/fedcode/views.py
+++ b/fedcode/views.py
@@ -191,9 +191,16 @@ def get_success_url(self):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
- # slug = purl_string
- context["purl_notes"] = Note.objects.filter(acct=generate_webfinger(self.kwargs["slug"]))
+ # Paginate Package updates.
+ purl_note_paginate_by = 10
+ purl_notes = Note.objects.filter(acct=generate_webfinger(self.kwargs["slug"]))
+ paginator = Paginator(purl_notes, purl_note_paginate_by)
+ page_number = self.request.GET.get("page")
+ page_obj = paginator.get_page(page_number)
+ context["purl_notes"] = page_obj
+ context["is_paginated"] = purl_notes.count() > purl_note_paginate_by
+ context["page_obj"] = page_obj
context["followers"] = Follow.objects.filter(package=self.object)
@@ -324,7 +331,7 @@ class PackageListView(ListView, FormMixin):
model = Package
context_object_name = "package_list"
template_name = "pkg_list.html"
- paginate_by = 20
+ paginate_by = 30
form_class = SearchPackageForm
def get_queryset(self):
diff --git a/federatedcode/static/images/aboutcode_favicon-32x32.png b/federatedcode/static/images/aboutcode_favicon-32x32.png
new file mode 100644
index 0000000..1786b3f
Binary files /dev/null and b/federatedcode/static/images/aboutcode_favicon-32x32.png differ