aboutsummaryrefslogtreecommitdiff
path: root/src/content/blog/Blog.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/blog/Blog.hpp')
-rw-r--r--src/content/blog/Blog.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/blog/Blog.hpp b/src/content/blog/Blog.hpp
index abdb522..637ea7b 100644
--- a/src/content/blog/Blog.hpp
+++ b/src/content/blog/Blog.hpp
@@ -21,6 +21,7 @@ struct blog_entry
std::time_t createDate;
std::time_t publishDate;
bool published;
+ bool accessAllowed;
};
using BlogMetadata = inja::json;
@@ -45,7 +46,7 @@ public:
bool ValidateEntries();
void FillRenderData(RenderData & re, BlogEntry const & be);
void GenerateBlogListing(RenderData & rd);
- void GetBlogPost(RenderData & rd, char const * blogPostUri);
+ bool GetBlogPost(RenderData & rd, char const * blogPostUri);
private:
std::string m_UriBasePath;