]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/inline.pm
Move yesno function out of inline and into IkiWiki core, not exported.
[ikiwiki.git] / IkiWiki / Plugin / inline.pm
index 2226e5723d3fb1905140ea88861406480ec42f3f..02c04cc003e4886414b48afc8e2e60b87f385c9a 100644 (file)
@@ -94,11 +94,6 @@ package IkiWiki;
 my %toping;
 my %feedlinks;
 
-sub yesno ($) { #{{{
-       my $val=shift;
-       return (defined $val && lc($val) eq "yes");
-} #}}}
-
 sub preprocess_inline (@) { #{{{
        my %params=@_;
        
@@ -443,8 +438,8 @@ sub genfeed ($$$$@) { #{{{
                );
 
                if (exists $pagestate{$p} &&
-                   exists $pagestate{$p}{meta}{uuid}) {
-                       $itemtemplate->param(uuid => $pagestate{$p}{meta}{uuid});
+                   exists $pagestate{$p}{meta}{guid}) {
+                       $itemtemplate->param(guid => $pagestate{$p}{meta}{guid});
                }
 
                if ($itemtemplate->query(name => "enclosure")) {