]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/pages_missing_top-level_directory.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / pages_missing_top-level_directory.mdwn
index 14e0161871de091ed75048027df360abf6403a8f..159006444f7e130771ffbc138c89de83bdc9906c 100644 (file)
@@ -21,3 +21,37 @@ I don't know if it's related to the fact that I have one ikiwiki install under a
 > When you say "on /About/, any generated links get mapped to
 > /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)<br />
+>> = = = = =<br />
+>> \[[!map pages="About/*" show="title"]]<br />
+>> = = = = =<br />
+>>
+>> The end result is:<br />
+>> (actual code)
+>>
+<pre>
+&lt;div class="map">
+&lt;ul>
+&lt;li>&lt;a class="mapitem" href="./Policy/">Policy&lt;/a>
+&lt;ul>
+&lt;li>&lt;a class="mapitem" href="./Policy/Microblog/">Microblogging subscription policy&lt;/a>
+&lt;/li>
+&lt;/ul>
+&lt;/li>
+&lt;/ul>
+&lt;/div>
+</pre>
+
+> I'm also confused about what is generating the links. The map directive?
+> You? --[[Joey]]
+
+>> see above :)
+
+>> I suspect this is due to git scanning everything under the pwd of the .git/ directory, but not totally so.
+>> 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).
+