-
-
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.
- Loading branch information
1 parent
15dbc92
commit eb49ef5
Showing
47 changed files
with
2,170 additions
and
6,842 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
node_modules/ | ||
css/ | ||
js/ | ||
_site | ||
_cache | ||
node_modules/* |
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 |
---|---|---|
@@ -1,33 +1,13 @@ | ||
{ | ||
// Editor Settings | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
// General Settings | ||
"extensions.ignoreRecommendations": true, | ||
// Explorer Settings | ||
"explorer.confirmDelete": false, | ||
"explorer.confirmDragAndDrop": false, | ||
// Git Settings | ||
"git.autofetch": true, | ||
"git.enableSmartCommit": true, | ||
"github.copilot.enable": { | ||
"*": true | ||
"[svg]": { | ||
"editor.defaultFormatter": "jock.svg" | ||
}, | ||
// JSON Schema Settings | ||
"json.schemas": [ | ||
{ | ||
"fileMatch": ["*.json", "*.jsonc"], | ||
"url": "https://json.schemastore.org/package" | ||
} | ||
], | ||
// Material Icon Theme Settings | ||
"material-icon-theme.files.color": "#ef5350", | ||
"material-icon-theme.folders.color": "#ef5350", | ||
// Terminal Settings | ||
"terminal.integrated.enableMultiLinePasteWarning": "never", | ||
// Workbench Settings | ||
"workbench.colorTheme": "Monokai Dimmed", | ||
"workbench.iconTheme": "material-icon-theme", | ||
"workbench.startupEditor": "none", | ||
"git.ignoreLimitWarning": true | ||
"deno.enable": true | ||
} |
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,20 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Build Lume", | ||
"type": "shell", | ||
"command": "deno task build", | ||
"group": "build", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Serve Lume", | ||
"type": "shell", | ||
"command": "deno task serve", | ||
"group": "build", | ||
"isBackground": true, | ||
"problemMatcher": [] | ||
} | ||
] | ||
} |
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,57 @@ | ||
# Lume Static Website | ||
|
||
Welcome to the Lume Static Website project! This repository contains the source code for a static website built using [Lume](https://lumeland.github.io/), a static site generator for [Deno](https://deno.land/). | ||
|
||
## Getting Started | ||
|
||
### Prerequisites | ||
|
||
Ensure you have Deno installed. You can install Deno by following the instructions on the [official website](https://deno.land/#installation). | ||
|
||
### Installation | ||
|
||
1. Clone the repository: | ||
|
||
```sh | ||
git clone https://github.com/XodiumSoftware/XodiumSoftware.github.io.git | ||
cd XodiumSoftware.github.io | ||
``` | ||
|
||
2. Install Lume: | ||
```sh | ||
deno install -A -f --unstable https://deno.land/x/lume/cli.ts | ||
``` | ||
|
||
### Running the Development Server | ||
|
||
To start the development server, run: | ||
|
||
```sh | ||
lume --serve | ||
``` | ||
|
||
This will start a local server at `http://localhost:3000` where you can view your site. | ||
|
||
### Building the Site | ||
|
||
To build the static site, run: | ||
|
||
```sh | ||
lume | ||
``` | ||
|
||
The output will be generated in the `_site` directory. | ||
|
||
## Project Structure | ||
|
||
- `/_data`: Contains data files used in the site. | ||
- `/pages`: Contains the content pages of the site. | ||
- `/layouts`: Contains layout templates. | ||
- `/assets`: Contains static assets like images, CSS, and JavaScript files. | ||
|
||
## Acknowledgements | ||
|
||
- [Lume](https://lumeland.github.io/) | ||
- [Deno](https://deno.land/) | ||
|
||
Thank you for using Lume and Deno! |
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,24 @@ | ||
import lume from "lume/mod.ts"; | ||
import lightningCss from "lume/plugins/lightningcss.ts"; | ||
import minifyHTML from "lume/plugins/minify_html.ts"; | ||
import sitemap from "lume/plugins/sitemap.ts"; | ||
import robots from "lume/plugins/robots.ts"; | ||
import svgo from "lume/plugins/svgo.ts"; | ||
import esbuild from "lume/plugins/esbuild.ts"; | ||
import sourceMaps from "lume/plugins/source_maps.ts"; | ||
|
||
const site = lume({ src: "src", location: new URL("https://xodium.org/") }); | ||
|
||
site.ignore("README.md", "LICENSE.md", "CODE_OF_CONDUCT.md"); | ||
site.copyRemainingFiles((path: string) => | ||
path.startsWith("") ? path.toLowerCase() : false | ||
); | ||
site.use(lightningCss()); | ||
site.use(minifyHTML()); | ||
site.use(sitemap()); | ||
site.use(robots()); | ||
site.use(svgo()); | ||
site.use(esbuild()); | ||
site.use(sourceMaps()); | ||
|
||
export default site; |
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 @@ | ||
{ | ||
"imports": { | ||
"lume/": "https://deno.land/x/lume@v2.3.2/", | ||
"tailwindcss": "https://deno.land/x/tailwindcss@3.4.13/" | ||
}, | ||
"tasks": { | ||
"lume": "echo \"import 'lume/cli.ts'\" | deno run -A -", | ||
"build": "deno task lume", | ||
"serve": "deno task lume -s" | ||
}, | ||
"compilerOptions": { | ||
"types": ["lume/types.ts"] | ||
} | ||
} |
Oops, something went wrong.