+
{% endblock %}
\ No newline at end of file
diff --git a/blog/templates/blog/blog_page.html b/blog/templates/blog/blog_page.html
index c790824..5e85027 100644
--- a/blog/templates/blog/blog_page.html
+++ b/blog/templates/blog/blog_page.html
@@ -80,7 +80,4 @@
-
- {% include 'newsletter/snippets/signup_form.html' %}
-
{% endblock %}
\ No newline at end of file
diff --git a/home/models.py b/home/models.py
index 140aece..34d4bb1 100644
--- a/home/models.py
+++ b/home/models.py
@@ -4,8 +4,6 @@ from wagtail.models import Page
from wagtail.fields import RichTextField, StreamField
from wagtail.admin.panels import FieldPanel, MultiFieldPanel
from wagtailseo.models import SeoMixin, SeoType
-
-from blog.models import BlogPage
from .blocks import HomeContentBlock
@@ -59,10 +57,3 @@ class HomePage(SeoMixin, Page):
promote_panels = SeoMixin.seo_panels
seo_content_type = SeoType.WEBSITE
-
- def get_context(self, request, *args, **kwargs):
- context = super().get_context(request)
- # retrieve the last 3 blogposts
- recent_blog_items = BlogPage.objects.live().order_by('-first_published_at')[:3]
- context['recent_blog_items'] = recent_blog_items
- return context
\ No newline at end of file
diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html
index 161686a..e54aff8 100644
--- a/home/templates/home/home_page.html
+++ b/home/templates/home/home_page.html
@@ -5,19 +5,749 @@
{% block content %}
- Drawing of my computer desk where we see a computer with an open Terminal
- with Elixir code snippets. On the shelf behind we can see programming
- books for Rust, Elixir and JavaScript. The books are arranges vertically
- next to a small flower pot. The flower has big green leaves. A cup of
- steaming coffee sits on the desk, to the left of the computer. The cup has a Python logo on it.
+ Drawing of my computer desk where we see an iMac with an open Terminal
+ with Swift code snippets. On the shelf behind we can see programming
+ books for Rust, Swift and JavaScript. The books are arranges vertically
+ next to a small flower pot. The flower has big green leafes. A cup of
+ steaming coffee sits on the desk, to the left of the iMac.
-
+
-
+
@@ -45,43 +775,10 @@
-
-
From the blog
-
- {% for post in recent_blog_items %}
- {% with post=post.specific %}
-
-