This is the source code for my blog. It's a static website powered by Jekyll with site analytics done via plausible.io (private, cookie-free and open source).
The site pins its Ruby version in .ruby-version, so on a new
machine it's easiest to match it with rbenv
instead of your system Ruby:
# macOS with Homebrew (on Linux, install rbenv via your package manager)
brew install rbenv ruby-build
echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc && exec zshThen clone the repo and let rbenv grab the pinned Ruby, along with bundler:
git clone https://github.com/ljvmiranda921/ljvmiranda921.github.io.git
cd ljvmiranda921.github.io/
rbenv install # reads .ruby-version
gem install bundlerFinally, build the dependencies and call jekyll serve:
bundle install
bundle exec jekyll serve --livereloadThe page, by default, should be running at localhost:4000
The site uses jekyll-scholar with
the Association for Computational Linguistics citation style.
References are stored as BibTeX files under _bibliography, and rendered from
each post via:
{% bibliography --file notebook/<post-slug>.bib %}If you found some errors in spelling/grammar, mistakes in content and the like, then feel free to fork this repository and make a Pull Request!
