Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Commit

Permalink
Fix [[#][description]] like links -> use [[file:#][description]].
Browse files Browse the repository at this point in the history
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
  • Loading branch information
Sébastien Gross authored and Sébastien Gross committed Feb 8, 2013
1 parent d713292 commit ea60ffc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions example/sample.org
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ This is a sample blog to explain how [[https://github.com/renard/o-blog][o-blog]

- [[file:{lisp}(ob:path-to-root){/lisp}/features.html][/icon-cog icon-white/ Features]]

- [[#][/icon-book icon-white/ Documentation]]
- [[file:#][/icon-book icon-white/ Documentation]]
- [[file:{lisp}(ob:path-to-root){/lisp}/templates.html][Templates]]
- [[file:{lisp}(ob:path-to-root){/lisp}/structures.html][Structures]]
- [[file:{lisp}(ob:path-to-root){/lisp}/functions.html][Functions]]
Expand All @@ -136,7 +136,7 @@ This is a sample blog to explain how [[https://github.com/renard/o-blog][o-blog]
-
- [[file:{lisp}(ob:path-to-root){/lisp}/bug-report.html][Bug report]]

- [[#][/icon-file icon-white/ Tips]]
- [[file:#][/icon-file icon-white/ Tips]]
- [[file:{lisp}(format "%s/%s" (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post "Tips" 0))){/lisp}][{lisp}(ob:post-title (ob:get-last-post "Tips" 0)){/lisp}]]
- [[file:{lisp}(format "%s/%s" (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post "Tips" 1))){/lisp}][{lisp}(ob:post-title (ob:get-last-post "Tips" 1)){/lisp}]]
- [[file:{lisp}(format "%s/%s" (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post "Tips" 2))){/lisp}][{lisp}(ob:post-title (ob:get-last-post "Tips" 2)){/lisp}]]
Expand Down Expand Up @@ -1276,14 +1276,14 @@ Icons can also be used for the top /navbar/ using something like:

#+begin_src org

,- [[#][/icon-book icon-white/ Documentation]]
,- [[file:#][/icon-book icon-white/ Documentation]]
, - [[file:{lisp}(ob:path-to-root){/lisp}/templates.html][Templates]]
, - [[file:{lisp}(ob:path-to-root){/lisp}/structures.html][Structures]]
, - [[file:{lisp}(ob:path-to-root){/lisp}/functions.html][Functions]]
, -
, - [[file:{lisp}(ob:path-to-root){/lisp}/faq.html][FAQ]]

,- [[#][/icon-file icon-white/ Blog]]
,- [[file:#][/icon-file icon-white/ Blog]]
, - [[file:{lisp}(format "%s/%s" (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post "Tips" 0))){/lisp}][{lisp}(ob:post-title (ob:get-last-post "Tips" 0)){/lisp}]]
, - [[file:{lisp}(format "%s/%s" (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post "Tips" 1))){/lisp}][{lisp}(ob:post-title (ob:get-last-post "Tips" 1)){/lisp}]]
, - [[file:{lisp}(format "%s/%s" (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post "Tips" 2))){/lisp}][{lisp}(ob:post-title (ob:get-last-post "Tips" 2)){/lisp}]]
Expand All @@ -1306,14 +1306,14 @@ Icons can also be used for the top /navbar/ using something like:
<div class="nav-collapse">
#+end_html

- [[#][/icon-book icon-white/ Documentation]]
- [[file:#][/icon-book icon-white/ Documentation]]
- [[file:{lisp}(ob:path-to-root){/lisp}/templates.html][Templates]]
- [[file:{lisp}(ob:path-to-root){/lisp}/structures.html][Structures]]
- [[file:{lisp}(ob:path-to-root){/lisp}/functions.html][Functions]]
-
- [[file:{lisp}(ob:path-to-root){/lisp}/faq.html][FAQ]]

- [[#][/icon-file icon-white/ Blog]]
- [[file:#][/icon-file icon-white/ Blog]]
- [[file:{lisp}(format "%s/%s" (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post "Tips" 0))){/lisp}][{lisp}(ob:post-title (ob:get-last-post "Tips" 0)){/lisp}]]
- [[file:{lisp}(format "%s/%s" (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post "Tips" 1))){/lisp}][{lisp}(ob:post-title (ob:get-last-post "Tips" 1)){/lisp}]]
- [[file:{lisp}(format "%s/%s" (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post "Tips" 2))){/lisp}][{lisp}(ob:post-title (ob:get-last-post "Tips" 2)){/lisp}]]
Expand Down

0 comments on commit ea60ffc

Please sign in to comment.