diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml new file mode 100644 index 0000000..2bd97ea --- /dev/null +++ b/.github/workflows/hugo.yml @@ -0,0 +1,77 @@ +name: Continuous Deployment + +on: + push: + branches: + - master + 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-24.04 + + env: + HUGO_VERSION: 0.154.4 + + 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: Checkout + uses: actions/checkout@v6 + with: + submodules: recursive + fetch-depth: 0 + + - name: Setup Pages + id: pages + uses: actions/configure-pages@v5 + + - name: Build with Hugo + env: + HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache + HUGO_ENVIRONMENT: production + run: | + hugo \ + --minify \ + --baseURL "${{ steps.pages.outputs.base_url }}/" + + - name: Upload artifact + uses: actions/upload-pages-artifact@v4 + with: + path: ./public + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + runs-on: ubuntu-24.04 + + needs: build + + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index d886362..9724c76 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +# Jekyll-generated files _site/ .sass-cache/ Gemfile.lock + +# Hugo-generated files +/public/ +/.hugo_build.lock diff --git a/Gemfile b/Gemfile deleted file mode 100644 index 053c27d..0000000 --- a/Gemfile +++ /dev/null @@ -1,2 +0,0 @@ -source 'https://rubygems.org' -gem 'github-pages' diff --git a/README.md b/README.md index 85cd0e4..6ecf60b 100644 --- a/README.md +++ b/README.md @@ -3,20 +3,14 @@ loot.github.io This repository acts as the main LOOT team repository, and holds all the issues that aren't specific to the code or any one game. In addition to that, it also holds LOOT's static website. -The static website is a [Jekyll](https://jekyllrb.com/) site that uses [Material Design Lite](https://www.getmdl.io/) components and the [js-yaml](https://github.com/nodeca/js-yaml), [Octokit.js](https://github.com/octokit/rest.js) and [j-toml](https://github.com/LongTengDao/j-toml) libraries, which are provided by Google, Cloudflare and Skypack CDNs. +The static website uses [Material Design Lite](https://www.getmdl.io/) components and the [js-yaml](https://github.com/nodeca/js-yaml), [Octokit.js](https://github.com/octokit/rest.js) and [j-toml](https://github.com/LongTengDao/j-toml) libraries, which are provided by Cloudflare and Skypack CDNs. -The easiest way to build this site locally is using Docker: +The website is generated using [Hugo](https://gohugo.io). The easiest way to build it is to: -``` -docker run --rm -v ${PWD}:/srv/jekyll -v jekyll_bundle:/usr/local/bundle -p 4000:4000 -it jekyll/jekyll:3.8.6 jekyll serve --no-watch -``` +1. Download a [prebuilt Hugo binary](https://github.com/gohugoio/hugo/releases/latest). +2. Add the binary to your `PATH`. +3. Run `hugo` from the root of this repository. -The site will then be accessible at . +Hugo will create the generated site in the `public` folder. -To update the `github-pages` Ruby gem, run: - -``` -docker run --rm -v ${PWD}:/srv/jekyll -v jekyll_bundle:/usr/local/bundle jekyll/jekyll:3.8.6 bundle update github-pages -``` - -The version used by GitHub is given [here](https://pages.github.com/versions/). +To view the site locally, run `hugo server`, the site will then be accessible at . diff --git a/_config.yml b/_config.yml deleted file mode 100644 index b19ba54..0000000 --- a/_config.yml +++ /dev/null @@ -1,13 +0,0 @@ -# GitHub sets these, but setting them here so local development environments -# replicate GitHub's behaviour properly. -safe: true -lsi: false - -# Enable page redirection -plugins: - - jekyll-redirect-from - -whitelist: - - jekyll-redirect-from - -include: [".well-known"] diff --git a/_includes/contributing_index.html b/_includes/contributing_index.html deleted file mode 100644 index 825f6c0..0000000 --- a/_includes/contributing_index.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/_includes/help_index.html b/_includes/help_index.html deleted file mode 100644 index f9fe307..0000000 --- a/_includes/help_index.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/_includes/team_index.html b/_includes/team_index.html deleted file mode 100644 index c1c4696..0000000 --- a/_includes/team_index.html +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/css/overrides.css b/assets/css/overrides.css similarity index 100% rename from css/overrides.css rename to assets/css/overrides.css diff --git a/css/style.css b/assets/css/style.css similarity index 100% rename from css/style.css rename to assets/css/style.css diff --git a/images/icon.ico b/assets/images/icon.ico similarity index 100% rename from images/icon.ico rename to assets/images/icon.ico diff --git a/images/icon.png b/assets/images/icon.png similarity index 100% rename from images/icon.png rename to assets/images/icon.png diff --git a/index.html b/content/_index.html similarity index 99% rename from index.html rename to content/_index.html index 7cd5944..e81195b 100644 --- a/index.html +++ b/content/_index.html @@ -1,5 +1,5 @@ --- -layout: page +layout: home title: The Load Order Optimisation Tool --- diff --git a/js/convert.js b/content/convert-settings/convert.js similarity index 100% rename from js/convert.js rename to content/convert-settings/convert.js diff --git a/convert-settings.html b/content/convert-settings/index.html similarity index 92% rename from convert-settings.html rename to content/convert-settings/index.html index dd76300..001c70c 100644 --- a/convert-settings.html +++ b/content/convert-settings/index.html @@ -1,7 +1,6 @@ --- layout: page title: LOOT Settings File Converter -permalink: /convert-settings/ ---

