From 334da3355d726bc43fdf2f359776ca5452b6b7af Mon Sep 17 00:00:00 2001 From: Sandeep Kumar Date: Tue, 15 Nov 2022 22:08:45 +0530 Subject: [PATCH] Update base.html Updated some syntax and reformatted the code. --- templates/base.html | 891 +++++++++++++++++++++++--------------------- 1 file changed, 459 insertions(+), 432 deletions(-) diff --git a/templates/base.html b/templates/base.html index 372dafaa8..1af498949 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,10 +3,11 @@ {% get_current_language as LANGUAGE_CODE %} {% get_current_language_bidi as LANGUAGE_BIDI %} + - - - - {% if self_pagename == 'home' %}{% trans "HTML5 Rocks" %} - {% trans "A resource for open web HTML5 developers" %}{% else %}{% block headtitle %}{% trans "A resource for open web HTML5 developers" %}{% endblock %} - {% trans "HTML5 Rocks" %}{% endif %} - - - - - - - - - - - - - {% block share_image %} - - {% endblock %} - - {% if tut %} - - - {% if tut.author.twitter_account %}{% endif %} - - - - - - - - {% endif %} - - {% if tut.author.google_account %} - - {% endif %} - {% if tut.second_author.google_account %} - - {% endif %} - - - {% if localizations %} - {% for alt_locale in localizations %} - - {% endfor %} - {% endif %} - - {% if css_file %} - - {% else %} - - - {% endif %} - - - - - - {% if LANGUAGE_BIDI %} + {% if self_pagename == 'home' %}{% trans "HTML5 Rocks" %} - {% trans "A resource for open web HTML5 developers" %}{% else %}{% block headtitle %}{% trans "A resource for open web HTML5 developers" %}{% endblock %} - {% trans "HTML5 Rocks" %}{% endif %} + + + + + + + + + + + + + {% block share_image %} + + {% endblock %} + + {% if tut %} + + + {% if tut.author.twitter_account %} + {% endif %} + + + + + + + + {% endif %} + + {% if tut.author.google_account %} + + {% endif %} + {% if tut.second_author.google_account %} + + {% endif %} + + + {% if localizations %} + {% for alt_locale in localizations %} + + {% endfor %} + {% endif %} + + {% if css_file %} + + {% else %} + + + {% endif %} + + + + + + {% if LANGUAGE_BIDI %} - - {% endif %} - - - + + {% endif %} + + + - - {% block head %}{% endblock %} + {% block head %}{% endblock %} + - {% if gdl_page_url %} + {% if gdl_page_url %} On Air - {% endif %} - -
- {% trans -

- {% trans "HTML5 Rocks" %} -

- - - + +
+ + + +