summaryrefslogtreecommitdiffstats
path: root/notes
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-12-15 01:18:35 +0100
committerGustav Eek <gustav.eek@fripost.org>2020-01-06 16:25:39 +0100
commit30335ce9e6b343543dfa9f70924d608c036173bb (patch)
tree7fe28bb9d8f11b5a73ce2c3d3a50044299a44cb0 /notes
parent33e0ebdbed22c6a9c959b580de16ffda9cebd2b4 (diff)
Notes. More notes on the tag issue.
Provide some more information and notes on tags. Not so positive, though. See *notes* and *tracker/meta-tags.mdwn*.
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.