Published site Code of conduct
- index page
- Blog pages
- Blogs can be in draft (only visible in a dev environment) by adding
"draft": true
to the blog's.md
file
- list of authors
- Add a new author by adding a new record to the
all
list 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
main
branch, 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
content
folder and change thesrc/Main.elm
file. - The entrypoint file is
index.js
. That file importssrc/Main.elm
. - The
content
folder is turned into static pages. - The rest is mostly determined by logic in the Elm code.