root/platform/tdiary/plugin/title_anchor.rb
@
3279
| Revision 3279, 292 bytes (checked in by hsbt, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | # |
| 2 | # title_anchor.rb: |
| 3 | # |
| 4 | # Copyright (C) 2007 by SHIBATA Hiroshi <h-sbt@nifty.com> |
| 5 | # Distributed under GPL2. |
| 6 | # |
| 7 | |
| 8 | def title_anchor |
| 9 | r = '' |
| 10 | if /^latest$/ =~ @mode |
| 11 | r << %Q|<h1>#{h @conf.html_title}</h1>| |
| 12 | else |
| 13 | r << %Q|<h1><a href="#{h @conf.index}">#{h @conf.html_title}</a></h1>| |
| 14 | end |
| 15 | r |
| 16 | end |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)