chore: rename public/assets path to public/vendors

This commit is contained in:
radishzzz 2025-05-28 21:25:34 +01:00
parent cc7e0819f6
commit 32a39aed59
7 changed files with 130 additions and 129 deletions

View file

@ -23,7 +23,7 @@ const { waline: { serverURL = '', emoji = [], search = false, imageUploader = fa
}}
type="module"
>
import { init } from '/assets/waline/waline.js'
import { init } from '/vendors/waline/waline.js'
function initWaline() {
const currentPath = window.location.pathname

View file

@ -60,10 +60,10 @@ const pageImage = postSlug
<link rel="preload" href="/fonts/STIX-Italic-VF.woff2" as="font" type="font/woff2" crossorigin />
<link rel="preload" href={photoSwipeCSS} as="style" />
{katexEnabled && <link rel="preload" href={katexCSS} as="style" />}
{commentEnabled && walineServerURL && <link rel="preload" href="/assets/waline/waline.css" as="style" />}
{commentEnabled && walineServerURL && <link rel="preload" href="/vendors/waline/waline.css" as="style" />}
<link rel="stylesheet" href={photoSwipeCSS} media="print" onload={`this.media='all'`} />
{katexEnabled && <link rel="stylesheet" href={katexCSS} media="print" onload={`this.media='all'`} />}
{commentEnabled && walineServerURL && <link rel="stylesheet" href="/assets/waline/waline.css" media="print" onload={`this.media='all'`} />}
{commentEnabled && walineServerURL && <link rel="stylesheet" href="/vendors/waline/waline.css" media="print" onload={`this.media='all'`} />}
<link rel="alternate" href="/rss.xml" type="application/rss+xml" title="RSS Feed" />
<link rel="alternate" href="/atom.xml" type="application/atom+xml" title="Atom Feed" />
<link rel="sitemap" href="/sitemap-index.xml" />