diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
deleted file mode 100644
index fc23937..0000000
--- a/.github/workflows/build.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: Build PR
-
-on:
- pull_request:
- branches: ['main']
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- strategy:
- matrix:
- node-version: ['20']
-
- steps:
- - uses: actions/checkout@v4
-
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4
- with:
- node-version: ${{ matrix.node-version }}
- cache: 'npm'
-
- - name: Install packages
- run: npm ci
-
- - name: Run npm build
- run: npm run build
\ No newline at end of file
diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/main.yml
similarity index 76%
rename from .github/workflows/build-and-deploy.yml
rename to .github/workflows/main.yml
index 1787227..b93c3f5 100644
--- a/.github/workflows/build-and-deploy.yml
+++ b/.github/workflows/main.yml
@@ -1,8 +1,7 @@
-name: Build and Deploy
+name: Manual Build and Deploy
on:
- push:
- branches: ['master']
+ workflow_dispatch:
jobs:
build:
@@ -29,8 +28,10 @@ jobs:
- name: Run npm build
run: npm run build:prod
+ env:
+ GITHUB_ACCESS_TOKEN: ${{ secrets.OAUTH_ACCESS_TOKEN }}
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
- deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
\ No newline at end of file
+ deploy_key: ${{ secrets.ACTIONS }}
diff --git a/.gitignore b/.gitignore
index f1f63b5..583edf9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,4 +17,4 @@
/.vscode
.history
-package_lock.json
\ No newline at end of file
+.env
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..334ef99
--- /dev/null
+++ b/README.md
@@ -0,0 +1,123 @@
+
+
+# neoBeta
+This is a static CMS (content management system) made with eleventy for Minecraft mods.
+
+## Why?
+Because I love beta Minecraft mods, plugins and texture-packs! And I'm fascinated with static websites that do not juice the user's CPU. Also, I need to spend my free time with something...
+
+## TODO
+ - [ ] Listing projects in the artist page.
+ - [ ] Building a single-file repo index for clients to work with ([like what F-Droid does](https://f-droid.org/docs/Setup_an_F-Droid_App_Repo/))
+
+## Project structure
+New projects can be added to `/src/project` and need to follow a specific structure for proper recognition:
+
+```graphql
+/src/projects/exampleproject/*
+ ├─ index.md - # The text text content for the project page.
+ ├─ index.json - # Project metadata.
+ ├─ logo.png - # Project logo, can be defined to have a different name in the metadata.
+ └─ docs/* - # Documentation files, will automatically pick up.
+ ├─ install.md - # Example documentation page for installing the plugin.
+ ├─ uninstall.md - # And for uninstalling.
+ ├─ upgrade.md - # And for upgrading.
+ └─ manage_players.md - # And for managing players.
+```
+
+Files used in the project page can be added to it's directory and referenced relatively to the current working dir.
+
+## Project metadata
+### Required metadata fields
+ - *name* - project name.
+ - *subtitle* - project's brief description.
+ - *author* - your author name, must be consistent across all your submissions.
+ - *tags* - whether your project is a plugin or mod.
+
+### Optional metadata fields
+ - *images* - lists of image files names or URLs that will appear in the project page.
+ - *logo* - your logo file name or URL.
+ - *gameVersions* - taget Minecraft versions.
+ - *gameLoaders* - supported modloaders.
+
+### Releases metadata
+ - *releasesType* - wheter your project uses `local` releases or `github`.
+
+#### For local releases:
+ - *releases* - a list of relases labels and links.
+ - *name* - name of the release.
+ - *version* - version of the release.
+ - *gameVersions* - taget Minecraft versions (overrides default value).
+ - *gameLoaders* - supported modloaders (overrides default value).
+ - *downloads* - list of download links for this release.
+
+#### For GitHub releases:
+ - *githubRepoOwner* - username of the repo owner.
+ - *githubReponame* - name of the repository.
+
+Example index.json for a project:
+```json
+{
+ "name": "Ghosts 'n Stuff",
+ "subtitle": "Miscellaneous additions to your Minecraft server.",
+ "author": "tenkuma",
+ "downloadLink": "https://modrinth.com/plugin/ghosts/versions",
+ "images": ["anti-spam.png", "rainbow-chat.png", "skibidi-blocker.png"],
+ "logo": "logo.png",
+ "tags": ["plugin"],
+ "links": {
+ "GitHub": "https://github.com/adrianvic/ghostsandstuff",
+ "Disroot Git": "https://git.disroot.org/adrianvictor/ghostsandstuff"
+ },
+ "docs": {
+ "Installation" : "docs/installation"
+ },
+ "releaseType": "github or local",
+ "githubRepoOwner": "adrianvic",
+ "githubRepoName": "ghostsandstuff",
+ "gameLoaders": ["Craftbukkit"]
+ "releases": [
+ {
+ "name": "The first release.",
+ "version": "1.0.0",
+ "gameVersions": ["b1.7.3"],
+ "downloads": {
+ "GitHub": "https://example.com",
+ "Modrinth": "https://modrinth.com"
+ }
+ }
+ ]
+}
+```
+
+## Authors structure
+The structure for adding new author pages is mostly like the one for project pages:
+
+```graphql
+/src/authors/exampleauthor/*
+ ├─ index.md - # The text text content for the author page (bio).
+ ├─ index.json - # Author metadata.
+ └─ logo.png - # Author logo, can be defined to have a different name in the metadata.
+```
+
+The metadata is the same as the projects, however stripped down. The only values are `name`, `subtitle`, `logo` and `images`.
+
+## GitHub API integration
+neoBeta can log into a GitHub account using oAuth, this is used to automatically fetch project releases from a GitHub repository. This is needed because GitHub's API has a limit of 60 requests for users that are not authenticated.
+
+Beforing using this integration you need to populate the enviroment variables `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` with your own oAuth information, and run `gen-github-token.cjs`. A web server will be started locally (default port is `9876`), redirecting you to GitHub's oAuth screen, after logging in the script will populate `GITHUB_ACCESS_TOKEN` to your `.env`. You can set `GITHUB_ACCESS_TOKEN` directly if you have one.
+
+## Search
+Search is provided statically by [elasticlunr](http://elasticlunr.com/). The search index is compiled every time neoBeta is built. From my searches I'm confident elasticlunr will be enough for searching the project base for a sufficient period of time, if it ever get unrealistically heavy to the end-user other solutions will be explored.
+
+## Contributing
+### Adding new projects
+> [!NOTE]
+> I know it's quirky to download neoBeta's whole codebase to add projects, that's why I'll be looking into splitting the projects into a separate repo.
+
+neoBeta is intended to be crowd-sourced, so you can clone our repo, add your plugin page with the ''correct metadata'' and make a merge request. Be sure that you have the necessary rights to upload the project or proper authorization of the creator, open-source projects are better in that matter.
+
+You can also open an issue or send me an [e-mail](mailto:adrianvictor+neobeta@disroot.org) with your project info, or a link for a place with relevant info so I can add your project to our database.
+
+### With code
+Feel free to submit your contributions to this repo ^^
diff --git a/_includes/docs.njk b/_includes/docs.njk
deleted file mode 100644
index e78c540..0000000
--- a/_includes/docs.njk
+++ /dev/null
@@ -1,10 +0,0 @@
----
-layout: skeleton.njk
----
-
-
-
-
\ No newline at end of file
diff --git a/_site/contribute/index.html b/_site/contribute/index.html
deleted file mode 100644
index 2c05fd6..0000000
--- a/_site/contribute/index.html
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
-
-
- neoBeta
-
-
-
-
-
-
-
How can I get my project here?
-
neoBeta is an open-source content management system. There are various ways you can put your plugin/mod on our catalog:
-
-
Clone neoBeta's repository, create your project folder inside the /projects directory with the necessary metadata (index.md for project description, index.json for metadata and any other file your project may depend on) and make a pull request. Less manual work on our side, so review should be quickier.
-
Open an issue on our GitHub repository with the project information. This may take longer as a contributor will have to spend time creating the project files, but is useful if you're not confortable using Git.
-
Host your own instance of neoBeta.
-
-
Required metadata fields
-
-
name - project name.
-"name": "Ghosts 'n Stuff"
-
subtitle - project's brief description.
-"subtitle": "Miscellaneous additions to your server."
-
author - your author name, must be consistent across all your submissions.
-"author": "tenkuma"
-
tags - whether your project is a plugin or mod.
-"tags": ["plugin", "mod"]
-
-
Optional metadata fields
-
Please fill as many fields as possible.
-
-
downloadLink - link for when you click the download link.
-"downloadLink": "https://example.com"
-
images - lists of image files names or URLs that will appear in the project page.
-"images": "["image1.png", "image2.png", "image3.png"]"
-
logo - your logo file name or URL.
-"logo": "logo.png"
-
-
\ No newline at end of file
diff --git a/_site/error/404/index.html b/_site/error/404/index.html
deleted file mode 100644
index a903e80..0000000
--- a/_site/error/404/index.html
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
- neoBeta
-
-
-
-
-
-
-
404 - Ouch! We hit a wall.
-
We didn't find what you are looking for...
-
-
"If only the clockworks could speak I wouldn't be so alone"
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/index.html b/_site/index.html
deleted file mode 100644
index c9021d0..0000000
--- a/_site/index.html
+++ /dev/null
@@ -1,270 +0,0 @@
-
-
-
-
-
-
-
-
-
- neoBeta
-
-
-
-
-
-
-
-
-
-
Howdy, traveler.
-
This website is the place for Minecraft plugins, made with users and developers in mind. neobeta is open-source, you can find out how the website is made in our GitHub repository(spoiler: there's some real magic going on).
-
Our catalog is made by developers and community, you can get involved by following the tutorial linked here.
A simple way to add custom commands with custom responses to your server.
-
-
-
-
-
-
-
-
This plugin adds a simple way to add custom commands that will respond users with predefined messages from config.yml. It supports Minecraft's color coding (use & instead of §) and placeholders for player/server info (TODO).
-
Default Commands
-
-
About
-
Aboukkit
-
-
These default commands need to be configured.
-
Adding new commands
-
First of all: run the server with the plugin for the first time, so config.yml is generated.
-
Follow the structure that the template shows in your config.yml. Then use a file explorer to open the plugin's JAR file and edit plugin.yml, you can copy a command entry and fill all the fields (be careful with indentation, YML does not support TAB).
-
Why?
-
I made this plugin because I have a server for version b1.7.3 and I wanted to add a /about command to give credit to the server founders and link to our website. So I made this that I will use every time I need a simple 'wall of text' command.
-
Newer versions
-
I don't see why I would build this for latest versions, I guess there are already better solutions. I made this just because of the lack of plugins for Minecraft beta.
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/projects/devilwithin/index.html b/_site/projects/devilwithin/index.html
deleted file mode 100644
index d0c2923..0000000
--- a/_site/projects/devilwithin/index.html
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
-
-
-
-
- The Devil Within - neoBeta
-
-
-
Have you ever wanted to have enchantments in your beta server? This is the plugin you want.
-
Enchanting
-
To enchant a armor piece you need to interact to a diamond block with a diamond armor piece in your hand.
-
Enchantments and Curses
-
All of those enchantments will not take effect if the damage exceeds the player's HP. An armor get cursed if it's durability is below 30%. Spooky bad stuff will happen if your armor is cursed :D
-
Helmet
-
-
Prevents the player from drowning.
-
The player cannot sleep. If the player try to sleep a entity will tell the player the text set in the config.
-
-
Chestplate
-
-
Prevents fire damage. Does not prevent lava damage.
-
Protects the player from fire damage only half of the time, also has a 25% chance to ignite the player every time it takes damage.
-
-
Leggings
-
-
Nothing for now. Only useful for the full-set perks.
-
Makes player run slower 50% of the time a PlayerMoveEvent happens. The speed is randomly generated.
-
-
Boots
-
Prevents fall damage.
-
Full-set perks
-
If the player has a full-set of enchanted armor the condition of the damage being taken if it's greater than the player's HP is ignored, also the player gets immune to contact damage (cactus), lava damage and lava damage.
-
Config
-
Everything is explained in the config file's comments, in case it changes.
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/projects/ghostsandstuff/docs/example_documentation/index.html b/_site/projects/ghostsandstuff/docs/example_documentation/index.html
deleted file mode 100644
index 12a522e..0000000
--- a/_site/projects/ghostsandstuff/docs/example_documentation/index.html
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-
-
-
- neoBeta
-
-
-
-
-
-
You are seeing the documentation for:
-
-
-
Installation instructions for GhostsAndStuff
-
-
Download the plugin JAR
-
Download the dependency JAR (tenkumaLib)
-
Move both to your server's plugin folder.
-
-
After following these steps the plugin should appear in the plugin list when you turn the server on.
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/projects/ghostsandstuff/index.html b/_site/projects/ghostsandstuff/index.html
deleted file mode 100644
index ed3d45a..0000000
--- a/_site/projects/ghostsandstuff/index.html
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-
-
- Ghosts 'n Stuff - neoBeta
-
-
-
This plugins was made to use stuff from my library that would not fit into any plugin (or not in the way presented here) that has a lot (WIP) of random stuff. Everything should be togglable in the config.
-
Features
-
-
RainbowChat: Rainbow color code (&z by default).
-
SkibidiBlocker: Strike a lightning on players that say a word.
-
AntiSpam: Blocks repeated words in the chat. Optionally can strike a lightning to the player who is spamming.
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/projects/hangglidere/index.html b/_site/projects/hangglidere/index.html
deleted file mode 100644
index 2dc51c5..0000000
--- a/_site/projects/hangglidere/index.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
-
-
-
-
- HangGlideRE - neoBeta
-
-
-
This plugins purpose is to force people in your server to refrigerate their food by placing a cold block around their chest with the food. In case there is no cold block around the chest, it will turn the food into a rotted item.
-
Configuration
-
In the config.yml you can set these values:
-
-
Cold blocks
-
Resulting itens
-
Itens that can rot
-
Message for when the user let food rot
-
-
Why fork?
-
I have forked this plugin because I was really anoyed by the original plugin that broadcasts the message to the whole server once anyone let food rot and the lack of a configuration file.
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/projects/tenkumalib/index.html b/_site/projects/tenkumalib/index.html
deleted file mode 100644
index a1a83cc..0000000
--- a/_site/projects/tenkumalib/index.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
-
-
-
-
- tenkuma's Library - neoBeta
-
-
-
Library to support my other plugins. Does nothing on it's own.
-
-
-
-
-
-
-
This is a dependency for my other projects. This does not do anything on it's own.
-
Why do I have to install this alongside your plugins?
-
You may think that installing two plugins instead of one is installing unecessary bloat that is useless. But it's not, libraries hold code that is common to more than one project, so you avoid having the same code repeated twice or more in your server. Also it's easier for the developer that has to improve only a single codebase to improve all the rest of the dependants.
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/projects/timekeeper/index.html b/_site/projects/timekeeper/index.html
deleted file mode 100644
index 4a40f6c..0000000
--- a/_site/projects/timekeeper/index.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
- TimeKeeper - neoBeta
-
-
-
Syncs real world time with your Minecraft server time.
-
-
-
-
-
-
-
This is a plugin for Minecraft beta that syncs the real world time with your in-game time. Logo by malcolmriley.
-
How it works
-
It will calculate and change the game time every second (that's 20 ticks and can be changed in the config), it will use your computer's timezone as default if the config timezone value does not exist.
-
Performance
-
I am not sure if this plugin has any significant performance hit, it runs code every few ticks (you can in/decrease the frequency in the config) and that is not the best approach for doing this, but it's the only that works in beta. Using it with ticksBetweenUpdate: 1 does not seem to change the performance in any way. The specifications for the computer used for the tests:
-
-
\ No newline at end of file
diff --git a/_site/search/index.html b/_site/search/index.html
deleted file mode 100644
index 4784089..0000000
--- a/_site/search/index.html
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
-
- neoBeta
-
-
-
-
-
-
-
-
-
-
-
-
Welcome to neoBeta's search, here you can search through our whole database of plugins, mods and authors. You may want to filter out the results using the dropdown menu below. The search is done on your device using elasticlunr.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/search_index.json b/_site/search_index.json
deleted file mode 100644
index 1e09803..0000000
--- a/_site/search_index.json
+++ /dev/null
@@ -1 +0,0 @@
-{"version":"0.9.5","fields":["title","subtitle"],"ref":"url","documentStore":{"docs":{"/":{"subtitle":"","url":"/","image":""},"/search/":{"subtitle":"","url":"/search/","image":""},"/contribute/":{"subtitle":"","url":"/contribute/","image":""},"/authors/tenkuma/":{"title":"tenkuma","subtitle":"A bear doing things on the internet.","url":"/authors/tenkuma/","image":"/authors/tenkuma/logo.png","tags":["author"]},"/projects/ghostsandstuff/docs/example_documentation/":{"subtitle":"","url":"/projects/ghostsandstuff/docs/example_documentation/","image":""},"/projects/aboukkit/":{"title":"Aboukkit","subtitle":"A simple way to add custom commands with custom responses to your server.","author":"tenkuma","url":"/projects/aboukkit/","image":"","tags":["plugin"]},"/projects/devilwithin/":{"title":"The Devil Within","subtitle":"Adds enchanting to Minecraft Beta. Supports balancing through curses.","author":"tenkuma","url":"/projects/devilwithin/","image":"","tags":["plugin"]},"/projects/ghostsandstuff/":{"title":"Ghosts 'n Stuff","subtitle":"Miscellaneous additions to your Minecraft server.","author":"tenkuma","url":"/projects/ghostsandstuff/","image":"","tags":["plugin"]},"/projects/hangglidere/":{"title":"HangGlideRE","subtitle":"Fly with a chicken!","author":"tenkuma","url":"/projects/hangglidere/","image":"","tags":["plugin"]},"/projects/tefreezer/":{"title":"teFreezer","subtitle":"Force your players to refrigerate their food by rotting food in unrefrigerated chests!","author":"tenkuma","url":"/projects/tefreezer/","image":"","tags":["plugin"]},"/projects/tenkumalib/":{"title":"tenkuma's Library","subtitle":"Library to support my other plugins. Does nothing on it's own.","author":"tenkuma","url":"/projects/tenkumalib/","image":"","tags":["plugin"]},"/projects/timekeeper/":{"title":"TimeKeeper","subtitle":"Syncs real world time with your Minecraft server time.","author":"tenkuma","url":"/projects/timekeeper/","image":"","tags":["plugin"]},"/error/404/":{"subtitle":"","url":"/error/404/","image":""},"/allprojects/":{"subtitle":"","url":"/allprojects/","image":""}},"docInfo":{"/":{"title":0,"subtitle":0},"/search/":{"title":0,"subtitle":0},"/contribute/":{"title":0,"subtitle":0},"/authors/tenkuma/":{"title":1,"subtitle":4},"/projects/ghostsandstuff/docs/example_documentation/":{"title":0,"subtitle":0},"/projects/aboukkit/":{"title":1,"subtitle":8},"/projects/devilwithin/":{"title":2,"subtitle":8},"/projects/ghostsandstuff/":{"title":3,"subtitle":4},"/projects/hangglidere/":{"title":1,"subtitle":2},"/projects/tefreezer/":{"title":1,"subtitle":8},"/projects/tenkumalib/":{"title":2,"subtitle":5},"/projects/timekeeper/":{"title":1,"subtitle":7},"/error/404/":{"title":0,"subtitle":0},"/allprojects/":{"title":0,"subtitle":0}},"length":14,"save":true},"index":{"title":{"root":{"docs":{},"df":0,"t":{"docs":{},"df":0,"e":{"docs":{},"df":0,"n":{"docs":{},"df":0,"k":{"docs":{},"df":0,"u":{"docs":{},"df":0,"m":{"docs":{},"df":0,"a":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1,"'":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}},"f":{"docs":{},"df":0,"r":{"docs":{},"df":0,"e":{"docs":{},"df":0,"e":{"docs":{},"df":0,"z":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}}}},"i":{"docs":{},"df":0,"m":{"docs":{},"df":0,"e":{"docs":{},"df":0,"k":{"docs":{},"df":0,"e":{"docs":{},"df":0,"e":{"docs":{},"df":0,"p":{"docs":{"/projects/timekeeper/":{"tf":1}},"df":1}}}}}}}},"a":{"docs":{},"df":0,"b":{"docs":{},"df":0,"o":{"docs":{},"df":0,"u":{"docs":{},"df":0,"k":{"docs":{},"df":0,"k":{"docs":{},"df":0,"i":{"docs":{},"df":0,"t":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}}}}}}}},"d":{"docs":{},"df":0,"e":{"docs":{},"df":0,"v":{"docs":{},"df":0,"i":{"docs":{},"df":0,"l":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}},"w":{"docs":{},"df":0,"i":{"docs":{},"df":0,"t":{"docs":{},"df":0,"h":{"docs":{},"df":0,"i":{"docs":{},"df":0,"n":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}}},"g":{"docs":{},"df":0,"h":{"docs":{},"df":0,"o":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1}}}}},"n":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1},"s":{"docs":{},"df":0,"t":{"docs":{},"df":0,"u":{"docs":{},"df":0,"f":{"docs":{},"df":0,"f":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1}}}}},"h":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{},"df":0,"g":{"docs":{},"df":0,"g":{"docs":{},"df":0,"l":{"docs":{},"df":0,"i":{"docs":{},"df":0,"d":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/hangglidere/":{"tf":1}},"df":1}}}}}}}}}},"l":{"docs":{},"df":0,"i":{"docs":{},"df":0,"b":{"docs":{},"df":0,"r":{"docs":{},"df":0,"a":{"docs":{},"df":0,"r":{"docs":{},"df":0,"i":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}}}}},"subtitle":{"root":{"docs":{},"df":0,"b":{"docs":{},"df":0,"e":{"docs":{},"df":0,"a":{"docs":{},"df":0,"r":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1}},"t":{"docs":{},"df":0,"a":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}},"a":{"docs":{},"df":0,"l":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{},"df":0,"c":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}}},"d":{"docs":{},"df":0,"o":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1}},"t":{"docs":{},"df":0,"h":{"docs":{},"df":0,"i":{"docs":{},"df":0,"n":{"docs":{},"df":0,"g":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1}}},"r":{"docs":{},"df":0,"o":{"docs":{},"df":0,"u":{"docs":{},"df":0,"g":{"docs":{},"df":0,"h":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}}},"i":{"docs":{},"df":0,"m":{"docs":{},"df":0,"e":{"docs":{"/projects/timekeeper/":{"tf":1.4142135623730951}},"df":1}}}},"i":{"docs":{},"df":0,"n":{"docs":{},"df":0,"t":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{},"df":0,"n":{"docs":{},"df":0,"e":{"docs":{},"df":0,"t":{"docs":{"/authors/tenkuma/":{"tf":1}},"df":1}}}}}}},"t":{"docs":{},"df":0,"'":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}},"s":{"docs":{},"df":0,"i":{"docs":{},"df":0,"m":{"docs":{},"df":0,"p":{"docs":{},"df":0,"l":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}}}},"e":{"docs":{},"df":0,"r":{"docs":{},"df":0,"v":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/aboukkit/":{"tf":1},"/projects/ghostsandstuff/":{"tf":1},"/projects/timekeeper/":{"tf":1}},"df":3}}}}},"u":{"docs":{},"df":0,"p":{"docs":{},"df":0,"p":{"docs":{},"df":0,"o":{"docs":{},"df":0,"r":{"docs":{},"df":0,"t":{"docs":{"/projects/devilwithin/":{"tf":1},"/projects/tenkumalib/":{"tf":1}},"df":2}}}}}},"y":{"docs":{},"df":0,"n":{"docs":{},"df":0,"c":{"docs":{"/projects/timekeeper/":{"tf":1}},"df":1}}}},"w":{"docs":{},"df":0,"a":{"docs":{},"df":0,"y":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}},"o":{"docs":{},"df":0,"r":{"docs":{},"df":0,"l":{"docs":{},"df":0,"d":{"docs":{"/projects/timekeeper/":{"tf":1}},"df":1}}}}},"a":{"docs":{},"df":0,"d":{"docs":{},"df":0,"d":{"docs":{"/projects/aboukkit/":{"tf":1},"/projects/devilwithin/":{"tf":1}},"df":2,"i":{"docs":{},"df":0,"t":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1}}}}},"c":{"docs":{},"df":0,"u":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{},"df":0,"o":{"docs":{},"df":0,"m":{"docs":{"/projects/aboukkit/":{"tf":1.4142135623730951}},"df":1}}}},"r":{"docs":{},"df":0,"s":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}},"o":{"docs":{},"df":0,"m":{"docs":{},"df":0,"m":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{},"df":0,"d":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}}}}}},"h":{"docs":{},"df":0,"i":{"docs":{},"df":0,"c":{"docs":{},"df":0,"k":{"docs":{},"df":0,"e":{"docs":{},"df":0,"n":{"docs":{"/projects/hangglidere/":{"tf":1}},"df":1}}}}},"e":{"docs":{},"df":0,"s":{"docs":{},"df":0,"t":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}}},"r":{"docs":{},"df":0,"e":{"docs":{},"df":0,"s":{"docs":{},"df":0,"p":{"docs":{},"df":0,"o":{"docs":{},"df":0,"n":{"docs":{},"df":0,"s":{"docs":{"/projects/aboukkit/":{"tf":1}},"df":1}}}}},"f":{"docs":{},"df":0,"r":{"docs":{},"df":0,"i":{"docs":{},"df":0,"g":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}}}},"a":{"docs":{},"df":0,"l":{"docs":{"/projects/timekeeper/":{"tf":1}},"df":1}}},"o":{"docs":{},"df":0,"t":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}},"e":{"docs":{},"df":0,"n":{"docs":{},"df":0,"c":{"docs":{},"df":0,"h":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{},"df":0,"t":{"docs":{"/projects/devilwithin/":{"tf":1}},"df":1}}}}}}},"m":{"docs":{},"df":0,"i":{"docs":{},"df":0,"n":{"docs":{},"df":0,"e":{"docs":{},"df":0,"c":{"docs":{},"df":0,"r":{"docs":{},"df":0,"a":{"docs":{},"df":0,"f":{"docs":{},"df":0,"t":{"docs":{"/projects/devilwithin/":{"tf":1},"/projects/ghostsandstuff/":{"tf":1},"/projects/timekeeper/":{"tf":1}},"df":3}}}}}}},"s":{"docs":{},"df":0,"c":{"docs":{},"df":0,"e":{"docs":{},"df":0,"l":{"docs":{},"df":0,"l":{"docs":{},"df":0,"a":{"docs":{},"df":0,"n":{"docs":{"/projects/ghostsandstuff/":{"tf":1}},"df":1}}}}}}}}},"f":{"docs":{},"df":0,"l":{"docs":{},"df":0,"i":{"docs":{"/projects/hangglidere/":{"tf":1}},"df":1}},"o":{"docs":{},"df":0,"r":{"docs":{},"df":0,"c":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}},"o":{"docs":{},"df":0,"d":{"docs":{"/projects/tefreezer/":{"tf":1.4142135623730951}},"df":1}}}},"p":{"docs":{},"df":0,"l":{"docs":{},"df":0,"a":{"docs":{},"df":0,"y":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}},"u":{"docs":{},"df":0,"g":{"docs":{},"df":0,"i":{"docs":{},"df":0,"n":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}},"u":{"docs":{},"df":0,"n":{"docs":{},"df":0,"r":{"docs":{},"df":0,"e":{"docs":{},"df":0,"f":{"docs":{},"df":0,"r":{"docs":{},"df":0,"i":{"docs":{},"df":0,"g":{"docs":{},"df":0,"e":{"docs":{},"df":0,"r":{"docs":{"/projects/tefreezer/":{"tf":1}},"df":1}}}}}}}}}},"l":{"docs":{},"df":0,"i":{"docs":{},"df":0,"b":{"docs":{},"df":0,"r":{"docs":{},"df":0,"a":{"docs":{},"df":0,"r":{"docs":{},"df":0,"i":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}}},"n":{"docs":{},"df":0,"o":{"docs":{},"df":0,"t":{"docs":{},"df":0,"h":{"docs":{"/projects/tenkumalib/":{"tf":1}},"df":1}}}}}}},"pipeline":["trimmer","stopWordFilter","stemmer"]}
\ No newline at end of file
diff --git a/assets/MinecraftRegular-Bmg3.otf b/assets/MinecraftRegular-Bmg3.otf
deleted file mode 100644
index 54f08ad..0000000
Binary files a/assets/MinecraftRegular-Bmg3.otf and /dev/null differ
diff --git a/assets/logo.png b/assets/logo.png
deleted file mode 100644
index 337a46b..0000000
Binary files a/assets/logo.png and /dev/null differ
diff --git a/assets/mod-placeholder.png b/assets/mod-placeholder.png
deleted file mode 100644
index e91cc2e..0000000
Binary files a/assets/mod-placeholder.png and /dev/null differ
diff --git a/assets/search.js b/assets/search.js
deleted file mode 100644
index fe6d015..0000000
--- a/assets/search.js
+++ /dev/null
@@ -1,52 +0,0 @@
-fetch('/search_index.json')
- .then(r => r.json())
- .then(data => {
- const idx = elasticlunr.Index.load(data);
- const docs = idx.documentStore.docs;
- const searchInput = document.getElementById('search');
- const out = document.getElementById('searchResults');
- const filterSelect = document.getElementById('searchMode');
-
- function runSearch(q, tags = 'all') {
- let result = idx.search(q, { expand: true }).map(r => docs[r.ref] )
- if (tags === 'all') {
- return result;
- }
-
- result = result.filter(d => tags === 'all' || d.tags.includes(tags));
-
- return result;
- }
-
- function render(doc) {
- console.log(doc.imageq)
- let tagsHTML = "";
- console.log(doc.tags)
-
- doc.tags.forEach(tag => {
- tagsHTML += `
diff --git a/_includes/base.njk b/src/_includes/base.njk
similarity index 100%
rename from _includes/base.njk
rename to src/_includes/base.njk
diff --git a/src/_includes/docs.njk b/src/_includes/docs.njk
new file mode 100644
index 0000000..15d4ec0
--- /dev/null
+++ b/src/_includes/docs.njk
@@ -0,0 +1,10 @@
+---
+layout: skeleton.njk
+---
+
+
You are seeing the documentation for: {{ projectData.fileSlug }}
+
+
+ {{ content | safe }}
+
+
\ No newline at end of file
diff --git a/_includes/error.njk b/src/_includes/error.njk
similarity index 100%
rename from _includes/error.njk
rename to src/_includes/error.njk
diff --git a/_includes/featured.njk b/src/_includes/featured.njk
similarity index 59%
rename from _includes/featured.njk
rename to src/_includes/featured.njk
index 39fc587..d68ab89 100644
--- a/_includes/featured.njk
+++ b/src/_includes/featured.njk
@@ -6,12 +6,16 @@
{% if item.fileSlug == project %}
{% set projectData = item %}
+
\ No newline at end of file
diff --git a/src/_includes/news.njk b/src/_includes/news.njk
new file mode 100644
index 0000000..48da0e3
--- /dev/null
+++ b/src/_includes/news.njk
@@ -0,0 +1,5 @@
+
Latest updates
+{% for news in news.entries %}
+
{{ news.date }} {{ news.title }}:
+
{{ news.text | safe }}
+{% endfor %}
\ No newline at end of file
diff --git a/_includes/project.njk b/src/_includes/project.njk
similarity index 67%
rename from _includes/project.njk
rename to src/_includes/project.njk
index 7be5f80..535d3c3 100644
--- a/_includes/project.njk
+++ b/src/_includes/project.njk
@@ -5,27 +5,27 @@ styles: ["project"]
{% endif %}
diff --git a/src/_includes/project_image.njk b/src/_includes/project_image.njk
new file mode 100644
index 0000000..e5b340f
--- /dev/null
+++ b/src/_includes/project_image.njk
@@ -0,0 +1,13 @@
+{% if images %}
+
+
Images
+
+ {% for image in images %}
+ {% set dir = (page.filePathStem | default(page.url) ) | replace('/index','') %}
+
+
+
+ {% endfor %}
+
+
+{% endif %}
\ No newline at end of file
diff --git a/_includes/skeleton.njk b/src/_includes/skeleton.njk
similarity index 59%
rename from _includes/skeleton.njk
rename to src/_includes/skeleton.njk
index 99efdf8..45bec8d 100644
--- a/_includes/skeleton.njk
+++ b/src/_includes/skeleton.njk
@@ -2,14 +2,17 @@
-
+
{% for stylesheet in styles %}
-
+
{% endfor %}
{% if name %}{{ name }} - {% endif %}neoBeta
+