Im trying to create a publishing site definition where I use one file to provision many templates.
eg in onet.xml
...
<Modules>
<Module Name="Landing" />
<Module Name="Test" />
<Module Name="Test2" />
</Modules>
...
<Modules>
<Module Name="Landing" Url="$Resources:osrvcore,List_Pages_UrlName;" Path="">
<File Url="default.aspx" Type="GhostableInLibrary" Level="Draft">
<Property Name="Title" Value="LPALanding" />
<Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/WelcomeLinks.aspx, $Resources:cmscore,PageLayout_WelcomeLinks_Title;" />
<Property Name="ContentType" Value="$Resources:cmscore,contenttype_welcomepage_name;" />
</File>
</Module>
<Module Name="Test" Url="$Resources:osrvcore,List_Pages_UrlName;" Path="">
<File Url="default2.aspx" Type="GhostableInLibrary" Level="Draft">
<Property Name="Title" Value="Test" />
<Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/WelcomeLinks.aspx, $Resources:cmscore,PageLayout_WelcomeLinks_Title;" />
<Property Name="ContentType" Value="$Resources:cmscore,contenttype_welcomepage_name;" />
</File>
</Module>
<Module Name="Test2" Url="$Resources:osrvcore,List_Pages_UrlName;" Path="">
<File Url="default2.aspx" Type="GhostableInLibrary" Level="Draft">
<Property Name="Title" Value="Test2" />
<Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/WelcomeLinks.aspx, $Resources:cmscore,PageLayout_WelcomeLinks_Title;" />
<Property Name="ContentType" Value="$Resources:cmscore,contenttype_welcomepage_name;" />
</File>
</Module>
Does anyone know if this is possible to do as at the moment I am getting the following results

do need to set a param to name the file something different when its being provisioned?