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
2 changes: 1 addition & 1 deletion .github/workflows/deploy-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3.0.0
with:
hugo-version: "0.100.2" # Version taken from https://github.com/cstate/cstate/blob/master/exampleSite/.gitlab-ci.yml#L10
hugo-version: "0.151.0" # Version taken from https://github.com/cstate/cstate/blob/master/exampleSite/.gitlab-ci.yml#L10
extended: true

# Builds the ./public, and minifies CSS/JS
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.vscode/
themes/
public/
.hugo_build.lock
10 changes: 6 additions & 4 deletions preview.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/bin/bash

port=1313

echo "Starting..."
docker run --rm --name hugo-builder -d -v $(pwd):/cstate -e PUID=$(id -u) -e PGID=$(id -g) -p 1313:1313 ghcr.io/linuxserver/baseimage-alpine-nginx:3.19 >/dev/null
docker run --rm --name hugo-builder -d -v $(pwd):/cstate -e PUID=$(id -u) -e PGID=$(id -g) -p ${port}:${port} ghcr.io/linuxserver/baseimage-alpine-nginx:3.22 >/dev/null
docker exec -it hugo-builder apk add go git >/dev/null
docker exec -it hugo-builder wget https://github.com/gohugoio/hugo/releases/download/v0.100.2/hugo_0.100.2_Linux-64bit.tar.gz >/dev/null
docker exec -it hugo-builder tar xf hugo_0.100.2_Linux-64bit.tar.gz >/dev/null
docker exec -it -u abc hugo-builder bash -c "cd /cstate && /hugo serve --bind 0.0.0.0"
docker exec -it hugo-builder wget https://github.com/gohugoio/hugo/releases/download/v0.151.0/hugo_0.151.0_Linux-64bit.tar.gz >/dev/null
docker exec -it hugo-builder tar xf hugo_0.151.0_Linux-64bit.tar.gz >/dev/null
docker exec -it -u abc hugo-builder bash -c "cd /cstate && /hugo serve --bind 0.0.0.0 --port ${port} ${PROXY_DOMAIN+--baseURL https://${port}.${PROXY_DOMAIN} --liveReloadPort 443 --appendPort=false}"
echo "Stopping..."
docker stop hugo-builder >/dev/null
echo "Done."
2 changes: 1 addition & 1 deletion themes/cstate
Submodule cstate updated 53 files
+1 −1 .github/PULL_REQUEST_TEMPLATE.md
+2 −0 .gitignore
+15 −15 README.md
+1 −1 exampleSite/README.md
+70 −17 exampleSite/config.yml
+12 −0 exampleSite/content/affected/api/_index.md
+1 −1 exampleSite/content/issues/2018-01-17-sending-dms-impacted.md
+1 −3 exampleSite/content/issues/2018-04-13-unavailable-guilds-connection-issues.md
+0 −1 exampleSite/content/issues/2018-05-25-us-east-conn-issues.md
+7 −4 exampleSite/content/issues/2024-02-24-maintenance-window.md
+9 −0 exampleSite/content/issues/2024-05-23-planning-meeting.md
+22 −0 exampleSite/content/issues/2024-07-23-excitement.md
+15 −0 exampleSite/content/issues/2024-12-24-cstate-showdown.md
+14 −0 exampleSite/content/issues/2024-12-27-dns-resolution-api.md
+22 −0 exampleSite/layouts/partials/custom/meta.html
+11 −5 exampleSite/static/admin/config.yml
+3 −3 exampleSite/static/admin/index.html
+72 −4 i18n/bn.yaml
+72 −2 i18n/de.yaml
+74 −3 i18n/en.yaml
+73 −2 i18n/es.yaml
+76 −5 i18n/fr.yaml
+74 −3 i18n/id.yaml
+73 −2 i18n/it.yaml
+74 −3 i18n/ja.yaml
+83 −12 i18n/lt.yaml
+74 −3 i18n/mk.yaml
+74 −3 i18n/nl.yaml
+75 −4 i18n/pl.yaml
+73 −3 i18n/pt.yaml
+74 −3 i18n/ru.yaml
+72 −2 i18n/se.yaml
+73 −2 i18n/tl.yaml
+99 −2 i18n/tr.yaml
+71 −2 i18n/uk.yaml
+133 −26 layouts/404.html
+34 −114 layouts/_default/list.html
+131 −0 layouts/affected/list.html
+1 −7 layouts/index.html
+6 −6 layouts/index.json
+153 −93 layouts/issues/issue.html
+8 −7 layouts/issues/single.html
+38 −48 layouts/issues/small.html
+11 −0 layouts/partials/custom/meta.html
+2 −2 layouts/partials/footer.html
+348 −137 layouts/partials/index/components.html
+61 −0 layouts/partials/index/incidents-paginated.html
+66 −9 layouts/partials/index/incidents-yearly.html
+22 −48 layouts/partials/index/incidents.html
+503 −17 layouts/partials/index/summary.html
+4 −4 layouts/partials/js.html
+107 −23 layouts/partials/meta.html
+1 −1 theme.toml