aboutsummaryrefslogtreecommitdiff
path: root/wwwroot/blog
diff options
context:
space:
mode:
Diffstat (limited to 'wwwroot/blog')
-rw-r--r--wwwroot/blog/index.html2
-rw-r--r--wwwroot/blog/my-second-blog-entry.json3
-rw-r--r--wwwroot/blog/my-third-blog-entry.json3
-rw-r--r--wwwroot/blog/my-very-first-blog-entry.json3
4 files changed, 7 insertions, 4 deletions
diff --git a/wwwroot/blog/index.html b/wwwroot/blog/index.html
index 9198152..a4c520a 100644
--- a/wwwroot/blog/index.html
+++ b/wwwroot/blog/index.html
@@ -3,7 +3,7 @@
<b>blabla</b>
Test fn....: <b>{{ test_fn }}</b><br>
Test RetFN.: <b>{{ test_return_true }}</b><br><br><br>
-{% if exists("blog_listing") and length(blog_listing) > 0 %}
+{% if exists("blog_listing") %}
<table>
## for entry in blog_listing
<tr>
diff --git a/wwwroot/blog/my-second-blog-entry.json b/wwwroot/blog/my-second-blog-entry.json
index ecb2b8b..c1a4fe6 100644
--- a/wwwroot/blog/my-second-blog-entry.json
+++ b/wwwroot/blog/my-second-blog-entry.json
@@ -4,5 +4,6 @@
"author": "lns",
"createDate": "23.02.1989 23:59",
"publishDate": "30.12.2020 1:00",
- "published": true
+ "published": true,
+ "accessAllowed": false
}
diff --git a/wwwroot/blog/my-third-blog-entry.json b/wwwroot/blog/my-third-blog-entry.json
index 9682cd2..3478508 100644
--- a/wwwroot/blog/my-third-blog-entry.json
+++ b/wwwroot/blog/my-third-blog-entry.json
@@ -4,5 +4,6 @@
"author": "lns",
"createDate": "24.02.1989 23:59",
"publishDate": "31.12.2020 1:00",
- "published": false
+ "published": false,
+ "accessAllowed": false
}
diff --git a/wwwroot/blog/my-very-first-blog-entry.json b/wwwroot/blog/my-very-first-blog-entry.json
index 52f52f7..e10fb2c 100644
--- a/wwwroot/blog/my-very-first-blog-entry.json
+++ b/wwwroot/blog/my-very-first-blog-entry.json
@@ -4,5 +4,6 @@
"author": "lns",
"createDate": "22.02.1989 23:59",
"publishDate": "31.12.2020 1:00",
- "published": true
+ "published": true,
+ "accessAllowed": true
}