Go to file
steverusso 0c70a13a3a close the nav via 'going back' in the browser (#47)
This PR makes it so that opening the nav used a hash in the browser's location. This way, we can program the 'back' action in the browser to close the nav.

Haven't tested on mobile yet, might be a bit quirky.

Co-authored-by: Steve Russo <steverusso@pm.me>
Reviewed-on: #47
Reviewed-by: jeff <jeff@simplesystems.tech>
Co-authored-by: steverusso <steverusso@protonmail.com>
Co-committed-by: steverusso <steverusso@protonmail.com>
2022-04-25 16:38:53 +00:00
assets BlogPost_BooleanNames (#22) 2020-07-30 22:44:24 +00:00
content Use local image for SBA Ponderay card. 2022-04-20 14:34:55 -07:00
layouts close the nav via 'going back' in the browser (#47) 2022-04-25 16:38:53 +00:00
static Use local image for SBA Ponderay card. 2022-04-20 14:34:55 -07:00
.gitignore Ignore Hugo build lock file. 2022-04-20 14:36:14 -07:00
config.toml BlogPost_BooleanNames (#22) 2020-07-30 22:44:24 +00:00
Dockerfile.dev Remove Hugo version from builds (use latest). (#19) 2020-06-13 19:24:09 +00:00
Dockerfile.prod Use webserver image (fix port). 2022-03-13 20:50:51 -07:00
README.md Use tag for images. 2022-04-20 14:37:43 -07:00

Simple Systems Website

Built using Hugo

Local development

hugo server

Development can also be run using Docker:

docker build --no-cache -f Dockerfile.dev -t website-fe . && \
docker run -it -p 1313:1313 --mount source=$(pwd),target=/src,type=bind --rm website-fe

Production

To build the production site, run the following command:

hugo --minify

To build the Dockerfile, run this command:

TAG="$(date -u +%Y-%m-%d_%H%M%S)" ; docker build --no-cache -f Dockerfile.prod -t docker.simplesystems.tech/simplesystems/website:$TAG . && docker push docker.simplesystems.tech/simplesystems/website:$TAG

The resources will be stored in the ./public directory.

Managing Job Posts

  • To add a job post, create the markdown file in content/jobs.
  • To remove a job post, remove its markdown file from content/jobs.

Managing Blog Posts

  • To add a blog post, create the markdown file in content/blog.
  • To remove a blog post, remove its markdown file from content/blog.