有没有办法在Maven生成的网站中添加自定义元标记?
<meta name="keyword" content="keyword1, keyword2"/>
谢谢!
答案 0 :(得分:0)
很简单,你只需Inject some XML into the <head>
e.g。在src/site/site.xml
<project>
...
<body>
...
<head>
<meta name="keyword" content="keyword1, keyword2" />
</head>
...
</body>
...
</project>