Published site Code of conduct
- index page
- Blog pages
- Blogs can be in draft (only visible in a dev environment) by adding
"draft": trueto the blog's.mdfile
- list of authors
- Add a new author by adding a new record to the
alllist like this:
all =
[ { name = "Author Name"
, avatar = Pages.images.author.jpegname
, bio = "Brief biographical info"
}
, { name = "Another Author"
, avatar = Pages.images.author.anotherjpegname
, bio = "Some biographical info"
}
]We're using Travis.
- On every push to the repo, Travis will build and run tests
- On every push or merge to
mainbranch, Travis will deploy togh-pages
Encrypted vars can be added to .travis.yml using the travis cli tools as described in the travis docs.
Currently configured with GITHUB_TOKEN value.
- Install:
npm install - Run dev server:
npm start(useselm-pages develop)
- You can tweak the
contentfolder and change thesrc/Main.elmfile. - The entrypoint file is
index.js. That file importssrc/Main.elm. - The
contentfolder is turned into static pages. - The rest is mostly determined by logic in the Elm code.