X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/blobdiff_plain/f9de9f22d89892152438d5a83cd2100daf97ce3e..12b5aec2985ece32ee640f7d90feaaac464f795d:/doc/bugs/pages_missing_top-level_directory.mdwn?ds=sidebyside
diff --git a/doc/bugs/pages_missing_top-level_directory.mdwn b/doc/bugs/pages_missing_top-level_directory.mdwn
index 0f967db44..77c31cd27 100644
--- a/doc/bugs/pages_missing_top-level_directory.mdwn
+++ b/doc/bugs/pages_missing_top-level_directory.mdwn
@@ -22,5 +22,57 @@ I don't know if it's related to the fact that I have one ikiwiki install under a
> /Policy/ and NOT /About/Policy" can you provide an example of what
> source generates the link? -- [[Jon]]
+>> No, a \[[map]] call, such as:
+>>
+>> (actual code)
+>> = = = = =
+>> \[[!map pages="About/*" show="title"]]
+>> = = = = =
+>>
+>> The end result is:
+>> (actual code)
+>>
+
+<div class="map"> +<ul> +<li><a class="mapitem" href="./Policy/">Policy</a> +<ul> +<li><a class="mapitem" href="./Policy/Microblog/">Microblogging subscription policy</a> +</li> +</ul> +</li> +</ul> +</div> ++ > I'm also confused about what is generating the links. The map directive? -> You? --[[Joey]] +> You? --[[Joey]] + +>> see above :) + +>> I suspect this is due to git scanning everything under the pwd of the .git/ directory, but not totally so. + +>>> Ikiwiki never, ever, looks in directories with names starting with a +>>> dot. --[[Joey]] + +>> Other ikiwiki sites I have don't do this, and work OK, on the same server, but different docroots. + +>>> Well, I've moved my blog to under my site's docroot - in terms of git +>>> and ikiwiki - and it's still cutting out a whole directory level. I +>>> have no idea what's going on. I need to check the code. The site is at +>>> http://simonraven.kisikew.org/ - if you follow the "About" link, you'll +>>> understand exactly what's going on, if you look at the URL in your +>>> status bar (or under your cursor if you're using a text browser). + +>>>> Your page contains the following in its html: +>>>> `