]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/Are___37__destsources_really___95__pages__95____63__.mdwn
Merge remote-tracking branch 'spalax/calendar-autocreate'
[ikiwiki.git] / doc / forum / Are___37__destsources_really___95__pages__95____63__.mdwn
1 In [[plugins/write|plugins/write]] I am told that
2
3 > The `%destsources` hash records the name of the source file used to
4 > create each destination file. The key is the output filename (ie,
5 > "foo/index.html"), and the value is the source filename that it was built
6 > from (eg, "foo.mdwn").
7
8 but that's not what I see happening. I see a hash that maps the output
9 filename (eg., "foo/index.html") to a source _page_ name (eg., "foo").
10
11 I need an additional visit to `%pagesources` to get from "foo"
12 to "foo.mdwn".
13
14 It seems to be consistent and happily working that way, so maybe the
15 description in [[plugins/write]] is the only mistake. Have I missed something?
16
17 -- [[jcflack]]