From e209b5617d2c1332e50c421112791f49b84e6d0b Mon Sep 17 00:00:00 2001 From: veradec Date: Fri, 30 Oct 2026 00:02:54 +0530 Subject: add: template engine to replace instances of {{content}} to the actual content. --- templates/index.html | 5 +++-- templates/list.html | 10 ++++++++++ templates/post.html | 8 ++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 templates/list.html create mode 100644 templates/post.html (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 9ad19d3..92314c6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,8 +2,9 @@ -

My First Heading

-

My first paragraph.

+

Venkata Rao Dechiraju's Website

+ +{{content}} diff --git a/templates/list.html b/templates/list.html new file mode 100644 index 0000000..15cfb96 --- /dev/null +++ b/templates/list.html @@ -0,0 +1,10 @@ + + + + +

Blog List

+ +{{content}} + + + diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..5503f17 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,8 @@ + + + + +{{content}} + + + -- cgit v1.2.3