mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 02:59:27 +00:00
updated javascript preloading
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"extensions": {
|
"extensions": {
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
|
"charliermarsh.ruff",
|
||||||
"esbenp.prettier-vscode",
|
"esbenp.prettier-vscode",
|
||||||
"ms-edgedevtools.vscode-edge-devtools",
|
"ms-edgedevtools.vscode-edge-devtools",
|
||||||
"ms-python.black-formatter",
|
"ms-python.black-formatter",
|
||||||
"ms-python.debugpy",
|
"ms-python.debugpy",
|
||||||
"ms-python.pylint",
|
|
||||||
"ms-python.python",
|
"ms-python.python",
|
||||||
"ms-python.vscode-pylance",
|
"ms-python.vscode-pylance",
|
||||||
"samuelcolvin.jinjahtml",
|
"samuelcolvin.jinjahtml",
|
||||||
|
|||||||
@@ -17,6 +17,10 @@
|
|||||||
{%- if theme %}
|
{%- if theme %}
|
||||||
<link rel="stylesheet" href="{{ theme }}">
|
<link rel="stylesheet" href="{{ theme }}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
<link rel="preload" href="{{ root }}.static/pswp/photoswipe.css" as="style">
|
||||||
|
<link rel="preload" href="{{ root }}.static/pswp/default-skin/default-skin.css" as="style">
|
||||||
|
<link rel="modulepreload" href="{{ root }}.static/pswp/photoswipe.min.js">
|
||||||
|
<link rel="modulepreload" href="{{ root }}.static/pswp/photoswipe-ui-default.min.js">
|
||||||
{%- if images %}
|
{%- if images %}
|
||||||
<link rel="stylesheet" href="{{ root }}.static/pswp/photoswipe.css">
|
<link rel="stylesheet" href="{{ root }}.static/pswp/photoswipe.css">
|
||||||
<link rel="stylesheet" href="{{ root }}.static/pswp/default-skin/default-skin.css">
|
<link rel="stylesheet" href="{{ root }}.static/pswp/default-skin/default-skin.css">
|
||||||
@@ -26,10 +30,6 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<link rel="preload" href="{{ root }}.static/pswp/photoswipe.css" as="style">
|
|
||||||
<link rel="preload" href="{{ root }}.static/pswp/default-skin/default-skin.css" as="style">
|
|
||||||
<link rel="preload" href="{{ root }}.static/pswp/photoswipe.min.js" as="script">
|
|
||||||
<link rel="preload" href="{{ root }}.static/pswp/photoswipe-ui-default.min.js" as="script">
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<ul class="navbar">
|
<ul class="navbar">
|
||||||
<li><a href="{{ root }}">Home</a></li>
|
<li><a href="{{ root }}">Home</a></li>
|
||||||
|
|||||||
Reference in New Issue
Block a user