I'm having trouble creating a static page template on our site that already has editable pages. I'm not sure if I'm just creating the template wrong, missing a required call, or if config templates exist that AEM doesn't check for templates in apps.
I have my static template defined in apps, where this documentation says to define a static template
apps/<site-name>/templates/<template-name>
and my editable templates are in
content/conf/<site-name>/settings/wcm/templates
I've tried adding my static template to the conf templates directory, and it then shows up as an option when creating a new page, but the properties tab during page creation is empty and the create button is grayed out.
Here is my apps static template .content.xml
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:description="Bio Page"
jcr:mixinTypes="[mix:lockable]"
jcr:primaryType="cq:Template"
jcr:title="Bio Page"
allowedPaths="[/content(/.*)?]"
ranking="{Long}3">
<jcr:content
cq:designPath="/etc/designs/<site>"
jcr:primaryType="cq:PageContent"
sling:resourceType="<site>/components/structure/static-page/bio"
cq:template="/apps/<site>/templates/bio-page">
</jcr:content>
</jcr:root>