This is the source for http://learningwitherrors.org/. This blog uses Jekyll, a static generator, and is served by Github pages.
First, install Ruby, then install bundler:
gem install bundler
Then, in this repo's directory (containing Gemfile), install Jekyll/etc by:
bundle install
To start a local webserver for the blog, use:
bundle exec jekyll serve
The contents of the _posts/ directory are served as posts. Modifying the HTML/Markdown in these files will immediately be reflected on the website.
-
If using LaTeX, compile to HTML using LaTeX3HTML with --bodyonly option.
-
Put the generated html in a new file under <./_posts>, with filename YYYY-MM-DD-name-of-post.html
-
Add a header block like this:
---
layout: post
title: "Title of Post"
authorid: preetum
--- -
Add the line "" roughly after the "abstract" of your post (the remainder will be hidden on the main blog page, with a link to full post).
For example, see this post: https://github.com/lwe-blog/lwe-blog.github.io/blob/master/_posts/2016-6-3-small-bias.html
Authors are referenced by authorid.
-
Add a section to ./_data/authors.yml , where the key is authorid. Add the 'name' as you want your name to be displayed, and 'gravatar' as your Gravatar hash.
-
Add a new file under ./authors/, containing whatever you want to be displayed on your author page (eg, a blurb/bio). For example, https://raw.githubusercontent.com/lwe-blog/lwe-blog.github.io/master/authors/tselil.md
This blog was forked from https://github.com/willkoehler/my_blog.