B

How to add Custom <meta name => to <head> in some urls

  • Thread starter Thread starter broker
  • Start date Start date

broker

Member

Reputation: 1%
Joined
21/11/24
Messages
12
Hi.
I need to add Custom <meta name => to <head> in some urls.
For this purpose I`ve made additioanl template modification for PAGE_CONTAINER.
And this code was placed
Find
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">


Replace
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<xf:if url="https://111111.com" || url="https://2222222222.com" /> <meta name="sddfds"></xf:if>
But there is 1 error Line 23: Tag must be a valid conditional using an is attribute or content checking. - Template modifications: public:PAGE_CONTAINER

How can we add some custom meta to head for some urls ?
 
Similar threads Most view View more
Back
Top Bottom