From bfd3a825c2d73bd842769cdfaf11ad0319a3bd6e Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 26 May 2021 23:58:29 +0530 Subject: added code and content --- templates/base.html | 19 +++++++++++++++++++ templates/feed.rss | 27 +++++++++++++++++++++++++++ templates/head_tag.html | 31 +++++++++++++++++++++++++++++++ templates/header.html | 9 +++++++++ templates/index.html | 24 ++++++++++++++++++++++++ templates/post.html | 8 ++++++++ templates/section.html | 25 +++++++++++++++++++++++++ 7 files changed, 143 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/feed.rss create mode 100644 templates/head_tag.html create mode 100644 templates/header.html create mode 100644 templates/index.html create mode 100644 templates/post.html create mode 100644 templates/section.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..0dc51e0 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,19 @@ + + + + {% block head %} + + + + + Hey - {% block title %}{% endblock %} + {% endblock %} + + + {% include "header.html" %} + {% block body %}{% endblock %} + + + + + \ No newline at end of file diff --git a/templates/feed.rss b/templates/feed.rss new file mode 100644 index 0000000..275168a --- /dev/null +++ b/templates/feed.rss @@ -0,0 +1,27 @@ + + + + {{ feed.title}} + {{ feed.description }} + {{ feed.link }}en + {{ feed.date }} + {{ feed.date }} + 250 + + {% for post in posts %} + + + {{post.metadata.link}} + + + {{post.metadata.title}} + + + {{post.metadata.description}} + + {{post.metadata.link}} + {{post.metadata.date}} + + + {% endfor %} + \ No newline at end of file diff --git a/templates/head_tag.html b/templates/head_tag.html new file mode 100644 index 0000000..1f906f4 --- /dev/null +++ b/templates/head_tag.html @@ -0,0 +1,31 @@ + + Hi! | {% block title %}{% endblock %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/header.html b/templates/header.html new file mode 100644 index 0000000..fb7277a --- /dev/null +++ b/templates/header.html @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..cc66cd3 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} +{% block title %}Home{% endblock %} + +{% block body %} + +
+ {{ content}} + + +
+{% endblock %} \ No newline at end of file diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..596ded2 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block title %}Post{% endblock %} + +{% block body %} +
+ {{ content}} +
+{% endblock %} \ No newline at end of file diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..2a9e863 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} +{% block title %}Section{% endblock %} + +{% block body %} + +
+ {{ content}} +
+ + + +{% endblock %} \ No newline at end of file -- cgit v1.2.3