]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/Add_space_before_slash_in_parent_links.mdwn
response
[ikiwiki.git] / doc / todo / Add_space_before_slash_in_parent_links.mdwn
1 This patch adds a space before the forward-slash in the the parent links. There is already a space after the slash.
2
3 > I intentionally put the space after the slash and not before, because I
4 > like how it looks that way. So I don't plan to apply this patch unless a
5 > lot of people disagree with me or whatever. --[[Joey]]
6
7 Before:
8
9     ikiwiki/ todo/ Add space before slash in parent links
10
11 After:
12
13     ikiwiki / todo / Add space before slash in parent links
14
15 Patch:
16
17     diff --git a/templates/misc.tmpl b/templates/misc.tmpl
18     index 184920e..80e6d0b 100644
19     --- a/templates/misc.tmpl
20     +++ b/templates/misc.tmpl
21     @@ -15,7 +15,7 @@
22
23      <div class="header">
24      <span>
25     -<TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE>
26     +<TMPL_VAR INDEXLINK> / <TMPL_VAR TITLE>
27      </span>
28      </div>
29
30     diff --git a/templates/page.tmpl b/templates/page.tmpl
31     index 3a1ac9e..1978e93 100644
32     --- a/templates/page.tmpl
33     +++ b/templates/page.tmpl
34     @@ -17,7 +17,7 @@
35      <div class="header">
36      <span>
37      <TMPL_LOOP NAME="PARENTLINKS">
38     -<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>/
39     +<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a> /
40      </TMPL_LOOP>
41      <TMPL_VAR TITLE>
42      </span>
43     diff --git a/templates/recentchanges.tmpl b/templates/recentchanges.tmpl
44     index e03482f..4877395 100644
45     --- a/templates/recentchanges.tmpl
46     +++ b/templates/recentchanges.tmpl
47     @@ -15,7 +15,7 @@
48
49      <div class="header">
50      <span>
51     -<TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE>
52     +<TMPL_VAR INDEXLINK> / <TMPL_VAR TITLE>
53      </span>
54      </div>