Skip to content

wuminsure/website-source

 
 

Repository files navigation

This repository is the source code for my personal website located at ethanrosenthal.com. The static website is generated with Hugo and deployed with netlifly.

Notebooks

Use this branch of my fork of the nb_hugo_exporter repo.

git clone git@github.com:EthanRosenthal/nb_hugo_exporter.git
git checkout fix-images

Install the package locally with pip:

pip install -e .

Convert a jupyter notebook to hugo-compatible markdown, e.g.

python -m nbconvert notebooks/2018-12-07-spacecutter-ordinal-regression.ipynb --to hugo --output-dir content/blog/spacecutter-ordinal-regression

Open up content/blog/spacecutter-ordinal-regression/index.md and edit the metadata at the top. Something like the following works:


date: "2018-12-06" title: "spacecutter: Ordinal Regression Models in PyTorch" slug: "spacecutter-ordinal-regression" hasMath: true notebook: true

hasMath: true is required for katex to work. notebook: true is required for the notebook to be rendered correctly.

Deal with the inevitable katex/latex issues that arise :(

Deployment

Push to master.

About

My personal Hugo-driven static website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.2%
  • Other 0.8%