Aptana Studio3测试版的HTML5文件模板如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>new-file</title>
<meta name="description" content="" />
<meta name="generator" content="Studio 3 http://aptana.com/" />
<meta name="author" content="Wei Lou" />
<meta name="viewport" content="width=device-width; initial-scale=1.0" />
<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
</head>
<body>
<div>
<header>
<h1>new-file</h1>
</header>
<nav>
<p><a href="/">Home</a></p>
<p><a href="/contact">Contact</a></p>
</nav>
<div>
</div>
<footer>
<p>© Copyright 2011 by Wei Lou</p>
</footer>
</div>
</body>
</html>我想改变它。但我找不到办法。
谢谢!
发布于 2011-05-04 03:27:01
directions Ingo提供了如何从头开始创建新模板的详细说明。在这种情况下,由于您只想修改现有模板,因此可以尝试以下操作。
现在,当您创建一个新的HTML模板时,它应该使用您编辑过的html5.html文件的副本。当然,您也可以编辑该项目中的任何其他模板。
发布于 2011-04-06 03:22:37
最简单的方法是按照创建新模板的说明进行操作:http://wiki.appcelerator.org/display/tis/Creating+a+new+template。然后您可以随心所欲地修改内容。
https://stackoverflow.com/questions/5534490
复制相似问题