How could I put new code in the <head></head> section of this page? The one selected in blue.
I try to follow ace_editor or ace-tm already there, but I don't find how to add a new line in this <head> section.
I want to put some Facebook Open Graph Markup there.
Could you help please?
you can add using this :
<template id="login_layout_replace1_new" inherit_id="web.layout" name="Web layout">
<xpath expr="html/head" position="replace">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/web/static/src/css/full.css" />
<t t-raw="head or ''"/>
//you can add your code here.
Hope this will help you!!
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/21/15, 4:52 PM|
|Seen: 769 times|
|Last updated: 9/22/15, 1:49 PM|