Commit Graph

89 Commits

Author SHA1 Message Date
lifehackerhansol 76d31c0130
includes: add a redirect macro
Usage example:
{% include redirect.html redirect_to="page.html" %}

Hopefully SEO doesn't hate us too much for doing it this way, but we
shall find out.
2024-01-16 12:36:34 -08:00
lifehackerhansol 810e90c2b5
treewide: move everything theme related to submodule
All themes are moved to `_theme` submodule, which will be shared with
other websites on hacks.guide.

Repository-specific files can be overlayed after the fact, such as
additional languages, custom JavaScript, progress table paths and the
like.
2024-01-16 12:31:55 -08:00
Gruetzig 433823d37b
treewide: default to MSET9 where possible
As MSET9 has mostly matured, we will no longer need several other
exploits.

The following are removed:
- alternate-exploits (and all linked by it)
- All seedminer-related paths
- firmware update pages
2023-11-25 14:15:41 -08:00
lifehackerhansol 0777d54197
get-started: flip order of versions
It's better to cater to the larger audience which is most likely on
11.x. Too many people are pressing literally anything else, ending up
at soundhax with a higher version.
2023-10-24 06:08:36 -07:00
lifehackerhansol 3a4447b591
head: adapt cookie consent colours to dark skin 2023-10-04 17:18:49 -07:00
lifehackerhansol af2a26e8d0
treewide: code readability improvements
All downstream changes from the theme (i.e. here) will be denoted with:

/* hacks-guide change start */
and
/* hacks-guide change end */

One-line changes are marked with

/* hacks-guide change */

next to it.

