Static website for the EMAC group, built with Jekyll. The site uses the Beautiful Jekyll theme via remote_theme (the theme code is not vendored in this repo).
-
Prerequisites
- Ruby 3.3 and Bundler installed
- No Node.js required
-
Install dependencies
bundle install
-
Run the dev server
bundle exec jekyll serve --livereload- Open
http://127.0.0.1:4000
-
Build for production
bundle exec jekyll build- Output is generated in
_site/
-
Optional: build against multiple Jekyll versions (theme compatibility)
bundle exec appraisal installbundle exec appraisal jekyll build
_config.yml— main site config; references the theme viaremote_themeand configuresplugins._posts/— blog posts (YYYY-MM-DD-title.md).- Root content pages —
index.html,people.md,research.*,tags.html,404.html,feed.xml. _data/ui-text.yml— site copy.assets/— static assets; store images inassets/img/._students/— collection of student pages (one Markdown file per student).- No local
_layouts/or_includes/— the theme provides templates. Only add files there if you need to override specific templates.
- Navigation (
navbar-links), social links, colors, analytics, and comments are configured in_config.yml. - Prefer absolute asset paths like
/assets/img/.... - Update any image references in page front‑matter to match actual filenames in
assets/img/.
-
Add a new student by creating a Markdown file in
_students/, e.g._students/jane-doe.md:--- title: Jane Doe role: PhD Student email: [email protected] website: https://janedoe.example.com # Optional image stored at /assets/img/students/jane-doe.jpg # photo: /assets/img/students/jane-doe.jpg --- Short bio or description.
-
Each student page is generated at
/people/<filename>/and the homepage and People page automatically list all current students and alumni with links to their pages. -
Student cards fall back to
/assets/img/avatar-icon.pngif nophotois provided.
-
To show someone under Alumni, add
alumni: truein their front matter:--- title: John Smith role: PhD, 2024 alumni: true ---
-
Current students should either omit
alumnior set it tofalse.
- GitHub Actions builds the site via
.github/workflows/ci.yml. - CI installs dependencies, sets a preview
baseurl, and builds with Appraisal against Jekyll 3 and 4.
- If
jekyll servefails on Ruby 3+, ensurewebrickis installed (included in the Gemfile). - Port already in use? Run with
--port 4001or stop the existing server.