From 4887e2d8b718c239d8c5cf79513e261a40a103f3 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 27 Jul 2019 16:05:11 -0400 Subject: add live preview --- blog.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/blog.c b/blog.c index 3c69802..8174a10 100644 --- a/blog.c +++ b/blog.c @@ -148,11 +148,18 @@ int main(void) printf("

Posting as %s

\n", user); } + puts(""); + printf("
\n", getenv("DOCUMENT_URI")); puts("
"); - puts("
"); - puts(""); + puts("
"); + puts(""); puts("
"); + puts("
"); printf(HTML_TAIL, current_year(), "Jakob Kaivo", "jakob@kaivo.net"); -- cgit v1.2.1