一、將佈景整理成數個「子樣板」
<{includeq file="$theme_name/tpl/theme_nav.html"}> <{includeq file="$theme_name/tpl/theme_header.html"}> <{includeq file="$theme_name/tpl/theme_about.html"}> <{includeq file="$theme_name/tpl/theme_services.html"}> <{includeq file="$theme_name/tpl/theme_portfolio.html"}> <{includeq file="$theme_name/tpl/theme_bg-dark.html"}> <{includeq file="$theme_name/tpl/theme_contact.html"}>
二、xoops預設首頁的模組為「system」
<{if $xoops_dirname == "system"}> <{* 在首頁 *}> <{else}> <{* 在模組 *}> <{/if}>
<{includeq file="$theme_name/tpl/theme_nav.html"}> <{if $xoops_dirname == "system"}> <{* 在首頁 *}> <{includeq file="$theme_name/tpl/theme_header.html"}> <{else}> <{* 在模組 *}> <{includeq file="$theme_name/tpl/contents.html"}> <{/if}> <{includeq file="$theme_name/tpl/theme_about.html"}> <{includeq file="$theme_name/tpl/theme_services.html"}> <{includeq file="$theme_name/tpl/theme_portfolio.html"}> <{includeq file="$theme_name/tpl/theme_bg-dark.html"}> <{includeq file="$theme_name/tpl/theme_contact.html"}>