blog
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 70 commits ahead, 6 commits behind willkoehler:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_data
_includes
_layouts
_plugins
_posts
_sass
authors
css
files
images
sources
.gitignore
404.html
CNAME
Gemfile
Gemfile.lock
LICENSE
README.md
_config.yml
about.md
atom.xml
authors.html
contributing.md
index.html
robots.txt

README.md

This is the source for http://learningwitherrors.org/. This blog uses Jekyll, a static generator, and is served by Github pages.

Dependencies

First, install Ruby, then install bundler:

gem install bundler

Then, in this repo's directory (containing Gemfile), install Jekyll/etc by:

bundle install

Running Locally

To start a local webserver for the blog, use:

bundle exec jekyll serve

Adding a new post

The contents of the _posts/ directory are served as posts. Modifying the HTML/Markdown in these files will immediately be reflected on the website.

  1. If using LaTeX, compile to HTML using LaTeX3HTML with --bodyonly option.

  2. Put the generated html in a new file under <./_posts>, with filename YYYY-MM-DD-name-of-post.html

  3. Add a header block like this:

    ---
    layout: post
    title: "Title of Post"
    authorid: preetum
    ---

  4. 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

Adding a new author

Authors are referenced by authorid.

Thanks

This blog was forked from https://github.com/willkoehler/my_blog.