Waldir Pimenta
b2eed043eb
make sidebar template match the new format of the 'using' list
2015-11-02 16:36:55 +00:00
Alexis Tyler
bf4f854060
Replaced zeroclipboard with clipboard.js
2015-10-25 15:17:13 +10:30
Ben Balter
22cc77f12b
first pass at jekyll2ification
2014-07-31 12:36:56 -04:00
Aidan Feldman
49e50f6390
Don't ignore all '#' URLs when running HTML::Proofer
...
Explicitly ignore the clipboard button from proofing, which was why the
:href_ignore was there in the first place. Per
https://github.com/github/choosealicense.com/pull/104/files#r7311111 .
2013-12-18 03:28:01 -05:00
XhmikosR
22eae2af38
Use a CSS sprite for the license images.
...
-3 HTTP requests.
2013-12-16 10:13:32 +02:00
XhmikosR
db22e94170
Use double quotes.
2013-12-14 21:45:03 +02:00
XhmikosR
322a1b0c74
_includes/sidebar.html: fix indentation.
2013-12-08 18:18:36 +02:00
Aidan Feldman
8ff2565f0b
sort rules by label
2013-11-29 20:57:35 -05:00
XhmikosR
c1c291b379
Use double quotes consistently.
2013-10-30 20:39:55 +02:00
Aidan Feldman
1b5debd6bf
fix 'using' display in sidebar
2013-10-22 23:58:31 -07:00
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