Added page_title in the title tag and the page title text

This commit is contained in:
PCoder 2017-08-31 00:36:19 +05:30
parent a7b1819d04
commit 51190a5546

View file

@ -1,7 +1,7 @@
{% extends "datacenterlight/base.html" %} {% extends "datacenterlight/base.html" %}
{% load staticfiles cms_tags sekizai_tags %} {% load staticfiles cms_tags sekizai_tags %}
{% block title %} {% block title %}
{% placeholder 'datacenterlight_cms_page_title_tag' %} {% page_attribute page_title %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
{% addtoblock "css" %} {% addtoblock "css" %}
@ -13,7 +13,7 @@
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-12"> <div class="col-sm-12 col-md-12">
<div class="single-heading"> <div class="single-heading">
<h2>{% placeholder 'datacenterlight_cms_page_title' %}</h2> <h2>{% page_attribute page_title %}</h2>
</div> </div>
</div> </div>
</div> </div>