Skip to content

Commit bb59862

Browse files
Updates
1 parent fd44aec commit bb59862

File tree

7 files changed

+31
-7
lines changed

7 files changed

+31
-7
lines changed

just.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
1414
<link rel="manifest" href="/site.webmanifest"></link>
1515
`,
16-
footer: 'Copyright &copy; 2025 &#171;JustStudio.&#187;'
16+
footer: '<span onclick="javascript:window.open(\'https://github.com/js-just/_just/blob/main/LICENSE\',\'\_blank\')">Copyright &copy; 2025 &#171;<a href="https://juststudio.is-a.dev/" target="_blank">JustStudio.</a>&#187;</span>',
17+
keywords: 'Just, an, Ultimate, Site, Tool, Static, Website, GitHub, Action, Postprocessor, Compressor, Generator, Redirector, Compress, Markdown, Redirect, Generate, Documentation, Docs'
1718
}
1819
}

src/documentation/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,7 @@ checkTLD(domain).then(tldvalid => {
903903
${desc}
904904
${ogtitl}
905905
${ogdesc}
906+
<meta name="generator" content="Just an Ultimate Site Tool (Generator) ${_just.version}">
906907
${prefetch}
907908
<link rel="preload" href="${fixpathh ? "/"+fixpathh : `${start}${fixpath}`}_just/${dataname[9]}.json" as="fetch" type="application/json" crossorigin="anonymous">
908909
<meta property="og:type" content="website">

src/redirect/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ const path = require('path');
3434
const compress = (string) => string.replaceAll(`\n`,'').replaceAll(' ','');
3535
const filter = (input) => input ? input.replace(/[^a-zA-Z0-9]/g, (char) => `&#${char.charCodeAt(0)};`) : undefined;
3636

37+
const vrsn = process.argv.slice(2);
38+
3739
const config = JSON.parse(fs.readFileSync('just.config.json', 'utf-8'));
3840
const redirectConfig = config.redirect_config;
3941

@@ -121,6 +123,7 @@ const generatePage = (url, params, path_) => {
121123
`${meta}"og:title" content="${ogTitle}">` +
122124
`${ogDescription ? `${meta}"og:description" content="${ogDescription}">` : ''}` +
123125
`${meta}"og:url" content="${URL}">${optionalstuff()}` +
126+
`<meta name="generator" content="Just an Ultimate Site Tool (Redirector) ${vrsn}">` +
124127
'</head>' +
125128
'<body>' +
126129
`<h1>${title}</h1>` +

src/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ elif [ "$TYPE" == "redirect" ]; then
203203
mkdir -p deploy/_just && \
204204
installNodejs && \
205205
bash $GITHUB_ACTION_PATH/src/redirect/checks.sh && \
206-
node $GITHUB_ACTION_PATH/src/redirect/index.js && \
206+
node $GITHUB_ACTION_PATH/src/redirect/index.js "$VERSION" && \
207207
TIME3=$(python3 "$GITHUB_ACTION_PATH/src/time.py") && \
208208
DONEIN=$(node "$GITHUB_ACTION_PATH/src/time.js" "$TIME0" "$TIME3") && \
209209
echo -e "$msg5 ($DONEIN)"

tests/just.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
1414
<link rel="manifest" href="/site.webmanifest"></link>
1515
`,
16-
footer: 'Copyright &copy; 2025 &#171;JustStudio.&#187;'
16+
footer: '<span onclick="javascript:window.open(\'https://github.com/js-just/_just/blob/main/LICENSE\',\'\_blank\')">Copyright &copy; 2025 &#171;<a href="https://juststudio.is-a.dev/" target="_blank">JustStudio.</a>&#187;</span>',
17+
keywords: 'Just, an, Ultimate, Site, Tool, Static, Website, GitHub, Action, Postprocessor, Compressor, Generator, Redirector, Compress, Markdown, Redirect, Generate, Documentation, Docs'
1718
}
1819
}

website/code.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Just an Ultimate Site Tool - Helper terminal</title>
7+
<meta property="og:title" content="Just an Ultimate Site Tool - Helper terminal">
8+
<meta property="og:type" content="website">
9+
<meta name="keywords" content="Just, an, Ultimate, Site, Tool, Static, Website, GitHub, Action, Postprocessor, Compressor, Generator, Redirector, Markdown, Generate, Documentation, Docs, Exit, Code, OK, Warning, Error, Helper, Terminal">
410
<link rel="preconnect" href="https://fonts.googleapis.com">
511
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
612
<link href="https://fonts.googleapis.com/css2?family=Lexend+Zetta:[email protected]&family=Rubik+Mono+One&family=Rubik:ital,wght@0,300..900;1,300..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet">
713
<link href="/css.css" rel="stylesheet">
8-
<title>Just an Ultimate Site Tool - Helper terminal</title>
914
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
1015
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
1116
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
1217
<link rel="manifest" href="/site.webmanifest">
18+
<meta name="color-scheme" content="dark">
19+
<meta property="twitter:card" content="summary">
20+
<meta property="og:site_name" content="_just">
1321
</head>
1422
<body class="s">
1523
<pre>

website/home.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,26 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Just an Ultimate Site Tool</title>
7+
<meta name="description" content="A GitHub action to enhance your static website.">
8+
<meta property="og:title" content="Just an Ultimate Site Tool">
9+
<meta property="og:description" content="A GitHub action to enhance your static website.">
10+
<meta property="og:type" content="website">
11+
<meta name="keywords" content="Just, an, Ultimate, Site, Tool, Static, Website, GitHub, Action, Postprocessor, Compressor, Generator, Redirector, Compress, Markdown, Redirect, Generate, Documentation, Docs">
412
<link rel="preconnect" href="https://fonts.googleapis.com">
513
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
614
<link href="https://fonts.googleapis.com/css2?family=Lexend+Zetta:[email protected]&family=Rubik+Mono+One&family=Rubik:ital,wght@0,300..900;1,300..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet">
715
<link href="/css.css" rel="stylesheet">
8-
<title>Just an Ultimate Site Tool</title>
916
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
1017
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
1118
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
1219
<link rel="manifest" href="/site.webmanifest">
1320
<script src="/js/s.js"></script>
21+
<meta name="color-scheme" content="dark light">
22+
<meta property="twitter:card" content="summary_large_image">
23+
<meta property="og:site_name" content="_just">
1424
</head>
1525
<body class="bgb xh h">
1626
<div data-just="navbar"></div>

0 commit comments

Comments
 (0)