Heim > Artikel > Backend-Entwicklung > 请大家伙儿帮忙看一段代码
请大家帮忙看一段代码
这是一个程 序的内容页模板,但是这样写出来,搜索 引擎抓不到。请问该 如何写才能让搜索 引擎抓到
{include file="theme/default/header.html" titles=$data.title}<br /> {include file="require_models_js.html"}<br /> <br /> <div id="wrap"><br /> <br /> <div id="main"><br /> {include file="theme/default/userheader.html"}<br /> <br /> <div id="mytag"><br /> {if !empty($data.0.tag)}<br /> {foreach $data.0.tag as $d}<br /> <li><a href="{spUrl c=blog a=tag tag=$d}"><span>{$d}</span></a></li><br /> {/foreach}<br /> {/if}<br /> <br /> <div class="clear"></div><br /> </div><br /> <br /> <div id="feedArea"><br /> <script type="text/javascript"><br /> $(document).ready(function(){ <br /> yb_load_feeds('blog','getOneBlog',{<br /> bid:{$bid}<br /> }<br /> ); <br /> })<br /> </script><br /> <div id="feed_loading"></div><br /> <div id="feed_box"></div><br /> <div class="clear"></div><br /> <br /> <br /> {if isset($adunit.6) && $adunit.6.is_show == 1}<br /> <div id="ad_theme_list"></div><br /> <script><br /> $(document).ready(function(){<br /> ad_aside('#ad_theme_list',6);<br /> setInterval(function(){<br /> ad_aside('#ad_theme_list',6);<br /> }, 30000);<br /> })<br /> </script><br /> {/if}<br /> <br /> <div class="favatitle">谁喜欢<span>{$fava.count}</span></div><br /> {if $fava.count !=0}<br /> <div class="fava"><br /> <br /> {foreach from=$fava.rs item=d}<br /> <a href="{goUserHome domain=$d.domain uid=$d.uid}" title="{$d.username} - {ybtime time=$d.time}"><img src="{avatar uid=$d.uid size=small}" alt="{$d.username}"/></a><br /> {/foreach} <br /> <div class="clear"></div><br /> </div><br /> {/if}<br /> <br /> <div id="comment"></div><br /> <script><br /> $(document).ready(function(){ <br /> loadCommend('comment',{$bid});<br /> });<br /> </script><br /> <br /> </div><br /> <br /> </div><br /> <br /> <div id="aside"><br /> {include file="theme/default/aside.html"}<br /> </div><br /> <br /> </div><br /> <br /> {include file="theme/default/footer.html"}