Since our theme does not have linear history with upstream, this allows
quicker identification of what exactly has differentiated downstream,
as we do have a few out-of-tree patches for extra functionality.
2023-09-30 09:51:21 -07:00
lifehackerhansol 3bcc10dbe1
11.17.0-50 2023-05-22 17:39:39 -07:00
Florian 5d4a2a8953
Readd Old 3DS/New 3DS model table (#2248)
Commit abe4f29aea missed the existence of
safecerthax, which would have caused an error on specific firmware 
versions.

This partially reverts commit abe4f29aea.
2023-04-13 08:24:47 -07:00
Gruetzig abe4f29aea Make super-skaterhax inline troubleshooting only 2023-04-13 02:57:58 -07:00
Gruetzig 40110bdc5a Hook up all the new pages to version selector 2023-04-06 21:47:04 -07:00
lifehackerhansol 347eb4040d Move version selector to its own include
This time, it's an HTML include, and not a relative include.

We can make use of the existing captures done for invalidVersion and
methodUnavailable by passing it to the include flag.

Move all HTML tags into the new HTML include so that it doesn't show on
Crowdin, this way translations aren't broken every time something in
the HTML tags change. One change will fix all of it.

Also, do not show the version selector if JS is not supported on the
browser. This can be done with a simple JS to display the script
automatically, which will by definition not show the selector when JS
isn't enabled as the JS to turn it on can't run.
2023-03-21 17:37:43 -07:00
lifehackerhansol 762498f0ef Unset languages that haven't been fully translated.
Or even half translated.

Removed:
- Polish
- Israeli
- Japanese
- Romanian
- Finnish
- Russian
2023-03-03 23:12:47 -08:00
lifehackerhansol f12d785a8b Enable ko_KR translation 2022-03-31 12:54:38 -07:00
lifehackerhansol 77e984409d Enable nl_NL translation 2022-02-15 13:56:23 -08:00
lifehackerhansol 3997a1d8aa Remove caching:
This is the solution to making sure things that need translating aren't cached from English. A continuation of another commit that needed nocache.

ALSO:Add kartdlphax to progress sidebar
2022-01-11 10:24:34 -08:00
MechDragon c8380f341c fix cookieconsent import 2022-01-11 10:24:33 -08:00
lifehackerhansol 8bbbecf32a More rebasing 2022-01-11 10:24:05 -08:00
lifehackerhansol 22cb19a0bc Implement sidebar
Co-authored-by: MechanicalDragon <mechdragon@hobbyist.dev>
2022-01-11 10:24:04 -08:00
lifehackerhansol 5641d7e51a first rebase
ALSO: Remove fading on dropdown menu click. This is also a bug on the actual upstream, when the cursor leaves the screen the menu disappears but the fading doesn't.
This causes things like the menu saying it's open when it's not and closed when open. I'm not dealing with an upstream bug.
2022-01-11 10:23:27 -08:00
Pr0x1mas 9a89df6b8e
Fix privacy policy link (#1931)
The link to the privact policy was loading the fourth title because `titles[3]` is gonna be the fourth element in the array. Since there are only three in the array and the third in `en_gb` is 'Privacy Policy', I'm gonna assume that it's meant to be `titles[2]`.

I make this mistake a lot myself.
2021-11-17 23:17:06 -08:00
RandalHoffman 90cc3d3509 add Japanese to the language list 2021-03-20 17:30:02 -07:00
Ian Burgwin ffa93bf4fd
replace some instances of "Plailect" 2020-11-23 22:51:11 -08:00
Ian Burgwin ae9bef4ef8
footer: remove why-ads 2020-04-15 02:23:21 -07:00
Ian Burgwin 739f942989
remove ads 2020-04-15 02:06:02 -07:00
Plailect 3f74229961
move this to the header 2019-04-18 13:57:35 -04:00
Plailect 4d8ecee158
make this translatable
wow why does inserting liquid variables directly into inline js even
work, that is horrifying and highly convenient
2019-04-16 20:40:52 -04:00
Plailect 91d53dc480
Add GDPR-compliant cookie header & privacy-policy 2019-04-15 12:07:11 -04:00
Plailect 05d0d5a4c4
New Crowdin translations 2019-04-06 01:34:38 -04:00
Devon Maloney 7de009e914
enable pl_PL 2018-11-18 19:26:28 -05:00
Devon Maloney e598039aa1
close footer div 2018-11-18 19:17:24 -05:00
Plailect ca2a6f165f
Plailect/Guide -> Plailect/Guide_3DS 2018-11-18 19:17:18 -05:00
Plailect 34cb40c697
-> 3ds.hacks.guide 2018-11-18 19:17:18 -05:00
Plailect 2d6914f132
enable hu_HU masthead 2018-11-18 19:17:16 -05:00
Plailect e2f9d52e5a
remove battleforthenet-widget 2018-11-18 19:17:15 -05:00
Plailect cceda7e827
add battleforthenet-widget 2018-11-18 19:17:12 -05:00
Plailect 3da1485aa2
multiple options 2018-11-18 19:16:59 -05:00
Plailect 747107cb73
mm upgrade and feature updates 2018-11-18 19:16:55 -05:00
Plailect 4ff69feb8e
enable fi_FI 2018-11-18 19:16:41 -05:00
Plailect 0f6a6581ca
enable ro_RO 2018-11-18 19:16:35 -05:00
Plailect 189144df37
add uninstall-cfw to masthead and site nav 2018-11-18 19:16:31 -05:00
Plailect 60498673c8
enable de_DE 2018-11-18 19:16:29 -05:00
Plailect 54dd1b6562
Rosalina :D 2018-11-18 19:16:21 -05:00
Plailect e7c78064ff
some a9lh to b9s updating changes 2018-11-18 19:16:18 -05:00
Plailect c56c360981
enable pt_BR 2018-11-18 19:16:15 -05:00
Plailect d1efcaa2a5
masthead link fix 2018-11-18 19:16:11 -05:00
Plailect 86af54c429
enable es_ES, fr_FR, it_IT, ru_RU, and he_IL 2018-11-18 19:16:07 -05:00
Plailect af0a315564
boot9strap 2018-11-18 19:16:03 -05:00
Plailect 8d1f471a4a
enable de_DE and pt_BR 2018-11-18 19:16:02 -05:00
Plailect 7eaf21dedd
enable es_ES, it_IT, ru_RU, he_IL, and fi_FI 2018-11-18 19:16:01 -05:00
Plailect 47d0ae0f52
dark css; many changes; screenshots! 2018-11-18 19:15:58 -05:00