From f9fd0d795fb7bff10cb759f2300200d50b0fbab3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 23 Jun 2017 23:06:43 +0200 Subject: feat: Streaming DOM templates via rheo --- src/views/index.njk | 17 ----------------- src/views/layouts/main.njk | 13 ------------- src/views/post.njk | 8 -------- src/views/term.njk | 7 ------- 4 files changed, 45 deletions(-) delete mode 100644 src/views/index.njk delete mode 100644 src/views/layouts/main.njk delete mode 100644 src/views/post.njk delete mode 100644 src/views/term.njk (limited to 'src/views') diff --git a/src/views/index.njk b/src/views/index.njk deleted file mode 100644 index 9a7cc80..0000000 --- a/src/views/index.njk +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "layouts/main.njk" %} - -{% block body %} - -

hello world

- - - -{% endblock %} diff --git a/src/views/layouts/main.njk b/src/views/layouts/main.njk deleted file mode 100644 index 1fe1a93..0000000 --- a/src/views/layouts/main.njk +++ /dev/null @@ -1,13 +0,0 @@ - - - - - {% block title %}{{ site.title }}{% endblock %} - - -
- {% block body %} - {% endblock %} -
- - diff --git a/src/views/post.njk b/src/views/post.njk deleted file mode 100644 index d6a4f92..0000000 --- a/src/views/post.njk +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "layouts/main.njk" %} - -{% block body %} - -{{ post.data.title }} - -{{ post.body | safe }} -{% endblock %} diff --git a/src/views/term.njk b/src/views/term.njk deleted file mode 100644 index 6ac932e..0000000 --- a/src/views/term.njk +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "layouts/main.njk" %} - -{% block body %} -{% for post in posts %} - {{ post.data.get('title') }} -{% endfor %} -{% endblock %} -- cgit 1.4.1