New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structure + Kramdown + Images #14

Merged
merged 9 commits into from Jul 19, 2013

Conversation

Projects
None yet
2 participants
@opattison
Collaborator

opattison commented Jul 18, 2013

Big changes (structural, and preparing styles and designs for images). Any thoughts @jeancflanagan?

New:

  • yyyy/title-of-post scheme (good for creating /yyyy archive indexes at some point)
  • kramdown instead of maruku (hopefully an improvement)
  • CSS fixes
  • figures/figcaptions for images, styled
  • component-based build so that items are more interchangable as variables
  • atom/rss enabled, provisionally

opattison added some commits Jul 17, 2013

maruku-to-kramdown required footnote changes
same .footnotes div, but not the same return link style. The return
link style may work better than the maruku code.
initial styles for figure/caption images
Using the image_tag plugin to generate figures.
testing standard html figure/figcaptions
I tested out various ruby plugins to generate figure/figcaptions for
images (preferred html markup).
initial atom.xml draft
Borrowed heavily from Carl Boettig:
https://github.com/cboettig/labnotebook/blob/master/atom.xml

Still needs to be validated and tested.

@ghost ghost assigned jeancflanagan Jul 18, 2013

@opattison

This comment has been minimized.

Collaborator

opattison commented on _config.yml in e295fd1 Jul 18, 2013

This could be useful!

@opattison

This comment has been minimized.

Collaborator

opattison commented on .gitignore in c056e58 Jul 18, 2013

This isn't committed via git, but will get rsynced to a server separately from git. Reason: GitHub isn't a good place to store or back up images.

@opattison

This comment has been minimized.

Collaborator

opattison commented on Rakefile in c056e58 Jul 18, 2013

This is totally experimental and barely tested. I'm afraid to even run this rake command because I know next to nothing about rake, ruby or rsync. But it will likely be useful soon! Some code here was based heavily on the rake commands from Octopress.

@opattison

This comment has been minimized.

Collaborator

opattison commented on _config.yml in c056e58 Jul 18, 2013

Hopefully the right move. This changes posts from yyyy-mm-dd-title/ to yyyy/title/ (Jekyll default is yyyy/mm/dd/title which I dislike the design of for a few reasons).

@opattison

This comment has been minimized.

Collaborator

opattison commented on _layouts/fundamental.html in c056e58 Jul 18, 2013

This replaces the "all.html" layout and forms the core of all pages on the site (no more, no less, so "fundamental").

@opattison

This comment has been minimized.

Collaborator

opattison commented on c056e58 Jul 18, 2013

Big change. Before this, all layouts used other layouts. Now layouts primarily use includes for modular html content instead. Includes are not a requirement for a Jekyll page, but make content and configuration a bit more modular and flexible without hacking away at a large static html file.

@opattison opattison merged commit 5e5e296 into master Jul 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment