From 7985947c4b5624c2211d2851fa69eefba5daf178 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sat, 23 Oct 2021 01:32:04 +0200 Subject: Initial blog.impl.cc Signed-off-by: Toni Uhlig --- wwwroot/blog/hello-world.json | 9 +++++++++ wwwroot/blog/hello-world.md | 3 +++ wwwroot/blog/index.html | 27 --------------------------- wwwroot/blog/my-second-blog-entry.json | 9 --------- wwwroot/blog/my-second-blog-entry.md | 5 ----- wwwroot/blog/my-third-blog-entry.json | 9 --------- wwwroot/blog/my-third-blog-entry.md | 2 -- wwwroot/blog/my-very-first-blog-entry.json | 9 --------- wwwroot/blog/my-very-first-blog-entry.md | 8 -------- 9 files changed, 12 insertions(+), 69 deletions(-) create mode 100644 wwwroot/blog/hello-world.json create mode 100644 wwwroot/blog/hello-world.md delete mode 100644 wwwroot/blog/index.html delete mode 100644 wwwroot/blog/my-second-blog-entry.json delete mode 100644 wwwroot/blog/my-second-blog-entry.md delete mode 100644 wwwroot/blog/my-third-blog-entry.json delete mode 100644 wwwroot/blog/my-third-blog-entry.md delete mode 100644 wwwroot/blog/my-very-first-blog-entry.json delete mode 100644 wwwroot/blog/my-very-first-blog-entry.md (limited to 'wwwroot/blog') diff --git a/wwwroot/blog/hello-world.json b/wwwroot/blog/hello-world.json new file mode 100644 index 0000000..ce3ecba --- /dev/null +++ b/wwwroot/blog/hello-world.json @@ -0,0 +1,9 @@ +{ + "title": "Hello World!", + "tags": [ "first" ], + "author": "lns", + "createDate": "30.10.2021 22:32", + "publishDate": "30.10.2021 22:39", + "published": true, + "accessAllowed": true +} diff --git a/wwwroot/blog/hello-world.md b/wwwroot/blog/hello-world.md new file mode 100644 index 0000000..f3891e5 --- /dev/null +++ b/wwwroot/blog/hello-world.md @@ -0,0 +1,3 @@ +```C +hello = world(); +``` diff --git a/wwwroot/blog/index.html b/wwwroot/blog/index.html deleted file mode 100644 index a4c520a..0000000 --- a/wwwroot/blog/index.html +++ /dev/null @@ -1,27 +0,0 @@ - -

-blabla -Test fn....: {{ test_fn }}
-Test RetFN.: {{ test_return_true }}


-{% if exists("blog_listing") %} - -## for entry in blog_listing - - - - - - - - - - - -## endfor -
{{ loop.index1 }}{{ entry.filename }}{{ entry.title }}{{ entry.tags }}{{ entry.author }}{{ entry.createDate }}{{ entry.publishDate }}{{ entry.published }} - {{ indent(entry.content, 12, false, false) }} - {% if loop.is_last == false %}more{% else %}eof{% endif %}
-
-{% endif %} -

- diff --git a/wwwroot/blog/my-second-blog-entry.json b/wwwroot/blog/my-second-blog-entry.json deleted file mode 100644 index c1a4fe6..0000000 --- a/wwwroot/blog/my-second-blog-entry.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "title": "Second blog entry.", - "tags": [ "bla" ], - "author": "lns", - "createDate": "23.02.1989 23:59", - "publishDate": "30.12.2020 1:00", - "published": true, - "accessAllowed": false -} diff --git a/wwwroot/blog/my-second-blog-entry.md b/wwwroot/blog/my-second-blog-entry.md deleted file mode 100644 index 054046a..0000000 --- a/wwwroot/blog/my-second-blog-entry.md +++ /dev/null @@ -1,5 +0,0 @@ -Text -======= - -*lorem* **ipsum** -~~striked~~ diff --git a/wwwroot/blog/my-third-blog-entry.json b/wwwroot/blog/my-third-blog-entry.json deleted file mode 100644 index 3478508..0000000 --- a/wwwroot/blog/my-third-blog-entry.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "title": "Third.", - "tags": [ "test" ], - "author": "lns", - "createDate": "24.02.1989 23:59", - "publishDate": "31.12.2020 1:00", - "published": false, - "accessAllowed": false -} diff --git a/wwwroot/blog/my-third-blog-entry.md b/wwwroot/blog/my-third-blog-entry.md deleted file mode 100644 index 292b1e1..0000000 --- a/wwwroot/blog/my-third-blog-entry.md +++ /dev/null @@ -1,2 +0,0 @@ -Text -======= diff --git a/wwwroot/blog/my-very-first-blog-entry.json b/wwwroot/blog/my-very-first-blog-entry.json deleted file mode 100644 index e10fb2c..0000000 --- a/wwwroot/blog/my-very-first-blog-entry.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "title": "My first blog entry!", - "tags": [ "test", "bla" ], - "author": "lns", - "createDate": "22.02.1989 23:59", - "publishDate": "31.12.2020 1:00", - "published": true, - "accessAllowed": true -} diff --git a/wwwroot/blog/my-very-first-blog-entry.md b/wwwroot/blog/my-very-first-blog-entry.md deleted file mode 100644 index 017cbfc..0000000 --- a/wwwroot/blog/my-very-first-blog-entry.md +++ /dev/null @@ -1,8 +0,0 @@ -Text -======= - -`test` - -``` -some code... -``` -- cgit v1.2.3