jekyll(assets): move css to assets folder

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-07-27 03:31:06 +02:00
parent 56cfd1bac1
commit 998bfbfd09
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
7 changed files with 7 additions and 7 deletions

View File

@ -59,18 +59,18 @@
{%- endcomment -%}
{%- if page.layout == 'landing' -%}
<!-- landing page scripts -->
<script defer src="/js/theme-switcher.js"></script>
<script defer src="/assets/js/theme-switcher.js"></script>
<script defer src="/assets/jquery/jquery.js"></script>
<script defer src="/assets/bootstrap/bootstrap.min.js"></script>
{%- else -%}
<script defer src="/js/theme-switcher.js"></script>
<script defer src="/js/anchorlinks.js"></script>
<script defer src="/assets/js/theme-switcher.js"></script>
<script defer src="/assets/js/anchorlinks.js"></script>
<script defer src="/assets/jquery/jquery.js"></script>
<script defer src="/assets/bootstrap/bootstrap.min.js"></script>
<script defer src="/js/docs.js"></script>
<script defer src="/assets/js/docs.js"></script>
{%- endif -%}
{%- if site.local_search -%}
<script defer src="/js/search.js"></script>
<script defer src="/assets/js/search.js"></script>
{%- endif -%}
{%- comment -%}

View File

@ -62,7 +62,7 @@ function walkTree(tree) {
}
function renderNav() {
getJSON( "/js/toc.json", function( data ) {
getJSON( "/assets/js/toc.json", function( data ) {
for (const item of data.horizontalnav) {
if (item.path === pageURL || pageIsInSection(data[item.node])) {
// This is the current section. Set the corresponding header-nav link

View File

@ -103,7 +103,7 @@ function handleSearch(/* KeyboardEvent */ e) {
}
ready(() => {
getJSON( "/js/metadata.json", function(data) {
getJSON( "/assets/js/metadata.json", function(data) {
pages = data
const input = _("#st-search-input")
if (/* HTMLInputElement */ input) {