-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to search, local-file-tweaks, test ajax-navigation, update Butt…
…ons, add offline.zip packaging
- Loading branch information
octospacc
committed
Aug 30, 2024
1 parent
745267c
commit 89134ff
Showing
25 changed files
with
199 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
. "$(dirname "$(realpath "$0")")/Lib/Globals.sh" | ||
cd "${swd}/.." | ||
|
||
sh "${swd}/Requirements.sh" | ||
rm -rf ./dist | ||
|
||
sh "${swd}/Produce.sh" | ||
mv ./build/public ./dist | ||
|
||
sh "${swd}/Package.sh" | ||
mv ./build/public/offline.zip ./dist/ | ||
|
||
cd "${owd}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
. "$(dirname "$(realpath "$0")")/Lib/Globals.sh" | ||
cd "${swd}/.." | ||
|
||
export sitocttEnv=Offline | ||
export HUGO_ENV=production | ||
sh "${swd}/Clean.sh" | ||
sh "${swd}/Update.sh" | ||
|
||
cd ./build/public | ||
#zip -9 -r ./offline.zip * | ||
7z a -tzip -mcp=437 -mx9 ./offline.zip * | ||
|
||
cd "${owd}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ site.Language.LanguageCode }}"><!-- | ||
{{- $canonicalBase := site.Params.canonicalUrlOverride -}} | ||
{{- $canonicalUrl := (or | ||
(and | ||
$canonicalBase | ||
(printf "%s%s" | ||
$canonicalBase | ||
(relURL .Permalink))) | ||
.Permalink) -}} | ||
--> | ||
<head> | ||
<title>{{ .Permalink }}</title> | ||
<link rel="canonical" href="{{ $canonicalUrl }}" /> | ||
<meta name="robots" content="noindex" /> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="refresh" content="0; url={{ .Permalink }}" /> | ||
</head> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.