mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* HtmlHead.cs: added code to render description and keywords metas if the corresponding HtmlMeta controls aren't found and the user set either Description or Keywords properties. 2010-06-01 Marek Habersack <[email protected]> * TemplateControlCompiler.cs: added new virtual method, AddStatementsToInitMethodBottom and renamed AddStatementsToInitMethod to AddStatementsToInitMethodTop. * PageCompiler.cs: code to set Meta{Description,Keywords} properties, if present. 2010-06-01 Marek Habersack <[email protected]> * PageParser.cs: added support for MetaDescription and MetaKeywords main directive attributes * Page.cs: implemented MetaDescription and MetaKeywords 4.0 properties. svn path=/trunk/mcs/; revision=158303
20 lines
623 B
Plaintext
20 lines
623 B
Plaintext
<%@ Page Language="C#" AutoEventWireup="true"
|
|
MetaDescription="<%$ Resources:TestStrings, MetaDescription %>"
|
|
MetaKeywords="<%$ Resources:TestStrings, MetaKeywords %>"
|
|
Title="Test"%>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<%= AppDomain.CurrentDomain.GetData ("BEGIN_CODE_MARKER") %><head runat="server">
|
|
<title></title>
|
|
</head><%= AppDomain.CurrentDomain.GetData ("END_CODE_MARKER") %>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<div>
|
|
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|