Skip to content

Commit

Permalink
fixed link text
Browse files Browse the repository at this point in the history
  • Loading branch information
miau715 committed Aug 22, 2013
1 parent 4a1f7d4 commit 2c79dba
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
.sass-cache
.sass-cache/*
2 changes: 1 addition & 1 deletion tutorial_5.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,5 @@ _sp_layout.html.erb
<p>如此一來 <code>index.html.erb</code> 就會使用 <code>_sp_layout.html.erb</code> 而不是預設的 Layout 來呈現內容,切換至瀏覽器便可看見首頁的部份已經成為我們預期中沒有側欄的版面。</p>

<div class="page-footer">
Next: <a href="tutorial_6.html">content_for 的基礎應用 <i class="lsf-icon arrow"></i></a>
Next: <a href="tutorial_6.html">在特定頁面變更已套用 Layout 部分的內容(進階) <i class="lsf-icon arrow"></i></a>
</div>
2 changes: 1 addition & 1 deletion tutorial_6.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
<p>上述程式碼指定了 Documents 頁面中 <code>content_for :sp_ad</code> 的內容,因此現在只要切換到瀏覽器便能看見該頁面中的側欄和其他頁面不同,顯示了提供教育訓練的聯絡方式。</p>

<div class="page-footer">
Next: <a href="tutorial_7.html">指定 render template 和 content_for 的結合應用 <i class="lsf-icon arrow"></i></a>
Next: <a href="tutorial_7.html">基於現有 Layout 製作變更部分內容的延伸 Layout(進階) <i class="lsf-icon arrow"></i></a>
</div>
2 changes: 1 addition & 1 deletion tutorial_7.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
<p>上面的程式碼建立了一個基於共用 Layout 的 新 Layout,使用 <code>&lt;%= render :template =&gt; "/_layout" %&gt;</code> 表示套用這個 Layout 的頁面仍是以根目錄的 <code>_layout.html.erb</code> 做為實際上的 Layout ,而 <code>content_for :feature_slogan</code> 的部份則是指定套用此 Layout 的頁面都會擁有宣傳文字的區塊。完成後切換至瀏覽器便可看見 Features 列表頁和內容頁都加上了宣傳文字區塊。</p>

<div class="page-footer">
Next: <a href="tutorial_8.html">request.path 應用 <i class="lsf-icon arrow"></i></a>
Next: <a href="tutorial_8.html">取得目前的頁面路徑及其應用(進階) <i class="lsf-icon arrow"></i></a>
</div>

0 comments on commit 2c79dba

Please sign in to comment.