From e845c73251fda0c380ee22ac102de668a91c94b7 Mon Sep 17 00:00:00 2001 From: Yash Karandikar Date: Fri, 22 Jul 2022 21:31:09 -0500 Subject: [PATCH] Fix #25 --- templates/base.html | 4 ++-- templates/blog-page.html | 2 ++ templates/blog.html | 2 ++ templates/index.html | 2 ++ templates/project-page.html | 2 ++ templates/projects.html | 2 ++ 6 files changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index 446a3bf..3609928 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,15 +3,15 @@ - Welcome to Yash's Website! - + + {% block title %} {% endblock title %} - karx's website diff --git a/templates/blog-page.html b/templates/blog-page.html index 57960c8..e61af3f 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block title %}{{page.title}}{% endblock title %} + {% block content %}

{{ page.title }} diff --git a/templates/blog.html b/templates/blog.html index e1e75ea..2e79745 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block title %}{{section.title}}{% endblock title %} + {% block content %}

{{ section.title }} diff --git a/templates/index.html b/templates/index.html index 46f9266..cdf39c0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block title %}Welcome to Yash's website!{% endblock title %} + {% block content %}

Welcome to Yash's website! diff --git a/templates/project-page.html b/templates/project-page.html index 57960c8..e61af3f 100644 --- a/templates/project-page.html +++ b/templates/project-page.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block title %}{{page.title}}{% endblock title %} + {% block content %}

{{ page.title }} diff --git a/templates/projects.html b/templates/projects.html index e1e75ea..2e79745 100644 --- a/templates/projects.html +++ b/templates/projects.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block title %}{{section.title}}{% endblock title %} + {% block content %}

{{ section.title }}