aboutsummaryrefslogtreecommitdiff
path: root/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2018-11-06 20:26:21 +0000
committerJulio Capote <jcapote@gmail.com>2018-11-06 20:26:21 +0000
commit3d98eee4f2da4fecff7ce41bfe66a6b40eb2fc43 (patch)
tree622a5392f5af3782c74184fdf867da55c96bf72a /content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown
parentd15dc6c9daaaff093b825b650a079b3ac02b362e (diff)
downloadcapotej.com-3d98eee4f2da4fecff7ce41bfe66a6b40eb2fc43.tar.gz
fix post teasers
Diffstat (limited to '')
-rw-r--r--content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown b/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown
index e53db49..c9a20f7 100644
--- a/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown
+++ b/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown
@@ -10,7 +10,7 @@ tags:
This is common pattern in website navigation, where it highlights the link (usually by setting `class=”active”`) that took you to the current page while you are on that page.
-
+<!--more-->
First, define a helper:
```ruby