fix: heading into body

This commit is contained in:
Artemy 2023-08-15 16:26:49 +03:00
parent c70a84db52
commit e073e9f1ec
2 changed files with 65 additions and 49 deletions

View File

@ -1,15 +1,24 @@
<!DOCTYPE html>
<html lang="<%= parsed.lang %>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="noindex, nofollow">
<title><%= parsed.title %></title>
<title>
<%= parsed.title %>
</title>
<link rel="stylesheet" href="/static/common.css">
</head>
<body>
<h1><%= parsed.title %></h1>
<main><%- parsed.content %></main>
<main>
<h1>
<%= parsed.title %>
</h1>
<%- parsed.content %>
</main>
</body>
</html>

View File

@ -1,6 +1,9 @@
<% const desc = "txtdot is a HTTP proxy that parses text, links and pictures from pages reducing internet traffic, removing ads and heavy scripts" %>
<% const
desc="txtdot is a HTTP proxy that parses text, links and pictures from pages reducing internet traffic, removing ads and heavy scripts"
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -10,11 +13,14 @@
<link rel="stylesheet" href="/static/common.css">
<link rel="stylesheet" href="/static/index.css">
</head>
<body>
<main>
<header>
<h1>txt.</h1>
<p><%= desc %></p>
<p>
<%= desc %>
</p>
</header>
<form action="/get" method="get" class="input-grid">
<div class="input">
@ -46,4 +52,5 @@
</form>
</main>
</body>
</html>