Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Prepare site files
run: |
mkdir -p _site
cp index.html install.sh _site/
cp index.html install.sh og-image.png _site/
cp -f favicon.ico .nojekyll _site/ 2>/dev/null || true

- name: Upload artifact
Expand Down
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Klever Developer Tools — Install</title>
<meta name="description" content="Install the complete Klever smart contract development environment with a single command.">

<!-- Open Graph / Social Media -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://install.klever.org/">
<meta property="og:title" content="Klever Developer Tools">
<meta property="og:description" content="Everything you need to build, test, and deploy smart contracts on the Klever blockchain. One command, fully configured.">
<meta property="og:image" content="https://install.klever.org/og-image.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">

<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Klever Developer Tools">
<meta name="twitter:description" content="Everything you need to build, test, and deploy smart contracts on the Klever blockchain. One command, fully configured.">
<meta name="twitter:image" content="https://install.klever.org/og-image.png">

<link rel="icon" type="image/x-icon" href="/favicon.ico">
<style>
*, *::before, *::after {
Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,8 @@ main() {
fi
}

# Ensure entire script is downloaded before execution when piped via curl | bash
# Guard allows sourcing functions without running main (e.g., for testing)
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
# Guard allows sourcing functions without running main (e.g., for testing).
# When piped via curl | bash, BASH_SOURCE[0] is empty — run main in that case too.
if [[ -z "${BASH_SOURCE[0]}" || "${BASH_SOURCE[0]}" == "${0}" ]]; then
main "$@"
fi
Binary file added og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.