Convert your settings.yaml (used by LOOT v0.11.0 and earlier) to a settings.toml (used by LOOT v0.12.0 and later). Your settings.yaml can be found in %LOCALAPPDATA%\LOOT\, which LOOT's "Open Debug Log Location" menu option opens, and the settings.toml goes in the same directory.

@@ -18,4 +17,4 @@ permalink: /convert-settings/

Note that the download link that appears above after converting YAML does not work in Internet Explorer or Edge. Users of those browsers will need to copy the content of the TOML text box into a settings.toml file they create themselves, or use a different browser.

- + diff --git a/js/credits.js b/content/credits/credits.js similarity index 100% rename from js/credits.js rename to content/credits/credits.js diff --git a/credits.html b/content/credits/index.html similarity index 82% rename from credits.html rename to content/credits/index.html index cb87d86..ef64cfc 100644 --- a/credits.html +++ b/content/credits/index.html @@ -1,7 +1,6 @@ --- layout: page title: Credits -permalink: /credits/ ---

LOOT relies on the submission of information by users to improve. We can't list everyone who has posted in LOOT's forum threads, but the people who have contributed on GitHub are listed below. @@ -9,4 +8,4 @@ permalink: /credits/

- + diff --git a/content/discord.html b/content/discord.html new file mode 100644 index 0000000..2deaf5f --- /dev/null +++ b/content/discord.html @@ -0,0 +1,10 @@ +--- +layout: page +title: Discord Server +params: + redirect_to: https://discord.gg/SZVPRzf +--- + +

The official LOOT Discord server can be found at: + {{% param "redirect_to" %}} +

diff --git a/docs/index.html b/content/docs/_index.html similarity index 62% rename from docs/index.html rename to content/docs/_index.html index e791549..62378ce 100644 --- a/docs/index.html +++ b/content/docs/_index.html @@ -1,7 +1,6 @@ --- -layout: page +layout: section title: Documentation -permalink: /docs/ ---

LOOT, libloot and Metadata Syntax

