Building from Scratch
From OpenCms Wiki
(Difference between revisions)
(New page: <%@page buffer="none" session="false" %> <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> <cms:template element="head"> <html> <head> <title><cms:property name="Tit...) |
(Formatted: code) |
||
Line 1: | Line 1: | ||
− | <%@page buffer="none" session="false" %> | + | <%@page buffer="none" session="false" %> |
− | <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> | + | <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> |
− | <cms:template element="head"> | + | <cms:template element="head"> |
− | <html> | + | <html> |
− | <head> | + | <head> |
− | + | <title><cms:property name="Title" file="search" escapeHtml="true"/></title> | |
− | + | <cms:editable/> | |
− | </head> | + | </head> |
− | <body> | + | <body> |
− | + | <h1><cms:property name="Title" file="search" escapeHtml="true"/></h1> | |
− | </cms:template> | + | </cms:template> |
− | <cms:template element="body"> | + | <cms:template element="body"> |
− | + | <cms:include element="body" editable="true"/> | |
− | </cms:template> | + | </cms:template> |
− | <cms:template element="foot"> | + | <cms:template element="foot"> |
− | </body> | + | </body> |
− | </html> | + | </html> |
− | </cms:template> | + | </cms:template> |
Latest revision as of 12:48, 4 October 2012
<%@page buffer="none" session="false" %> <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> <cms:template element="head"> <html> <head> <title><cms:property name="Title" file="search" escapeHtml="true"/></title> <cms:editable/> </head> <body> <h1><cms:property name="Title" file="search" escapeHtml="true"/></h1> </cms:template> <cms:template element="body"> <cms:include element="body" editable="true"/> </cms:template> <cms:template element="foot"> </body> </html> </cms:template>