Resource icon

Custom Homepage

AcidCat

Member
Junx submitted a new resource:

Custom Homepage - useful tips for custom homepage

The following can be used in templates to display things on the homepage only.

Code:
<xf:if is="$xf.uri == '/'>

</xf:if>

Set your index as /pages/home after making the homepage page node
View attachment 275122

You can then use <xf:css> to modify the look of the page.

xf:uri is very useful as you can directly insert html in PAGE_CONTAINER that will only display on the homepage.

Homepage:
View attachment 275120

Normal Page:
[ATTACH...

Read more about this resource...
 
Back
Top Bottom