Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh Start Branch #11

Merged
merged 3 commits into from
Feb 1, 2025
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.djangocon.us
2025.djangocon.us
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ is under a Creative Commons Zero license.
This Code of Conduct also incorporates portions from PyCon's Code of Conduct, which is licensed under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](https://creativecommons.org/licenses/by-sa/3.0/).

Conference Code of Conduct by
[2024.djangocon.us/conduct/](https://2024.djangocon.us/conduct/) is licensed under a
[2025.djangocon.us/conduct/](https://2025.djangocon.us/conduct/) is licensed under a
[Creative Commons Attribution 3.0 Unported
License](http://creativecommons.org/licenses/by/3.0/).
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ The conference can be in 3 separate phases, controlled under `site.json`:

This impacts the rendering of the homepage and display of content in various locations.

NOTE: Various pages are still compiled when in `landing` mode, but are not linked to from the homepage.

Reference:

* `src/index.html`
Expand All @@ -47,6 +49,8 @@ Dates are formatted with [date-fns](https://date-fns.org/), due to some wonkines
1. Presenter images are created at `/presenters/{{ slug }}/`
2. Session images are created at `/{{ talks,tutorials }}/{{ slug }}/social/`

The graphics that are used to build these are stored in `src/assets/img/theme/social-cards`. They are built with `default-social.html`.

## Considerations when updating content

1. When adding images, if they are below the "fold", consider adding a `loading="lazy"` attribute to the image tag.
Expand All @@ -63,3 +67,12 @@ When using code samples, be sure to use `{% capture code %}` to capture sample a
```liquid
{% include "code-snippet.html", code:code, lang:'html' %}
```

## Setup a new year

1. Copy `durham.djangocon.us` to a new repo.
2. Check `src/_data/site.json` for the current year and any starting information and update as necessary.
3. Update CNAME with the correct domain (usually `YYYY.djangocon.us`).
4. Update `CODE_OF_CONDUCT.md` with the correct year.
5. Update content within `src/_includes/home/landing-conf-home.html` to reflect hotel information, year, etc.
6. Deploy the site to the new domain via GH pages.
16 changes: 13 additions & 3 deletions THEME.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Theme Customization

`THEME-X` is an identifier that has been used to denote where a customization has been made.
`THEME-X` is an identifier that has been used to denote where (some) customization has been made.

## Making changes

1. Modify key variables in `:root` in `main.css`.
2. Look for `THEME-X` comments throughout the codebase and make appropriat changes.
Keep an eye on the following:

* Modify key variables in `:root` in `main.css`.
* Look for `THEME-X` comments throughout the codebase and make appropriat changes.
* Be sure to check all graphics, including those within the `theme` folder under `src/assets/`.
* Check favicons in `assets/favicons`.
* Various OpenGraph and social sharing graphics are stored in `assets/img/social`.
* Check fonts used in `default-social.html` and `default.html`.
* Update fonts and colors in `tailwind.config.js`.

NOTE: Remove unused assets! Delete legacy photos, icons, and more.

Coming from a previous year? Some buttons and graphics may be lingering.

## Design guidelines

Expand Down
3 changes: 3 additions & 0 deletions lib/sessions.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ module.exports = function(config) {
// Get all sessions, including those manually created in the manual.yaml file.
// Combine them together into a single listing for processing.
let sessions = collectionApi.getFilteredByGlob("src/_content/schedule/{tutorials,talks,sprints}/*.md");

if (sessions.length === 0) { return []; }

const manualContent = fs.readFileSync('src/_content/schedule/manual.yaml', 'utf8');
const manualData = yaml.parse(manualContent);
sessions = sessions.concat(manualData);
Expand Down
Binary file removed src/_content/organizers/Doreen.jpeg
Binary file not shown.
Binary file removed src/_content/organizers/Kudzayi.jpg
Binary file not shown.
Binary file removed src/_content/organizers/abigail-afi-gbadago.jpeg
Binary file not shown.
8 changes: 0 additions & 8 deletions src/_content/organizers/abigail-afi-gbadago.md

This file was deleted.

Binary file removed src/_content/organizers/adam-fast.jpg
Binary file not shown.
9 changes: 0 additions & 9 deletions src/_content/organizers/adam-fast.md

This file was deleted.

Binary file removed src/_content/organizers/aditya-dhoot.jpg
Binary file not shown.
11 changes: 0 additions & 11 deletions src/_content/organizers/aditya-dhoot.md

This file was deleted.

Binary file removed src/_content/organizers/adrienne-franke.jpg
Binary file not shown.
11 changes: 0 additions & 11 deletions src/_content/organizers/adrienne-franke.md

This file was deleted.

10 changes: 0 additions & 10 deletions src/_content/organizers/andrew-mshar.md

This file was deleted.

Binary file removed src/_content/organizers/andrew-mshar.png
Binary file not shown.
Binary file removed src/_content/organizers/ariane-djeupang.jpg
Binary file not shown.
9 changes: 0 additions & 9 deletions src/_content/organizers/ariane-djeupang.md

This file was deleted.

Binary file removed src/_content/organizers/benedict-kofi-amofah.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions src/_content/organizers/benedict-kofi-amofah.md

This file was deleted.

Binary file removed src/_content/organizers/carol-ganz.jpg
Binary file not shown.
9 changes: 0 additions & 9 deletions src/_content/organizers/carol-ganz.md

This file was deleted.

9 changes: 0 additions & 9 deletions src/_content/organizers/catherine-holmes.md

This file was deleted.

Binary file removed src/_content/organizers/catherine-holmes.png
Binary file not shown.
Binary file removed src/_content/organizers/david-fischer.jpg
Binary file not shown.
8 changes: 0 additions & 8 deletions src/_content/organizers/david-fischer.md

This file was deleted.

Binary file removed src/_content/organizers/dawn-wages.jpg
Binary file not shown.
11 changes: 0 additions & 11 deletions src/_content/organizers/dawn-wages.md

This file was deleted.

9 changes: 0 additions & 9 deletions src/_content/organizers/doreen-peace-nangira-wanyama.md

This file was deleted.

Binary file removed src/_content/organizers/drew-winstel.jpg
Binary file not shown.
11 changes: 0 additions & 11 deletions src/_content/organizers/drew-winstel.md

This file was deleted.

Binary file removed src/_content/organizers/emmanuel-asuah-danful.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions src/_content/organizers/emmanuel-asuah-danful.md

This file was deleted.

10 changes: 0 additions & 10 deletions src/_content/organizers/emmanuel-owusu.md

This file was deleted.

Binary file removed src/_content/organizers/emmanuel-owusu.png
Binary file not shown.
Binary file removed src/_content/organizers/erin-mullaney.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions src/_content/organizers/erin-mullaney.md

This file was deleted.

Binary file removed src/_content/organizers/ezra-yendau.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions src/_content/organizers/ezra-yendau.md

This file was deleted.

10 changes: 0 additions & 10 deletions src/_content/organizers/hama-barhamou.md

This file was deleted.

Binary file removed src/_content/organizers/hama-barhamou.png
Binary file not shown.
9 changes: 0 additions & 9 deletions src/_content/organizers/hope-adoli.md

This file was deleted.

Binary file removed src/_content/organizers/hope-adoli.png
Binary file not shown.
Binary file removed src/_content/organizers/jason-judkins.jpg
Binary file not shown.
9 changes: 0 additions & 9 deletions src/_content/organizers/jason-judkins.md

This file was deleted.

Binary file removed src/_content/organizers/jeff-triplett.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions src/_content/organizers/jeff-triplett.md

This file was deleted.

Binary file removed src/_content/organizers/jennifer-myers.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions src/_content/organizers/jennifer-myers.md

This file was deleted.

Binary file removed src/_content/organizers/jorge-gimeno.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions src/_content/organizers/jorge-gimeno.md

This file was deleted.

Binary file removed src/_content/organizers/julius-boakye.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions src/_content/organizers/julius-boakye.md

This file was deleted.

Binary file removed src/_content/organizers/kati-michel.jpg
Diff not rendered.
10 changes: 0 additions & 10 deletions src/_content/organizers/kati-michel.md

This file was deleted.

Binary file removed src/_content/organizers/katialira.jpg
Diff not rendered.
Binary file removed src/_content/organizers/keanya-phelps.jpg
Diff not rendered.
5 changes: 0 additions & 5 deletions src/_content/organizers/keanya-phelps.md

This file was deleted.

Binary file removed src/_content/organizers/kojo-idrissa.jpg
Diff not rendered.
11 changes: 0 additions & 11 deletions src/_content/organizers/kojo-idrissa.md

This file was deleted.

9 changes: 0 additions & 9 deletions src/_content/organizers/kudzayi-bamhare.md

This file was deleted.

10 changes: 0 additions & 10 deletions src/_content/organizers/lidya-k-tilahun.md

This file was deleted.

Binary file removed src/_content/organizers/lidya.jpg
Diff not rendered.
11 changes: 0 additions & 11 deletions src/_content/organizers/michael-clark.md

This file was deleted.

Binary file removed src/_content/organizers/michael-clark.png
Diff not rendered.
Binary file removed src/_content/organizers/monica-oyugi.jpeg
Diff not rendered.
Loading