Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/deploy-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ jobs:
name: result

- name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@v1
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 44d0498f26e72b3e24b3ba9d152ca879
projectName: berkeley-mt
branch: pr-${{ github.event.number }}
directory: .
command: pages deploy . --project-name=berkeley-mt --branch=pr-${{ github.event.number }}
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ jobs:
name: result

- name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@v1
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 44d0498f26e72b3e24b3ba9d152ca879
projectName: berkeley-mt
directory: .
command: pages deploy . --project-name=berkeley-mt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Approaching and Preparing for Math Competitions"
aliases = ["/blog/preparing-for-math-competitions"]
aliases = ["/resources/blog/preparing-for-math-competitions"]
authors = ["Danielle Murphy"]

[taxonomies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Starting a Math Club"
aliases = ["/blog/starting-a-math-club"]
aliases = ["/resources/blog/starting-a-math-club"]
authors = ["Nathan Alejandria, Claire Foster, Carlyana Kwong"]

[taxonomies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "How to get the most out of BmMT"
aliases = ["/blog/bmmt-tournament-day-tips"]
aliases = ["/resources/blog/bmmt-tournament-day-tips"]
authors = ["BMT Team"]

[taxonomies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "BMT Power Round Guidance"
aliases = ["/blog/bmt-power-round-guidance"]
aliases = ["/resources/blog/bmt-power-round-guidance"]
authors = ["Kiran Parthasarathy, Theodore Danial, Andrew Huang"]

[taxonomies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "BmMT Puzzle Round Guidance"
aliases = ["/blog/bmmt-puzzle-round-guidance"]
aliases = ["/resources/blog/bmmt-puzzle-round-guidance"]
authors = ["BmMT Team"]

[taxonomies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Blog"
sort_by = "date"
aliases = ["/blog"]
aliases = ["/resources/blog"]
+++
2 changes: 2 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
{{ macros::mobile_nav_link(path="@/about.md", label="About") }}
{{ macros::mobile_nav_link(path="@/archives/_index.md", label="Archives") }}
{{ macros::mobile_nav_link(path="@/resources/index.md", label="Resources") }}
{{ macros::mobile_nav_link(path="@/blog/_index.md", label="Blog") }}
{{ macros::mobile_nav_link(path="@/events/bmt-2026.md", label="BMT 2026") }}
{{ macros::mobile_nav_link(path="@/events/bmt-2026-online.md", label="BMT 2026 Online") }}
{{ macros::mobile_nav_link(path="@/faqs.md", label="FAQ") }}
Expand All @@ -107,6 +108,7 @@
{{ macros::nav_link(path="@/about.md", label="About") }}
{{ macros::nav_link(path="@/archives/_index.md", label="Archives") }}
{{ macros::nav_link(path="@/resources/index.md", label="Resources") }}
{{ macros::nav_link(path="@/blog/_index.md", label="Blog") }}
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
{{ macros::nav_link(path="@/events/bmt-2026.md", label="BMT 2026") }}
{{ macros::nav_link(path="@/events/bmt-2026-online.md", label="BMT 2026 Online") }}
{{ macros::nav_link(path="@/faqs.md", label="FAQ") }}
Expand Down
4 changes: 1 addition & 3 deletions templates/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@

{% block after_page_content %}

{# Spring (Jan–Jun): BmMT worksheets first for BmMT season; rest of the year: blog first for BMT season #}
{# Spring (Jan–Jun): BmMT worksheets first for BmMT season; rest of the year: BMT prep first #}
{% set month = now() | date(format="%m") | int %}

{% if month <= 6 %}
{% set sections = [
get_section(path="resources/bmmt-worksheets/_index.md"),
get_section(path="resources/bmt-to-aime/_index.md"),
get_section(path="resources/blog/_index.md"),
] %}
{% else %}
{% set sections = [
get_section(path="resources/blog/_index.md"),
get_section(path="resources/bmt-to-aime/_index.md"),
get_section(path="resources/bmmt-worksheets/_index.md"),
] %}
Expand Down
Loading