fix: format

This commit is contained in:
Artemy 2023-08-15 17:13:42 +03:00
parent e073e9f1ec
commit c88d44dcef
2 changed files with 29 additions and 34 deletions

View File

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

View File

@ -1,9 +1,6 @@
<% const <% const desc="txtdot is a HTTP proxy that parses text, links and pictures from pages reducing internet traffic, removing ads and heavy scripts" %>
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>
<!DOCTYPE html>
<html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
@ -13,7 +10,6 @@
<link rel="stylesheet" href="/static/common.css"> <link rel="stylesheet" href="/static/common.css">
<link rel="stylesheet" href="/static/index.css"> <link rel="stylesheet" href="/static/index.css">
</head> </head>
<body> <body>
<main> <main>
<header> <header>
@ -34,11 +30,14 @@
<label for="engine">Engine</label> <label for="engine">Engine</label>
<select name="engine"> <select name="engine">
<option value="" selected>Default</option> <option value="" selected>Default</option>
<% engineList.forEach((engine)=> { %> <% engineList.forEach((engine)=> {
<option value="<%= engine %>"> %>
<%= engine %> <option value="<%= engine %>">
</option> <%= engine %>
<% }) %> </option>
<%
})
%>
</select> </select>
</div> </div>
<div class="input"> <div class="input">
@ -52,5 +51,4 @@
</form> </form>
</main> </main>
</body> </body>
</html>
</html>