@@ -12,12 +11,3 @@ permalink: /docs/
  • LOOT
  • libloot and metadata syntax
  • - -

    Help

    -{% include help_index.html %} - -

    Contributing

    -{% include contributing_index.html %} - -

    Team

    -{% include team_index.html %} diff --git a/docs/contributing/How-To-Contribute.html b/content/docs/contributing/How-To-Contribute.html similarity index 98% rename from docs/contributing/How-To-Contribute.html rename to content/docs/contributing/How-To-Contribute.html index 8781a91..c8651c8 100644 --- a/docs/contributing/How-To-Contribute.html +++ b/content/docs/contributing/How-To-Contribute.html @@ -1,6 +1,9 @@ --- layout: page title: How To Contribute +weight: 1 +aliases: + - How-To-Contribute.html ---

    This page will guide anyone wishing to contribute to LOOT directly through the process of getting set up and making their first contribution. You don't need to be a project member to join in!

    diff --git a/images/Notepad_Masterlist_Editing.png b/content/docs/contributing/Masterlist-Editing/images/Notepad_Masterlist_Editing.png similarity index 100% rename from images/Notepad_Masterlist_Editing.png rename to content/docs/contributing/Masterlist-Editing/images/Notepad_Masterlist_Editing.png diff --git a/images/Vim_Masterlist_Editing.png b/content/docs/contributing/Masterlist-Editing/images/Vim_Masterlist_Editing.png similarity index 100% rename from images/Vim_Masterlist_Editing.png rename to content/docs/contributing/Masterlist-Editing/images/Vim_Masterlist_Editing.png diff --git a/docs/contributing/Masterlist-Editing.html b/content/docs/contributing/Masterlist-Editing/index.html similarity index 98% rename from docs/contributing/Masterlist-Editing.html rename to content/docs/contributing/Masterlist-Editing/index.html index 1125ff5..c3a3262 100644 --- a/docs/contributing/Masterlist-Editing.html +++ b/content/docs/contributing/Masterlist-Editing/index.html @@ -1,6 +1,9 @@ --- layout: page title: Masterlist Editing +weight: 2 +aliases: + - Masterlist-Editing.html ---

    The purpose of this page is to give a bit of information to help with editing a masterlist.

    @@ -21,7 +24,7 @@ title: Masterlist Editing

    Another good piece of advice is to make use of the keyboard shortcut "Alt+0" to collapse the main nodes of the masterlists ("common", "plugins", etc), which will make navigating the masterlists easier. The keyboard shortcut "Alt+Shift+0" will then reverse this action.

    -Notepad++ +Notepad++

    Vim

    @@ -35,7 +38,7 @@ title: Masterlist Editing

    will add folds for YAML. For more information, please read this article by Arthur Koziel.

    -Vim +Vim

    Writing Style

    diff --git a/docs/contributing/Masterlist-Versioning.html b/content/docs/contributing/Masterlist-Versioning.html similarity index 97% rename from docs/contributing/Masterlist-Versioning.html rename to content/docs/contributing/Masterlist-Versioning.html index 3cc69bd..4890b9e 100644 --- a/docs/contributing/Masterlist-Versioning.html +++ b/content/docs/contributing/Masterlist-Versioning.html @@ -1,6 +1,9 @@ --- layout: page title: Masterlist Versioning +weight: 5 +aliases: + - Masterlist-Versioning.html ---

    As LOOT develops, it gains support for new metadata syntax features. However, using these new features in the masterlists may break functionality for LOOT users who have not updated to the latest version of LOOT, which isn't ideal. This is especially true when LOOT updates alter the load orders produced, as changing load order can affect game stability, and so users may be unable (rather than unwilling) to upgrade.

    diff --git a/docs/contributing/Quickly-Testing-Your-Masterlist-Changes.html b/content/docs/contributing/Quickly-Testing-Your-Masterlist-Changes.html similarity index 93% rename from docs/contributing/Quickly-Testing-Your-Masterlist-Changes.html rename to content/docs/contributing/Quickly-Testing-Your-Masterlist-Changes.html index 948c410..ca4f12c 100644 --- a/docs/contributing/Quickly-Testing-Your-Masterlist-Changes.html +++ b/content/docs/contributing/Quickly-Testing-Your-Masterlist-Changes.html @@ -1,6 +1,9 @@ --- layout: page title: Quickly Testing Your Masterlist Changes +weight: 4 +aliases: + - Quickly-Testing-Your-Masterlist-Changes.html ---

    You can easily test your masterlist changes before syncing them to the online repository, using the method detailed below, which makes LOOT use a local masterlist of your choosing rather than the online one.

    diff --git a/images/Notepad_Regular_Expression_01.png b/content/docs/contributing/Regular-Expression-Regex/images/Notepad_Regular_Expression_01.png similarity index 100% rename from images/Notepad_Regular_Expression_01.png rename to content/docs/contributing/Regular-Expression-Regex/images/Notepad_Regular_Expression_01.png diff --git a/images/Notepad_Regular_Expression_02.png b/content/docs/contributing/Regular-Expression-Regex/images/Notepad_Regular_Expression_02.png similarity index 100% rename from images/Notepad_Regular_Expression_02.png rename to content/docs/contributing/Regular-Expression-Regex/images/Notepad_Regular_Expression_02.png diff --git a/images/Regex_Filter_Contain.png b/content/docs/contributing/Regular-Expression-Regex/images/Regex_Filter_Contain.png similarity index 100% rename from images/Regex_Filter_Contain.png rename to content/docs/contributing/Regular-Expression-Regex/images/Regex_Filter_Contain.png diff --git a/images/Regex_Search_Cards.png b/content/docs/contributing/Regular-Expression-Regex/images/Regex_Search_Cards.png similarity index 100% rename from images/Regex_Search_Cards.png rename to content/docs/contributing/Regular-Expression-Regex/images/Regex_Search_Cards.png diff --git a/docs/contributing/Regular-Expression-Regex.html b/content/docs/contributing/Regular-Expression-Regex/index.html similarity index 99% rename from docs/contributing/Regular-Expression-Regex.html rename to content/docs/contributing/Regular-Expression-Regex/index.html index 0a41db6..2a287ba 100644 --- a/docs/contributing/Regular-Expression-Regex.html +++ b/content/docs/contributing/Regular-Expression-Regex/index.html @@ -1,6 +1,9 @@ --- layout: page title: Regular Expression - Regex +weight: 3 +aliases: + - Regular-Expression-Regex.html ---

    The purpose of this page is to provide detailed information for using Regex while editing a masterlist, as well as searching specific terms within it. Regular expressions can formally be described as follows:

    @@ -80,11 +83,11 @@ Let's take a look at +Regex_Search_Cards

    The search dialog uses Qt's regex implementation.

    -Regex_Filter_Contain +Regex_Filter_Contain

    The contains filter uses Qt's regex implementation.

    @@ -714,7 +717,7 @@ Skyrim Project Optimization - No Homes - Full Version.esm

    For example, in Notepad++ you can switch from the Search Mode Normal to Regular expression to use the following examples.

    -Notepad_Regex_01 +Notepad_Regex_01

    Examples

    @@ -1183,7 +1186,7 @@ Replace: url:\r\n - link: \1\r\n name: '' -Notepad_Regex_02 +Notepad_Regex_02

    Exemplary search result:

    diff --git a/docs/contributing/Resolving-Conflicts.html b/content/docs/contributing/Resolving-Conflicts.html similarity index 98% rename from docs/contributing/Resolving-Conflicts.html rename to content/docs/contributing/Resolving-Conflicts.html index 6761dd4..a46a84e 100644 --- a/docs/contributing/Resolving-Conflicts.html +++ b/content/docs/contributing/Resolving-Conflicts.html @@ -1,6 +1,9 @@ --- layout: page title: Resolving Conflicts +weight: 6 +aliases: + - Resolving-Conflicts.html ---

    This is where GitHub Desktop falls short - to resolve conflicts, you're probably going to have to use the command line shell at some point. This page discusses the issue well, but is aimed at people who don't use a GUI client at all. It's still worth a read to get an understanding of the issues, and its diagrams are very good.

    diff --git a/content/docs/contributing/_index.html b/content/docs/contributing/_index.html new file mode 100644 index 0000000..a151f29 --- /dev/null +++ b/content/docs/contributing/_index.html @@ -0,0 +1,5 @@ +--- +layout: section +title: Contributing +weight: 2 +--- diff --git a/images/Master_Types.png b/content/docs/help/Changing-Plugin-Types-In-Starfield/images/Master_Types.png similarity index 100% rename from images/Master_Types.png rename to content/docs/help/Changing-Plugin-Types-In-Starfield/images/Master_Types.png diff --git a/docs/help/Changing-Plugin-Types-In-Starfield.html b/content/docs/help/Changing-Plugin-Types-In-Starfield/index.html similarity index 93% rename from docs/help/Changing-Plugin-Types-In-Starfield.html rename to content/docs/help/Changing-Plugin-Types-In-Starfield/index.html index cff04ca..e09b1f1 100644 --- a/docs/help/Changing-Plugin-Types-In-Starfield.html +++ b/content/docs/help/Changing-Plugin-Types-In-Starfield/index.html @@ -1,13 +1,16 @@ --- layout: page title: Changing plugin types in Starfield +weight: 6 +aliases: + - Changing-Plugin-Types-In-Starfield.html ---

    On June 9, 2024, Bethesda released the Starfield Creation Kit as part of their June 2024 Update. The workflow through which mods are created and shared with the community has undergone some fundamental changes, as mod authors now create their mods as .esp files - with the intention of never using these files in-game.

    Instead, these files are now expected to be converted to .esm masters, which means that your load order should consist only out of .esm Master plugins.

    -Master_Types +Master_Types

    There are three different Master types to choose from, with each of them using the .esm filename extension:

    diff --git a/docs/help/Dirty-Edits,-Mod-Cleaning-&-CRCs.html b/content/docs/help/Dirty-Edits,-Mod-Cleaning-&-CRCs.html similarity index 98% rename from docs/help/Dirty-Edits,-Mod-Cleaning-&-CRCs.html rename to content/docs/help/Dirty-Edits,-Mod-Cleaning-&-CRCs.html index 3eada0c..e322151 100644 --- a/docs/help/Dirty-Edits,-Mod-Cleaning-&-CRCs.html +++ b/content/docs/help/Dirty-Edits,-Mod-Cleaning-&-CRCs.html @@ -1,6 +1,9 @@ --- layout: page title: Dirty Edits, Mod Cleaning & CRCs +weight: 4 +aliases: + - Dirty-Edits,-Mod-Cleaning-&-CRCs.html ---

    Dirty edits are often a side-effect of mod creation, and are often due to bugs in the utilities Bethesda has provided to create mods, rather than bad practice by mod authors. Dirty edits can cause a wide range of issues, including incorrect game settings, missing content, broken quests and crashing to desktop. The more dirty edits there are in a mod, and the more mods with dirty edits you use, the more likely you are to experience issues.

    diff --git a/docs/help/How-To-Report-Issues-Helpfully.html b/content/docs/help/How-To-Report-Issues-Helpfully.html similarity index 98% rename from docs/help/How-To-Report-Issues-Helpfully.html rename to content/docs/help/How-To-Report-Issues-Helpfully.html index 118f522..d5bb186 100644 --- a/docs/help/How-To-Report-Issues-Helpfully.html +++ b/content/docs/help/How-To-Report-Issues-Helpfully.html @@ -1,6 +1,9 @@ --- layout: page title: How To Report Issues Helpfully +weight: 2 +aliases: + - How-To-Report-Issues-Helpfully.html ---

    Contents

    diff --git a/docs/help/Introduction-To-Load-Orders.html b/content/docs/help/Introduction-To-Load-Orders.html similarity index 98% rename from docs/help/Introduction-To-Load-Orders.html rename to content/docs/help/Introduction-To-Load-Orders.html index 6e9aaea..55b8484 100644 --- a/docs/help/Introduction-To-Load-Orders.html +++ b/content/docs/help/Introduction-To-Load-Orders.html @@ -1,6 +1,9 @@ --- layout: page title: Introduction To Load Orders +weight: 3 +aliases: + - Introduction-To-Load-Orders.html ---

    This page provides a general overview of load ordering in the games LOOT supports for those who are unfamiliar with the concept. For simplicity, "the game" will be used when the text refers to any of the games that LOOT supports.

    diff --git a/docs/help/LOOT-FAQs.html b/content/docs/help/LOOT-FAQs.html similarity index 99% rename from docs/help/LOOT-FAQs.html rename to content/docs/help/LOOT-FAQs.html index 721598a..c12d68a 100644 --- a/docs/help/LOOT-FAQs.html +++ b/content/docs/help/LOOT-FAQs.html @@ -1,6 +1,9 @@ --- layout: page title: FAQs +weight: 1 +aliases: + - LOOT-FAQs.html ---

    Contents

    diff --git a/docs/help/Setting-Windows'-File-Permissions.html b/content/docs/help/Setting-Windows'-File-Permissions.html similarity index 96% rename from docs/help/Setting-Windows'-File-Permissions.html rename to content/docs/help/Setting-Windows'-File-Permissions.html index 909836a..7dd89ad 100644 --- a/docs/help/Setting-Windows'-File-Permissions.html +++ b/content/docs/help/Setting-Windows'-File-Permissions.html @@ -1,6 +1,9 @@ --- layout: page title: Setting Windows' File Permissions +weight: 5 +aliases: + - Setting-Windows'-File-Permissions.html ---

    If you are running Windows Vista or a later version of Windows, LOOT (and other modding programs) may be prevented from working correctly by the UAC security feature. There are four common workarounds to this problem:

    diff --git a/content/docs/help/_index.html b/content/docs/help/_index.html new file mode 100644 index 0000000..31c4ac0 --- /dev/null +++ b/content/docs/help/_index.html @@ -0,0 +1,5 @@ +--- +layout: page +title: Help +weight: 1 +--- diff --git a/docs/team/Making-A-Release.html b/content/docs/team/Making-A-Release.html similarity index 98% rename from docs/team/Making-A-Release.html rename to content/docs/team/Making-A-Release.html index 92307aa..f4c4528 100644 --- a/docs/team/Making-A-Release.html +++ b/content/docs/team/Making-A-Release.html @@ -1,6 +1,9 @@ --- layout: page title: Making A Release +weight: 2 +aliases: + - Making-A-Release.html ---

    Releasing libloot

    diff --git a/docs/team/Team-Member-Responsibilities.html b/content/docs/team/Team-Member-Responsibilities.html similarity index 97% rename from docs/team/Team-Member-Responsibilities.html rename to content/docs/team/Team-Member-Responsibilities.html index bcf9f3f..92da342 100644 --- a/docs/team/Team-Member-Responsibilities.html +++ b/content/docs/team/Team-Member-Responsibilities.html @@ -1,6 +1,9 @@ --- layout: page title: Team Member Responsibilities +weight: 1 +aliases: + - Team-Member-Responsibilities.html ---

    Introduction

    diff --git a/docs/team/Team-Policies.html b/content/docs/team/Team-Policies.html similarity index 96% rename from docs/team/Team-Policies.html rename to content/docs/team/Team-Policies.html index 526202d..3b805cb 100644 --- a/docs/team/Team-Policies.html +++ b/content/docs/team/Team-Policies.html @@ -1,6 +1,9 @@ --- layout: page title: Team Policies +weight: 3 +aliases: + - Team-Policies.html ---

    As time goes by, we sometimes find it's good to have rules written down for things relating to how we operate. This is where we write these rules. Please don't change them without prior discussion.

    diff --git a/content/docs/team/_index.html b/content/docs/team/_index.html new file mode 100644 index 0000000..99c9519 --- /dev/null +++ b/content/docs/team/_index.html @@ -0,0 +1,5 @@ +--- +layout: page +title: Team +weight: 3 +--- diff --git a/content/latest-thread.html b/content/latest-thread.html new file mode 100644 index 0000000..746f017 --- /dev/null +++ b/content/latest-thread.html @@ -0,0 +1,10 @@ +--- +layout: page +title: Latest LOOT thread +params: + redirect_to: https://www.afkmods.com/index.php?/topic/5042-relz-loot-load-order-optimisation-tool/ +--- + +

    The latest official LOOT thread can be found at: + {{% param "redirect_to" %}} +

    diff --git a/search.html b/content/search/index.html similarity index 93% rename from search.html rename to content/search/index.html index 8ed9afa..a2d507a 100644 --- a/search.html +++ b/content/search/index.html @@ -1,7 +1,6 @@ --- layout: page title: Masterlist Search -permalink: /search/ ---

    Search for a plugin name to find matching entries in the LOOT masterlists. Partial matching is only supported for non-regex entries, so use the full plugin name to find any regex entries for it.

    @@ -24,4 +23,4 @@ permalink: /search/
    - + diff --git a/js/search.js b/content/search/search.js similarity index 100% rename from js/search.js rename to content/search/search.js diff --git a/tutorials.html b/content/tutorials.html similarity index 97% rename from tutorials.html rename to content/tutorials.html index e742c4b..aefe443 100644 --- a/tutorials.html +++ b/content/tutorials.html @@ -1,7 +1,6 @@ --- layout: page title: Unofficial Tutorials -permalink: /tutorials/ ---

    Some LOOT users have created tutorial videos to help others get the most out of LOOT. The videos linked below have been submitted by their creators for inclusion on this page, and checked for a reasonable level of accuracy.

    diff --git a/discord.html b/discord.html deleted file mode 100644 index bdb2a3c..0000000 --- a/discord.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: page -title: Discord Server -permalink: /discord/ -redirect_to: - - https://discord.gg/SZVPRzf -discord_server: https://discord.gg/SZVPRzf ---- - -

    The official LOOT Discord server can be found at: - {{ page.forum_thread }} -

    diff --git a/docs/contributing/index.html b/docs/contributing/index.html deleted file mode 100644 index dacfa86..0000000 --- a/docs/contributing/index.html +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: page -title: Documentation / Contributing ---- - -{% include contributing_index.html %} diff --git a/docs/help/index.html b/docs/help/index.html deleted file mode 100644 index 35e0b0e..0000000 --- a/docs/help/index.html +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: page -title: Documentation / Help ---- - -{% include help_index.html %} diff --git a/docs/team/index.html b/docs/team/index.html deleted file mode 100644 index 561320b..0000000 --- a/docs/team/index.html +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: page -title: Documentation / Team ---- - -{% include team_index.html %} diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..4ec95c6 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,11 @@ +baseURL = 'https://loot.github.io/' +languageCode = 'en-us' +title = 'LOOT' + +[outputs] + home = ['html'] + page = ['html'] + rss = ['rss'] + section = ['html'] + taxonomy = [] + term = [] diff --git a/latest-thread.html b/latest-thread.html deleted file mode 100644 index 1a5bbdb..0000000 --- a/latest-thread.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: page -title: Latest LOOT thread -permalink: /latest-thread/ -redirect_to: - - https://www.afkmods.com/index.php?/topic/5042-relz-loot-load-order-optimisation-tool/ -forum_thread: https://afkmods.iguanadons.net/index.php?/topic/5042-relz-loot-load-order-optimisation-tool/ ---- - -

    The latest official LOOT thread can be found at: - {{ page.forum_thread }} -

    diff --git a/_layouts/page.html b/layouts/baseof.html similarity index 76% rename from _layouts/page.html rename to layouts/baseof.html index 5aa2d7c..8103179 100644 --- a/_layouts/page.html +++ b/layouts/baseof.html @@ -2,22 +2,35 @@ -LOOT: {{ page.title }} - +LOOT: {{ .Title }} + +{{ $iconIco := resources.Get "images/icon.ico" }} +{{ $iconPng := resources.Get "images/icon.png" }} + + + +{{ if .Params.redirect_to }} + + + +{{ end }} - - +{{ $style := resources.Get "css/style.css" }} +{{ $cssOverrides := resources.Get "css/overrides.css" }} + + +
    - LOOT + LOOT LOOT
    - {{ page.title }} + + {{ range after 1 .Ancestors.Reverse }} + {{ .LinkTitle }} / + {{ end }} + {{ .Title }} +
    - {{ content }} + {{ block "main" . }} + + {{ end }}
    diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/layouts/page.html b/layouts/page.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/layouts/page.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/layouts/section.html b/layouts/section.html new file mode 100644 index 0000000..9741f57 --- /dev/null +++ b/layouts/section.html @@ -0,0 +1,19 @@ +{{ define "main" }} + {{ .Content }} + {{ with .Sections }} + {{ range . }} +

    {{ .LinkTitle}}

    + + {{ end }} + {{ else }} + + {{ end }} +{{ end }} diff --git a/.well-known/openpgpkey/hu/mj86by43a9hz8y8rbddtx54n3bwuuucg b/static/.well-known/openpgpkey/hu/mj86by43a9hz8y8rbddtx54n3bwuuucg similarity index 100% rename from .well-known/openpgpkey/hu/mj86by43a9hz8y8rbddtx54n3bwuuucg rename to static/.well-known/openpgpkey/hu/mj86by43a9hz8y8rbddtx54n3bwuuucg diff --git a/.well-known/openpgpkey/policy b/static/.well-known/openpgpkey/policy similarity index 100% rename from .well-known/openpgpkey/policy rename to static/.well-known/openpgpkey/policy