2012-08-29, 09:59 PM
I've been looking at creating a custom theme and so I looked at Default Templates -> Index Page Templates -> index
and what I see listed in the first few lines are:
However, when I look at the source code for the index page of my forum, I see this as the html tag:
It seems as if the doctype is coming from the Default Templates -> Ungrouped Templates -> htmldoctype template. However, I don't see it get called by the code above.
Shouldn't Default Templates -> Index Page Templates -> index then have
How/why does the {htmldoctype} get called?
Thanks in advance.
and what I see listed in the first few lines are:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
However, when I look at the source code for the index page of my forum, I see this as the html tag:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- start: index -->
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hell's Kitchen Forums</title>
It seems as if the doctype is coming from the Default Templates -> Ungrouped Templates -> htmldoctype template. However, I don't see it get called by the code above.
Shouldn't Default Templates -> Index Page Templates -> index then have
{htmldoctype}
at the top of it, before the <html>
so that it would look like this:{htmldoctype}
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
How/why does the {htmldoctype} get called?
Thanks in advance.