Skip to content

Commit

Permalink
differentiate between mobile and non-mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Apr 7, 2012
1 parent 07e6b25 commit c196fcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/realms/from-scratch-realm-template/res-configs/.yanel-rc
@@ -1,11 +1,12 @@
<?xml version="1.0"?>

<yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
<yanel:rti name="redirect" namespace="http://www.wyona.org/yanel/resource/1.0"/>
<yanel:rti name="redirect" namespace="http://www.wyona.org/yanel/resource/1.0.1"/>

<yanel:property name="href" value="en/index.html"/>

<yanel:custom-config xmlns:rd="http://www.wyona.org/yanel/resource/redirect-resource/1.0">
<rd:language code="de" device="web.xml:mobile-devices" href="en/index.html"/> <!-- TODO: Introduce a mobile optimized page, e.g. mobile/de/index.html -->
<rd:language code="de" href="de/index.html"/>
</yanel:custom-config>
</yanel:resource-config>

0 comments on commit c196fcb

Please sign in to comment.