Use subdirs for includes (#212)

This commit is contained in:
Mikhail 2022-02-10 02:30:58 +07:00 committed by GitHub
parent 3f97d611b4
commit ec2cf03fad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 24 additions and 24 deletions

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Create Account - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/create.js"></script>
</head>
<body>

View file

@ -2,13 +2,13 @@
<html>
<head>
<title>Dashboard - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<link rel="stylesheet" href="/resources/css/account/dashboard.css">
<script src="/resources/js/account/dashboard.js"></script>
</head>
<body>
<div class="container">
{{include "/includes/account-nav.html"}}
{{include "/includes/account/nav.html"}}
<main class="dashboard">
<section>
<h1 class="pad">Your packages<a href="/account/register-package" class="gray button float-right">Register package</a></h1>

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Log In - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/login.js"></script>
</head>
<body>

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Logout - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/logout.js"></script>
</head>
<body>

View file

@ -2,12 +2,12 @@
<html>
<head>
<title>Register Package - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/register-package.js"></script>
</head>
<body>
<div class="container">
{{include "/includes/account-nav.html"}}
{{include "/includes/account/nav.html"}}
<main>
<section>
<form action="/api/claim-package">

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Reset Password - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/reset-password.js"></script>
</head>
<body>

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Confirm Account - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/verify.js"></script>
</head>
<body>

View file

@ -8,14 +8,14 @@
<html>
<head>
<title>{{$title}} &mdash; Caddy Documentation</title>
{{include "/includes/docs-head.html"}}
{{include "/includes/docs/head.html"}}
<meta property="og:title" content="{{$title}} - Caddy Documentation">
<meta name="twitter:title" value="{{$title}} - Caddy Documentation">
</head>
<body>
{{include "/includes/docs-header.html"}}
{{include "/includes/docs/header.html"}}
<main>
{{include "/includes/docs-nav.html"}}
{{include "/includes/docs/nav.html"}}
<div class="article-container">
<div class="paper" id="paper1"></div>
<div class="paper" id="paper2"></div>

View file

@ -2,16 +2,16 @@
<html>
<head>
<title>JSON Config Structure - Caddy Documentation</title>
{{include "/includes/docs-head.html"}}
{{include "/includes/docs/head.html"}}
<link rel="stylesheet" href="/resources/css/docs-json.css">
<script src="/resources/js/marked-0.8.0.min.js"></script>
<script src="/resources/js/docs-api.js"></script>
<script src="/resources/js/json-docs.js"></script>
</head>
<body>
{{include "/includes/docs-header.html"}}
{{include "/includes/docs/header.html"}}
<main>
{{include "/includes/docs-nav.html"}}
{{include "/includes/docs/nav.html"}}
<div class="article-container">
<div class="paper" id="paper1"></div>
<div class="paper" id="paper2"></div>
@ -20,15 +20,15 @@
<div class="breadcrumbs">
<!--Populated by JS-->
</div>
{{include "/includes/docs-renderbox.html"}}
{{include "/includes/docs-details.html"}}
{{include "/includes/docs/renderbox.html"}}
{{include "/includes/docs/details.html"}}
</article>
</div>
</div>
<div class="sidebar"></div>
</main>
{{include "/includes/docs-hovercard.html"}}
{{include "/includes/docs/hovercard.html"}}
{{include "/includes/footer.html"}}
</body>

View file

@ -2,16 +2,16 @@
<html>
<head>
<title>Modules - Caddy Documentation</title>
{{include "/includes/docs-head.html"}}
{{include "/includes/docs/head.html"}}
<link rel="stylesheet" href="/resources/css/docs-json.css">
<script src="/resources/js/marked-0.8.0.min.js"></script>
<script src="/resources/js/docs-api.js"></script>
<script src="/resources/js/module-docs.js"></script>
</head>
<body>
{{include "/includes/docs-header.html"}}
{{include "/includes/docs/header.html"}}
<main>
{{include "/includes/docs-nav.html"}}
{{include "/includes/docs/nav.html"}}
<div class="article-container">
<div class="paper" id="paper1"></div>
<div class="paper" id="paper2"></div>
@ -41,8 +41,8 @@
<div id="module-template" class="module-repo-container">
<div class="module-repo-selector"></div>
<article>
{{include "/includes/docs-renderbox.html"}}
{{include "/includes/docs-details.html"}}
{{include "/includes/docs/renderbox.html"}}
{{include "/includes/docs/details.html"}}
</article>
</div>
</div>
@ -50,7 +50,7 @@
</div>
<div class="sidebar"></div>
</main>
{{include "/includes/docs-hovercard.html"}}
{{include "/includes/docs/hovercard.html"}}
{{include "/includes/footer.html"}}
</body>
</html>