Skip to content

Commit

Permalink
Add some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
intergrav committed May 28, 2023
1 parent a260db8 commit 405bfe9
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 4 deletions.
75 changes: 75 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.108.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass Embedded
run: sudo snap install dart-sass-embedded
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./public

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
97 changes: 93 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,93 @@
baseURL = 'http://additive.intergrav.xyz'
languageCode = 'en-us'
title = 'Additive'
theme = 'terminal'
baseurl = "https://additive.intergrav.xyz"
languageCode = "en-us"
theme = "terminal"
paginate = 5

[params]
# dir name of your main content (default is `content/posts`).
# the list of set content will show up on your index page (baseurl).
contentTypeName = "posts"

# ["orange", "blue", "red", "green", "pink"]
themeColor = "red"

# if you set this to 0, only submenu trigger will be visible
showMenuItems = 5

# show selector to switch language
showLanguageSelector = false

# set theme to full screen width
fullWidthTheme = false

# center theme with default width
centerTheme = true

# if your resource directory contains an image called `cover.(jpg|png|webp)`,
# then the file will be used as a cover automatically.
# With this option you don't have to put the `cover` param in a front-matter.
autoCover = true

# set post to show the last updated
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
showLastUpdated = false

# set a custom favicon (default is a `themeColor` square)
# favicon = "favicon.ico"

# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
# updatedDatePrefix = "Updated"

# set all headings to their default size (depending on browser settings)
# oneHeadingSize = true # default

# whether to show a page's estimated reading time
# readingTime = false # default

# whether to show a table of contents
# can be overridden in a page's front-matter
# Toc = false # default

# set title for the table of contents
# can be overridden in a page's front-matter
# TocTitle = "Table of Contents" # default


[params.twitter]
# set Twitter handles for Twitter cards
# see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution
# do not include @
creator = ""
site = ""

[languages]
[languages.en]
languageName = "English"
title = "Additive"
subtitle = "Modern, open-source, OptiFine alternative for Minecraft"
owner = ""
keywords = ""
copyright = ""
menuMore = "Show more"
readMore = "Read more"
readOtherPosts = "Read other posts"
newerPosts = "Newer posts"
olderPosts = "Older posts"
missingContentMessage = "Page not found..."
missingBackButtonLabel = "Back to home page"
minuteReadingTime = "min read"
words = "words"

[languages.en.params.logo]
logoText = "Additive"
logoHomeLink = "/"

[languages.en.menu]
[[languages.en.menu.main]]
identifier = "about"
name = "About"
url = "/about"
[[languages.en.menu.main]]
identifier = "showcase"
name = "Showcase"
url = "/showcase"
20 changes: 20 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Additive is a simple, modern, open-source alternative to OptiFine. It has basically every feature from OptiFine, including:

- A very high improvement in performance, faster than OptiFine
- Shader pack support
- Extra resource pack features
- Zooming
- Dynamic lighting
- Better grass and snow
- OptiFine donator capes (and [free capes](https://github.com/intergrav/Additive/wiki/Supporter-cape))
- [Many other key OptiFine features](https://github.com/intergrav/Additive/wiki/Give-up-OptiFine)

There are also these other features:

- Free, simple world hosting
- Simply click "Open Externally" in the menu of your world, and you'll get a shareable IP
- Modularity
- This allows you to disable features that are incompatible with other mods, or features you don't like
- Fast updates

For all information, read through the [Modrinth page](https://modrinth.com/modpack/additive).

0 comments on commit 405bfe9

Please sign in to comment.