其中一段語法... - 部落格

Table of Contents

<b:if cond='data:post.title'>
<h3 class='post-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3>
</b:if>

想請問一下...

data:post.title 是指我文章po的標題

if cond= 是指某某情況

h3 class= 是指使用css樣式

(a expr:herf= 是指連結

那 data:post.link 和 data:post.url 差別在哪裡呢...??

為什麼要用 if 去判斷 ??

因為我想取消文章標題...

抱歉...剛開使用blog...我還在摸索blog的用法...

如果問題太簡單..那可以給我參考的網址去查詢嗎..??

謝謝...

--

All Comments

Vanessa avatarVanessa2006-12-30
發表文章別打標題,就沒標題了唄....
Emily avatarEmily2006-12-31
阿..我寫錯了..我是想取消標題的連結...只顯示標題就好..^^"