F
F
Fedor2016-09-03 11:26:43
HTML
Fedor, 2016-09-03 11:26:43

Head is transferred to body, how to fix it (DLE)?

Main.tpl contains <header>something like this:

<header>
{headers}
<meta ...
<meta ...
<link ...
</header>

etc.
Those. all OK. But when I go to the site and open the page code view, I see that only one line is displayed in the header <style>...</style>, and all meta tags, links, counters, etc. are transferred to <body>. Can anyone come across, tell me where to fix it and in general why is this happening?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Verkh, 2016-09-03
@sadisme

Most likely unclosed tags. You can tell for sure just by looking at main.tpl

A
Alexey Tutubalin, 2016-09-13
@Kennius

I'm stupid or the skis don't go, but isn't it supposed to be like that

<!DOCTYPE html>
<html lang="ru">
<head>	
  {headers}
    <meta ...>
    <meta ...>
    <link ...>
</head>
<body>
  <header>
    тут что то и так далее
  </header>
</body>
</html>

You have tags <head></head>
and
mixed up

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question