Skip to content

Commit

Permalink
Pull in organizers
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrythall committed Mar 15, 2024
1 parent 6cea26e commit 7702a77
Show file tree
Hide file tree
Showing 131 changed files with 2,457 additions and 399 deletions.
33 changes: 33 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{py,rst,ini}]
indent_size = 4
indent_style = space

[*.py]
line_length = 120
multi_line_output = 3

[*.{css,html,js,json,liquid,yml,yaml}]
indent_size = 2
indent_style = space

[*.md]
indent_size = 4
indent_style = space
trim_trailing_whitespace = false

[justfile]
indent_size = 4
indent_style = space

[{Makefile,modd.conf}]
indent_style = tab
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This project requires Node v20 or greater.
This project uses Liquid for templating. As such, you may wish to install syntax highlighting for Liquid in your text editor.

* VS Code: [Liquid Language Support](https://marketplace.visualstudio.com/items?itemName=neilding.language-liquid)
* [Liquid documentation](https://shopify.github.io/liquid/)

Build and watch for local changes by running:

Expand Down
26 changes: 11 additions & 15 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,35 @@ module.exports = (config) => {
* https://www.11ty.dev/docs/collections/
*/
config.addCollection("places", function(collectionApi) {
return collectionApi.getFilteredByGlob("_data/places/*.md");
return collectionApi.getFilteredByGlob("src/content/places/*.md");
});

config.addCollection("organizers", function(collectionApi) {
return collectionApi.getFilteredByGlob("_data/organizers/*.md");
config.addCollection("presenters", function(collectionApi) {
return collectionApi.getFilteredByGlob("src/content/presenters/*.md");
});

config.addCollection("sponsors", function(collectionApi) {
return collectionApi.getFilteredByGlob("_data/sponsors/*.md");
config.addCollection("organizers", function(collectionApi) {
return collectionApi.getFilteredByGlob("src/content/organizers/*.md");
});

config.addCollection("presenters", function(collectionApi) {
return collectionApi.getFilteredByGlob("_data/presenters/*.md");
config.addCollection("sponsors", function(collectionApi) {
// TODO: Return these organized by level
return collectionApi.getFilteredByGlob("src/content/sponsors/*.md");
});

/*
* Setup passthrough file copy
* https://www.11ty.dev/docs/copy/
*/
config.addPassthroughCopy('assets/img/**/*');
config.addPassthroughCopy('src/assets/img/**/*');

/*
* Custom watch targets
* https://www.11ty.dev/docs/watch-serve/#add-your-own-watch-targets
*/
config.addWatchTarget("/assets/js/");
config.addWatchTarget("src/assets/js/");

/*
* Template aliases
*/
config.addLayoutAlias('default', 'default.html');

/*
* Misc config
*/

Expand All @@ -52,4 +48,4 @@ module.exports = (config) => {
htmlTemplateEngine: "liquid",
markdownTemplateEngine: "liquid"
}
};
};
Loading

0 comments on commit 7702a77

Please sign in to comment.