This is the source code for https://ethereumdefensealliance.com, a site for a group of advocates promoting long-term network health.
Table of Contents
- Clone the repo
- Install dependencies:
bundle install
- Ruby may need to be installed first if not already packaged with your OS
- Create a feature branch off of the
main
branch (git checkout -b new-branch-name
) - Start the local server:
bundle exec jekyll serve
- Go to http://localhost:4400/ to view changes
To build the site, use bundle exec jekyll build
.
Resources:
- root - Contains site pages
_data
- Contains data files, such as resources_includes
- This folder is designated by Jekyll for files that can be "included" into other filescomponents
- Contains reusable non-content components, including the html head, nav, and footerpartials
- Contains sections of page-soecific content
_layouts
- Contains layout templates used to build pages_plugins
- Contains custom Jekyll plugins, which have usage instructions at the top of each fileassets
- Contains js, css, images, and files
To find the content you want to edit, first visit the markdown page in the root folder. Some content is directly in this file, like with 404.md
. Other content like the index (homepage) is pulled in from _includes/partials/index/
for ease of maintenance.
Some sections that use data files include members and delegates. That data can be found in _data/
.