summaryrefslogtreecommitdiffstats
path: root/notes
diff options
context:
space:
mode:
Diffstat (limited to 'notes')
-rw-r--r--notes14
1 files changed, 14 insertions, 0 deletions
diff --git a/notes b/notes
index b72461f..2e83b6f 100644
--- a/notes
+++ b/notes
@@ -77,6 +77,20 @@ foreach my $k (keys %{$pagestate{$page}{meta}}) {
$template->param('date' => $pagestate{$page}{meta}{date});
```
+Things that comes populated in page template data (*pagetemplate*)
+that are not available in page state data (*htmlize*) include the
+following:
+
+ * tags
+ * parent links
+
+Parent links as `$template->{param_map}->{parentlinks}` (loopable) and
+`$template->{param_map}->{has_parentlinks}` (variable bolean). The
+loop scope makes *page* and *url* available.
+
+Tags as `$template->{param_map}->{tags}` (loopable). The loop scope
+makes *link* available.
+
# Between title and sort in htmlize
Author fields filled forcefully. Title fields not.