aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/base (follow)
Commit message (Collapse)AuthorAgeLines
* Update netcup website URLGravatar Johannes Christ2025-02-06-1/+1
| | | | | | Via e-mail forwarded to me by Chris. Reported-by: Chris Lovering <[email protected]>
* Timeline: Migrate to Markdown source files - initial implementationGravatar hedy2024-05-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The timeline app is introduced, moved from the home app. - Add a basic README.md to illustrate the overall code breakdown of the app as it is in the current stage. - Two entries are added for now. - Add ability to link headers using the slug portion of the filename. - The way markdown files are fetched is similar to that of the resources app - using the AppConfig ready() function, all resources are ensured to be only fetched once when the app is first laoded. I debated whether to introduce the new functionality in the home app instead, without creating a new app. Eventually I decided extracting it to a standalone app now is better as it allows easier extension of functionality in the future. The home app can remain as it is to only server the `/` homepage. The timeline CSS is kept the same, as with the structure of the timeline HTML template. Once the CSS rewrite PR is merged, it's relatively easy to fix conflicts here (again, since timeline is now its own app, with the CSS file and HTML template moved - extra advantage). References to `home:timeline` are updated to use `timeline:index` throughout the codebase, as far as my ripgrep search could go. The format of the markdown + YAML entries are still up for debate, so I've only added the first two entries for now. They can be completely overwritten in the future once the formats are decided by using a script to convert all the data from my JSON file into individual markdown files: http://0x0.st/Xr78.txt This link should last for at least a few months. (Originally saved on https://paste.pythondiscord.com/KPJA, but it expires on 12th April 2024.)
* Add our reference to Netcup linksGravatar Johannes Christ2024-04-15-1/+1
|
* Fix navbar dropdown toggle for touchscreens using SafariGravatar hedy2024-03-27-1/+3
|
* Move from Font Awesome Kit to static filesGravatar hedy2024-02-23-1/+2
| | | | | | | - Lemon's fa kit (free plan) had been used till now which had limitations such as total number of views that we've long exceeded - This gives more control on the static assets to use - Allows showing icons in development
* Optimistic fix for FOUC on initial site loadGravatar hedy2024-01-18-0/+1
|
* Temporary fix to theme-switching FOUC problemGravatar hedy2024-01-18-1/+0
|
* Dark: Possibly fix FOUC during theme switchGravatar hedy2024-01-18-3/+3
|
* Dark: Fix tag colors in resources pageGravatar hedy2024-01-14-1/+1
|
* Dark: Name JS & CSS files according to their contentGravatar hedy2024-01-05-2/+2
| | | | | | | | We have the CSS for the navbar in base.css, the relevant files only contain code for the theme toggle, so they should be named as such. If we ever implement CSS variables per-theme, they could then be done in `themes.css`.
* Dark: Refactor toggle handling JSGravatar hedy2024-01-05-3/+3
| | | | | | | | | | | | | | - Use localstorage. Advantages: - One key=value for the entire site, without needing to specify `path=/` - No need for string splitting to parse the `key=value; ...` data - Suggested more widely in tutorials Pretty good support: https://caniuse.com/?search=localstorage - Remove the need for JQuery, use IDs for switch and knob elements. - This also makes the code more robust if the page has other switch & knob classes!
* Bump django-simple-bulma to 2.6.0Gravatar hedy2024-01-04-1/+1
| | | | | And use `include_js` flag to the bulma dark theme stylesheet template tag.
* Fix all conflictsGravatar hedy2023-12-14-0/+3
|\ | | | | | | hopefully I dont have to do this again
| * Add Content App To NavbarGravatar Hassan Abouelela2022-08-13-0/+3
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Use colour helpersGravatar GDWR2022-02-09-2/+2
| |
* | Use colour helpersGravatar GDWR2022-02-08-1/+1
| |
* | Use colour helpersGravatar GDWR2022-02-08-6/+6
| |
* | Use colour helpersGravatar GDWR2022-02-08-1/+1
| |
* | Use colour helpersGravatar GDWR2022-02-08-9/+8
| |
* | Add initial dark themeGravatar GDWR2022-02-08-0/+17
| |
* | Add dark theme stylesheetGravatar GDWR2022-02-07-0/+2
|/
* Add Guides to the More menu.Gravatar Leon Sandøy2022-01-29-0/+3
| | | | | | Since we've removed the resources landing page, there's no easy way to get to Guides anymore. For that reason, I'm adding it to the More menu so that it'll still be discoverable.
* Add a FontAwesome token that we actually control.Gravatar Leon Sandøy2022-01-27-7/+1
| | | | | | Previously we were using some sort of borrowed token, but it seems to not be working anymore for local sessions, so let's just get rid of it.
* Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-mainGravatar Leon Sandøy2022-01-23-3/+3
|\
| * Add netcup logo to page footerGravatar Chris Lovering2022-01-05-1/+1
| |
| * Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-10-06-1/+1
| |\
| | * Switches HTTP Links To HTTPSGravatar Hassan Abouelela2021-10-06-1/+1
| | | | | | | | | | | | | | | | | | | | | Switches the protocol for external sites where possible. Some sites don't have secure versions, and were skipped. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-07-08-14/+7
| |\|
| * | Move subdomains to query paths.Gravatar Johannes Christ2021-06-08-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In more detail: - Use Django URL namespaces (e.g. `api:bot:infractions`) instead of `django_hosts` host argument. - Update the hosts file setup documentation to remove subdomain entries. - Update the hosts file setup documentation to mention that the entry of `pythondiscord.local` is not required and mainly for convenience. - Rename the `APISubdomainTestCase` to the more fitting `AuthenticatedAPITestCase`, as authentication is all that is left that the class is doing. - Drop dependency to `django_hosts`.
* | | Merge branch 'main' of https://github.com/python-discord/site into ↵Gravatar swfarnsworth2021-07-04-14/+7
|\ \ \ | | |/ | |/| | | | swfarnsworth/smarter-resources/new-resources
| * | Update navbar hamburger/dropdown anchors to spansGravatar Joe Banks2021-06-21-4/+4
| | | | | | | | | There is no href on these items, so they should not be anchors.
| * | Code Jam 8 Site Updates - v2 (#530)Gravatar Janine vN2021-06-15-10/+3
| |/ | | | | Co-authored-by: Joe Banks <[email protected]>
* / Update templates with new resource urls.Gravatar lemonsaurus2021-06-06-1/+1
|/
* Merge branch 'main' into fix_327Gravatar ChrisJL2021-05-16-75/+12
|\
| * Merge branch main into dewikificationGravatar kosayoda2021-05-14-8/+12
| |
| * Add privacy policy information and link.Gravatar kosayoda2021-05-13-1/+1
| | | | | | | | | | This should be redirected to the notion page using our cloudflare worker.
| * Route navbar links to their new locations.Gravatar kosayoda2021-05-13-8/+8
| |
| * Remove the login feature from the templates.Gravatar Leon Sandøy2020-10-04-62/+0
| |
| * Remove remaining references to wiki.Gravatar Leon Sandøy2020-10-04-9/+9
| |
| * Remove render_block tags. These no longer exist.Gravatar Leon Sandøy2020-10-04-2/+0
| |
| * Remove references to wiki from other apps.Gravatar Leon Sandøy2020-10-04-1/+0
| |
* | Resolve conflictsGravatar Bryan Kok2021-03-04-7/+9
|\ \
| * | Add powered by linode to the footerGravatar Matteo Bertucci2021-02-23-1/+1
| | |
| * | Change discord nav item to distinct CTA button.Gravatar scragly2020-10-25-2/+9
| | |
| * | Change discord img-based link to normal nav item.Gravatar scragly2020-10-23-8/+3
| |/
* / Hide arrow to the right of More below the 1024px breakpointGravatar Bryan Kok2020-10-18-1/+4
|/
* Add a comment with the git SHA to base templates.Gravatar Leon Sandøy2020-08-22-0/+1
|
* Update Code Jam 7 to most recent in navbarGravatar Dennis Pham2020-08-13-1/+1
|
* Update navbar for Code Jam 7Gravatar Dennis Pham2020-06-04-2/+2
| | | Changed `Most Recent: Game Jam 2020` to `Upcoming: Code Jam 7`
* Update Game Jam from upcoming to most recentGravatar Den42002020-05-12-1/+1
|