add bootstrap to public assets

This commit is contained in:
Nikola Petrov 2023-07-29 00:14:19 +02:00
parent 3c4edcad36
commit 511b39a65e
4 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -64,4 +64,5 @@ UpImage/
archive/
public/assets/
!public/assets/main/
!public/assets/bootstrap/
.vscode/

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "public/assets/bootstrap"]
path = public/assets/bootstrap
url = https://github.com/twbs/bootstrap.git

@ -0,0 +1 @@
Subproject commit c81a694ff3363c37b5ac8f8dbcb3f6ce90d350dd

View File

@ -6,8 +6,8 @@
<link rel="shortcut icon" href="images/logo.ico" type="image/x-icon">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{{#unless disableBootStrap}}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<link href="/assets/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<script defer src="/assets/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
{{/unless}}
<title>{{title}}</title>
</head>