Skip to content
Snippets Groups Projects
Commit 6c220c2c authored by Stephen D's avatar Stephen D
Browse files

don't show hidden posts in the rss feed

parent d7e14b02
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,9 @@ impl Blog {
);
for p in &self.posts {
out.push_str(&p.rss(&self.config.root)?);
if !p.hidden {
out.push_str(&p.rss(&self.config.root)?);
}
}
out.push_str("</channel></rss>");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment