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> <html>
<head> <head>
<title>Create Account - Caddy</title> <title>Create Account - Caddy</title>
{{include "/includes/account-head.html"}} {{include "/includes/account/head.html"}}
<script src="/resources/js/account/create.js"></script> <script src="/resources/js/account/create.js"></script>
</head> </head>
<body> <body>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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