1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-28 23:51:44 +01:00

58 Commits

Author SHA1 Message Date
Andreas Renberg (IQAndreas)
800d8bbdb8 Only include link to source if one has been provided
Not all licenses have provided a `source` property, so this check just
prevent an empty `href` in such cases.
2013-10-23 07:37:32 +02:00
Jason Long
85755edd74 put license text in lighter container for better contrast 2013-09-25 08:58:07 -04:00
Ben Lavender
1cdd11eb01 Whitespace rules everything around me. 2013-07-18 11:08:24 -05:00
Ben Lavender
b080b5e2fe Don't replace on how fields; no longer needed 2013-07-17 17:30:55 -05:00
Jeff King
62066749b5 sidebar: convert <</>> into brackets in page.how
We already do this in the license bodies, and we need to
match here (currently we just print junk like `replace <>
with ...` because we end up with garbled HTML.

This replacement should arguably be factored out, as it
would want to be the same everywhere (and we might want to
make it bold everywhere or something).
2013-06-15 04:13:13 -04:00
Benjamin J. Balter
892de8ba4f Open "Who's using" links in new tab.
Otherwise, people browsing licenses are forced to leave the site.
2013-05-21 15:17:09 -07:00
Benjamin J. Balter
fdc6142aeb Fix for "Who's Using" links
Liquid was not properly iterating through the using_hash.
Needed to add a second for loop.

See: http://stackoverflow.com/questions/8206869/iterate-over-hashes-in-liquid-templates
2013-05-21 15:17:08 -07:00
Benjamin J. Balter
caa47fb00c First pass at Jekylification
* Move licenses to license template
* Move home / about to page template
* Move annotations to config file, included via annotations.js
* Move license metadata to YML Front matter
* Automate the presentation of license metadata
* Move sidebar to include
* Add _site to gitignore
2013-05-21 15:17:07 -07:00