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 }}