Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.38 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.38 KB

Chatbot Arena Blog

For careful documentation of this template, see here.

Dev workflow

Install ruby and bundle:

conda install -c conda-forge ruby compilers make imagemagick
gem install bundler

Run bundle install and bundle exec jekyll serve to start a local server. To build for production, run bundle exec jekyll build and copy _site to the server.

If you also want to remove unused css classes from your file, run:

$ purgecss -c purgecss.config.js

which will replace the css files in the _site/assets/css/ folder with the purged css files.

Note: Make sure to correctly set the url and baseurl fields in _config.yml before building the webpage. If you are deploying your webpage to your-domain.com/your-project/, you must set url: your-domain.com and baseurl: /your-project/. If you are deploying directly to your-domain.com, leave baseurl blank, do not delete it.

Blog post formatting

We will write blog posts in the distill format. See this example for an example, and this template for code.

This template was taken from AI-Folio.

Commands

Format the code

npx prettier . --write