1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-23 05:10:11 +01:00

23 Commits

Author SHA1 Message Date
Mike Linksvayer
850a5c2b06 make lonely h5 a h3 https://github.com/github/choosealicense.com/pull/382#issuecomment-204634348 2016-04-04 10:58:44 -07:00
Leo F
bfd43e2d04 Display description and nickname in sidebar (#355)
Added if for nickname since some of the licenses may not have a nickname.
2016-04-01 19:17:56 -07:00
Mike Linksvayer
b4979b3dd4 remove <p> and </p> added by markdownify 2016-03-10 20:09:35 -08:00
Mike Linksvayer
e0299c5521 markdownify filter on fields for which markdown is OK
as suggested by @benbalter in / fixes #367

also use markdown to make EUPL boilerplate linked
2016-03-10 09:36:33 -08:00
Mike Linksvayer
810eeb5618 rename/order license properties better reflect how licenses work
and are structured

grant (permissions)
conditioned on (conditions)
with limitations

Permissions coming first combats mistaken but apparently widespread
impression that licenses impose conditions, even such that without
a license, there would be no conditions/work would be in the public
domain.

Requirements->Conditions emphasizes that they are pertinent if one
wants to take advantage of permissions.

Forbiddens->Limitations is more accurate: in most cases licenses
don't give permission to hold licensors liable, in some cases to
use licensors' trademarks or patents, but a licensee does not lose
the permissions granted by the license if the licensee holds licensor
liable, etc. Also emphasizes that there are limitatations on the
license grant, not that the license imposes prohibitions.

The most concise place to see both the rename and reorder is in
_includes/license-overview.html

I did not reorder the appearance of the groups of properties in
license source files (.txt files in _licenses) as those orderings
are not used to render anything on the webiste. Might do so later.
2016-03-01 13:33:15 -08:00
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