A Collection of public facing Overviews, Guidelines, Strategies, Standards, Technologies, and other shareable resources at VDH / AHS / ADS
Install Node.js & NPM
Run npm install
in the project directory to install local dependencies
Install eleventy globally
npm i @11ty/eleventy -g
npm i rimraf -g
npm i cross-env -g
Run npm run serve
to run a local dev environment
Access dev copy of the site at localhost:8080
npm run build # builds site for production
npm run serve # builds site + serves `_site` directory
npm run clean # deletes `_site` directory
npm run clear-cache # deletes twitter cache
npm run favicon # generates favicon assets from svg
docs
├── _site/ # generated site output
├── .vscode/ # vs code editor configs
├── .github/ # github configs
├── .netlify/ # netlify dev settings
├── node_modules/ # created by npm install
├── admin/ # pages for Netlify CMS
├── assets # templates and static pass through assets
│ ├── _partials/ # reusable view components
│ ├── images/ # template directory for 11ty
│ │ ├── authors/ # author profile pictures
│ │ ├── icons/ # site wide icons
│ │ ├── posts/ # subfolders for images in each post
│ │ └── uploads/ # generated images for netlify CMS
│ ├── posts/ # subfolders for assets in each post
│ ├── scripts/ # scripts
│ └── styles # styles
├── data/ # global data
├── layout/ # layout pages
├── pages/ # durable content structure
├── posts/ # time dated content posts
├── plugins/ # utilities used at runtime
├── tools/ # utilities used at dev time
├── tweets/ # cached tweet data
├── .eleventy.js # config information for 11ty
├── .eleventyignore # files won't be watched for re-serving site
├── .env # twitter credentials
├── .gitignore # ignored files in git
├── netlify.toml # deploy settings for netlify
├── package.json # lists npm modules, package, and scripts
├── resources.md # helpful links
└── readme.md # 🟊 [You Are Here]
Collections provide a way to enumerate processed content. Collection categories are set by the tags
page or added via the .eleventy.js
config
<tag_names>
eleventyExcludeFromCollections
- will still be processed, but won't appear in collections