diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-10-11 12:43:08 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-10-11 12:43:14 +0200 |
commit | 29d30be730518bf063e31f219954ac54498fd993 (patch) | |
tree | 783d40b51f3d80372c18821d0513e4e0ec7bc818 | |
parent | ecb6938ba4b1ac2faf76e420ffa221a7d452e0a8 (diff) |
html: add an h1 with title
-rw-r--r-- | tests/html.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/html.scm b/tests/html.scm index 561dc67..805ab17 100644 --- a/tests/html.scm +++ b/tests/html.scm @@ -31,6 +31,6 @@ (let ((html-index (with-output-to-string (lambda () (html:render index))))) (test-assert (string=? (pk html-index) - "<!DOCTYPE html><html><head><meta author=\"Ekaitz\" /><meta charset=\"utf-8\" /><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /><meta name=\"description\" content=\"\" /><style>body {color: grey}</style><link rel=\"stylesheet\" href=\"/that.css\" /></head><body><section class=\"description\"></section><article class=\"post\" id=\"first-entry\"><h2>first entry</h2><time datetime=\"2023-03-01T00:00:00+0100\" pubdate=\"#t\">2023-03-01T00:00:00+0100</time><address class=\"author\"><a rel=\"author\">Ekaitz</a></address><section class=\"summary\"><p>Este es el resumen</p></section><section class=\"content\"><p>Este es el contenido</p></section></article><script>console.log(\"HOLA\")</script><script src=\"/script.js\" /></body></html>"))) + "<!DOCTYPE html><html><head><meta author=\"Ekaitz\" /><meta charset=\"utf-8\" /><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /><meta name=\"description\" content=\"\" /><style>body {color: grey}</style><link rel=\"stylesheet\" href=\"/that.css\" /></head><body><h1 class=\"title\">Mi feed</h1><section class=\"description\"></section><article class=\"post\" id=\"first-entry\"><h2>first entry</h2><time datetime=\"2023-03-01T00:00:00+0100\" pubdate=\"#t\">2023-03-01T00:00:00+0100</time><address class=\"author\"><a rel=\"author\">Ekaitz</a></address><section class=\"summary\"><p>Este es el resumen</p></section><section class=\"content\"><p>Este es el contenido</p></section></article><script>console.log(\"HOLA\")</script><script src=\"/script.js\" /></body></html>"))) (test-end "HTML index page") |