aboutsummaryrefslogtreecommitdiff
path: root/wwwroot/blog
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-10-23 01:32:04 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-11-13 18:23:53 +0100
commit7985947c4b5624c2211d2851fa69eefba5daf178 (patch)
tree628582acb41749eac9b61848df3036e770b2d788 /wwwroot/blog
parentc2ef613b99d01e742127d894756e49f42b1f264d (diff)
Initial blog.impl.ccblog.impl.cc
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'wwwroot/blog')
-rw-r--r--wwwroot/blog/hello-world.json9
-rw-r--r--wwwroot/blog/hello-world.md3
-rw-r--r--wwwroot/blog/index.html27
-rw-r--r--wwwroot/blog/my-second-blog-entry.json9
-rw-r--r--wwwroot/blog/my-second-blog-entry.md5
-rw-r--r--wwwroot/blog/my-third-blog-entry.json9
-rw-r--r--wwwroot/blog/my-third-blog-entry.md2
-rw-r--r--wwwroot/blog/my-very-first-blog-entry.json9
-rw-r--r--wwwroot/blog/my-very-first-blog-entry.md8
9 files changed, 12 insertions, 69 deletions
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 @@
-<html><body>
-<p>
-<b>blabla</b>
-Test fn....: <b>{{ test_fn }}</b><br>
-Test RetFN.: <b>{{ test_return_true }}</b><br><br><br>
-{% if exists("blog_listing") %}
-<table>
-## for entry in blog_listing
- <tr>
- <td>{{ loop.index1 }}</td>
- <td>{{ entry.filename }}</td>
- <td>{{ entry.title }}</td>
- <td>{{ entry.tags }}</td>
- <td>{{ entry.author }}</td>
- <td>{{ entry.createDate }}</td>
- <td>{{ entry.publishDate }}</td>
- <td>{{ entry.published }}</td>
- <td>
- {{ indent(entry.content, 12, false, false) }}
- </td>
- <td>{% if loop.is_last == false %}more{% else %}eof{% endif %}<br>
- </tr>
-## endfor
-</table>
-{% endif %}
-</p>
-</body></html>
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...
-```