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