diff --git a/project/blog/views.py b/project/blog/views.py index 63c8439..ec1d9f0 100644 --- a/project/blog/views.py +++ b/project/blog/views.py @@ -4,7 +4,7 @@ from django.http import Http404 class BlogView(CustomTemplate): - template_name = "blog/posts.html" + template_name = "blog/post.html" def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) diff --git a/static/src/less/variables.less b/static/src/less/variables.less index 7ec8801..d91ead6 100644 --- a/static/src/less/variables.less +++ b/static/src/less/variables.less @@ -18,7 +18,7 @@ @font-family-serif: 'Roboto'; @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace; @font-family-base: @font-family-sans-serif; -@font-size-base: 15px; +@font-size-base: 16px; @font-size-large: ceil((@font-size-base * 1.25)); @font-size-small: ceil((@font-size-base * 0.85)); @font-size-h1: floor((@font-size-base * 2.6)); diff --git a/templates/blog/posts.html b/templates/blog/post.html similarity index 51% rename from templates/blog/posts.html rename to templates/blog/post.html index c8180e2..2a0339c 100644 --- a/templates/blog/posts.html +++ b/templates/blog/post.html @@ -5,14 +5,14 @@ {% block content %}
-
+
+ {{ blog.content | safe }} +
+
Published: {{ blog.date }}
+
{{ blog.like_count }}
+
View Post
- -
- {{ blog.content | safe }} -
- {% endblock %}