Index: templates/minimal.tmpl |
=================================================================== |
--- a/templates/minimal.tmpl |
+++ b/templates/minimal.tmpl |
@@ -10,18 +10,37 @@ |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
# GNU General Public License for more details. |
# |
# You should have received a copy of the GNU General Public License |
# along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
#} |
+{% import "macros/document" as document %} |
+ |
<!DOCTYPE html> |
-<html> |
+<html {{ document.attributes(locale, config.has_option("rtl", locale)) }}> |
+ |
<head> |
- {{head|safe}} |
+ <? include meta/standard ?> |
+ <? include meta/social ?> |
+ <? include styles ?> |
+ <? include polyfills ?> |
+ |
+ {% block head %} |
+ {{ head | safe }} |
+ {% endblock %} |
</head> |
<body> |
- {{body|safe}} |
+ <? include navbar ?> |
+ |
+ <main> |
+ {% block body %} |
+ {{ body | safe }} |
+ {% endblock %} |
+ </main> |
+ |
+ <? include footer ?> |
+ <? include scripts ?> |
</body> |
</html> |