diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2008-12-18 20:58:16 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2008-12-18 20:58:16 -0500 |
commit | 7521dd6c7571cba4a3b882ecffc02dbcbed2805e (patch) | |
tree | ee9ca6225ca64319d67e27ba71d974c33c630c0e /IkiWiki/Plugin/embed.pm | |
parent | d7855474fdf6002711ef3d0411ece375ce44015d (diff) |
jump to comment after posting
Jumping to the just posted comment was the imputus, but I killed a number
of birds here.
Added a INLINEPAGE template variable, which can be used to add anchors to
any inline template.
To keep that sufficiently general, it is the full page name, so the
comment anchors and links changed form.
Got rid of the FIXMEd hardcoded html anchor div.
More importantly, the anchor is now to the very top of the comment, not the
text below. So you can see the title, and how it attributes you.
Avoid changing the permalink of pages that are not really comments, but
happen to contain the _comment directive. I think that behavior was a bug,
though not a likely one to occur since _comment should only really be used
on comment pages.
Diffstat (limited to 'IkiWiki/Plugin/embed.pm')
0 files changed, 0 insertions, 0 deletions