You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, if a page has some YAML fields and you change some and delete some, refreshing the wiki shows the changed ones changed but the deleted ones are still there unless the wiki is fully rebuilt.
Seems to me scan() should just empty out $pagestate{$page}{ymlfront} entirely before parsing.
Also (this may not be exactly the same issue, but) I've noticed that after simply changing a YAML field, a simple refresh doesn't always seem to update the corresponding .html file. That is, ikiwiki logs 'building foo.mdwn' but even so, foo.html still has the old value (while pages it is inlined into may show the new value!).
Could this be the result of some optimization where ikiwiki detects that the page content (left after ymlfront strips out the YAML) hasn't changed? Does ymlfront need to do something more so that page regeneration is forced?
The text was updated successfully, but these errors were encountered:
So, if a page has some YAML fields and you change some and delete some, refreshing the wiki shows the changed ones changed but the deleted ones are still there unless the wiki is fully rebuilt.
Seems to me scan() should just empty out $pagestate{$page}{ymlfront} entirely before parsing.
Also (this may not be exactly the same issue, but) I've noticed that after simply changing a YAML field, a simple refresh doesn't always seem to update the corresponding .html file. That is, ikiwiki logs 'building foo.mdwn' but even so, foo.html still has the old value (while pages it is inlined into may show the new value!).
Could this be the result of some optimization where ikiwiki detects that the page content (left after ymlfront strips out the YAML) hasn't changed? Does ymlfront need to do something more so that page regeneration is forced?
The text was updated successfully, but these errors were encountered: