Skip to content

Commit 93f7109

Browse files
BrianMitchLryanmr
andcommitted
Initial commit for Eleventy
Co-authored-by: Brian Mitchell <bman4789@gmail.com> Co-authored-by: Ryan Rampersad <ryan.rampersad@gmail.com>
1 parent a40f851 commit 93f7109

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+5936
-19715
lines changed

.eleventy.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const siteSettings = require('./src/globals/site.json');
2+
3+
module.exports = function (config) {
4+
config.addPassthroughCopy('./src/css/tailwind.include.css');
5+
config.addPassthroughCopy({ public: './' });
6+
7+
return {
8+
pathPrefix: siteSettings.baseUrl,
9+
dir: {
10+
input: 'src',
11+
output: 'dist',
12+
includes: 'includes',
13+
layouts: 'includes/layouts',
14+
data: 'globals',
15+
},
16+
htmlTemplateEngine: 'njk',
17+
};
18+
};

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Project dependencies
22
.cache
33
node_modules
4-
yarn-error.log
54

65
# Build directory
7-
/public
6+
/dist
87
.DS_Store
98

109
# IDE specific
1110
.idea/
1211
.vscode/
12+
13+
*.include.css

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.include.css

.prettierrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
# JavaScriptMN
2-
This site is generated with [Gatsby.js](https://github.com/gatsbyjs/gatsby).
2+
3+
This site is built with Eleventy and Tailwind.
34

45
PRs should be made against the `build` branch. Upon merging, a maintainer will separately run the deploy scripts which commits a build version of the site to the `master` branch.
56

67
## Prerequisites
8+
79
Install dependencies with `npm install`.
810

911
## Develop
10-
Run `npm run develop` and access the dev server at the address it reports.
12+
13+
Run `npm run start` and access the dev server at the address it reports.
1114

1215
## Build
16+
1317
Run `npm build`, and a built version will be written to `/dist`. This will
1418
also update the markdown files that define our code of conduct, speaker
1519
questionnaire, and sponsorship levels from the [admin repository](https://github.com/javascriptmn/javascriptmn)
1620

1721
## Style
22+
1823
This repository is configured to use [prettier](https://prettier.io/) on commit.
1924

2025
It will lint and format your changes automatically, so don't worry about following

gatsby-browser.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

gatsby-config.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

gatsby-node.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

gatsby-ssr.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)