1
0
Fork
You've already forked Website
0
forked from UB-DBPL/Website
No description
  • JavaScript 98.1%
  • HTML 1.1%
  • SCSS 0.8%
2026年05月05日 10:38:35 -04:00
content may12 addition and may5 cancellation 2026年05月05日 10:38:35 -04:00
sass Retreat sponsors 2025年06月13日 17:41:18 -04:00
scripts configurable proxy host, etc... 2025年08月25日 09:05:00 -04:00
static/assets Retreat sponsors 2025年06月13日 17:41:18 -04:00
templates fixing links to old seminars 2026年02月13日 14:34:06 -05:00
themes Updating theme and adding some stuffs 2025年03月18日 11:10:51 -04:00
.gitignore More work on the people list. 2025年03月18日 18:15:39 -04:00
config.toml Resources page 2026年04月13日 22:07:19 -04:00
README.md Trying to poke the templating gods to give me opengraph data, but not today... 2025年03月18日 14:51:05 -04:00

The DBPL Website

Hi. If you're here, you're probably a DBPL student or faculty member looking to update the DBPL website. Congratulations, you're in the right place!

You'll need the Zola static site generator. If you don't have that go ahead and install it. See docs.

Making Changes

  1. Run zola serve or zola build to make sure the project compiles and looks reasonable.
  2. File a merge request against the project.
  3. Find someone with access to merge the file in and upload.

If you are part of the DBPL admin group, you can upload by running: bash scripts/publish.sh.

Directory Organization

Landing Page

Source: /content/_index.md
Rendered: /index.html

This is the main landing page. It takes its title from /config.toml, but is otherwise rendered directly.

People Page

Source: /content/people.md
Rendered: /people/index.html

A list of people affiliated with DBPL lives here. Standard templating:

  • Link to your homepage using markdown link syntax
  • Link to your mastodon page by following your name with {{ mastodon(server=YOUR_SERVER, account=YOUR_USERNAME) }}
  • Link to your linkedin page by following your name with {{ linkedin(account=YOUR_LINKEDIN_ID) }}

Templates for the social links can be found in /templates/shortcodes

News

Source: /content/blog/*.md
Rendered: /blog/*.html

Files should be named by posting date: YYYY-MM-DD-Post_Title.md. Each file should have a header containing:

+++
title = "YOUR TITLE HERE"
date = "YYYY-MM-DD"
+++

Source: /content/projects/*.md
Rendered: /projects/*.html

Projects don't need to have their own page, but they need a template file to provide information. Create a file /content/projects/[your_thing].md and add the following template:

+++
title = "YOUR TITLE HERE"
weight = 3
description = "SHORT BLURB FOR INDEX"
extra.link_to = "https://optional.url.for.direct.linkes"
+++

Featured projects should start with a weight of 3. You should either include a link in the header OR provide a project page in the body of the file.

Theme-ing

At time of writing, the site uses the 'Apollo' theme. You can find its code in themes/apollo. You can find most of the theme's contents in themes/apollo/templates. In general, avoid modifying the theme directly. Instead, find a way to override the theme from within the outer directory. Examples include: