admin (2010年8月28日 18:11)

トップページの絶対的なURLの関数。

<$mt:BlogURL$>

の前後に、

<mt:BlogParentWebsite>

<$mt:BlogURL$>

</mt:BlogParentWebsite>

とします。

画像の参照元などでよく利用します。

ドメイン直下の「images」の中の「example.jpg」を参照させたい場合などは、

 

<mt:BlogParentWebsite>

<$mt:BlogURL$>images/example.jpg

</mt:BlogParentWebsite>

となります。色々と応用が効くブログ関数です。