1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 21:00:10 +01:00

130 Commits

Author SHA1 Message Date
Waldir Pimenta
ba91c766d6 rename category --> family (fix #288) 2015-09-09 00:04:34 +01:00
Ben Balter
915c08b821 move meta and fields to yaml 2015-08-22 15:25:16 -04:00
Ben Balter
7601d76816 smart license list filtering 2015-08-19 16:25:47 -04:00
Ben Balter
ecda3577b3 Merge pull request #227 from shinnn/gh-pages
Change variable names of Google Analytics tracking code
2015-04-27 17:54:36 -04:00
Ben Balter
1058d71b2e use sass 2015-03-08 10:32:19 -04:00
Ben Balter
0ca328b53a add nicknames for license list 2015-03-07 14:11:34 -05:00
shinnn
9133e8d468 Change variable names of Google Analytics code
`i` `s` `o` `g` `r` `a` `m` -> `L` `I` `C` `e` `N` `C` `E`

It is generated by isogram.
https://github.com/shinnn/isogram
2015-01-15 01:56:23 +09:00
Ben Balter
580082f408 fix tooltips 2014-09-05 11:26:54 -04:00
Ben Balter
22cc77f12b first pass at jekyll2ification 2014-07-31 12:36:56 -04:00
shinnn
8dc995b3b0 Update URL of TLDRLegal 2014-02-16 12:52:16 +09:00
Ben Balter
4b1e2b8c2b move bower to assets/vendor so we can version the swf 2014-01-31 20:11:03 -05:00
Ben Balter
df100c9348 bower *all* the things 2014-01-31 14:25:45 -05:00
XhmikosR
0b3e63d82c Update normalize.css to v3.0.0. 2014-01-28 20:24:07 +02:00
XhmikosR
13a55ffc4a Update ZeroClipboard to v1.3.1. 2014-01-28 20:23:14 +02:00
Phil Haack
fae11df56c Remove google verification header
I don't think we need this now that we've verified the site.
2014-01-27 09:20:20 -08:00
Phil Haack
f632357a8e Add meta tag for google webmaster tools 2014-01-26 21:26:48 -08:00
XhmikosR
07491fb984 Improve fix from 098369b33f694becf53fcdd9535c631e3f18a062.
Remove extra newlines which aren't needed.
2014-01-23 22:27:24 +02:00
Phil Haack
d799d37492 Merge pull request #180 from XhmikosR/selectivizr
Selectivizr
2014-01-23 10:37:48 -08:00
XhmikosR
601c8fdf45 Revert "Remove selectivizr-min.js."
This reverts commit b6728c75021002615502516a1df97fd1a3552d63.
2014-01-23 11:08:47 +02:00
XhmikosR
5e3ffdfa9e Update ZeroClipboard to v1.3.0. 2014-01-23 10:11:21 +02:00
Aidan Feldman
b1275252c5 add page around licensing content 2014-01-12 23:05:58 -05:00
Anatol Broder
098369b33f Make sure titles are in smarty pants 2014-01-03 19:34:51 +01:00
Michał Jastrzębowski
4654244cd8 first responsive version 2013-12-20 00:27:35 +01: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
b6728c7502 Remove selectivizr-min.js.
It's not needed anymore as things work pretty good with old browsers.
2013-12-16 18:45:28 +02:00
XhmikosR
b7bc7b17df Use qTip from the first mirror instead of the cloudflare distribution. 2013-12-16 18:45:28 +02:00
XhmikosR
c5920533f5 Update application.css.
* clean up unused class and inherited properties
* move `.button` along with the rest of the selectors from that page
* remove `-moz-inline-stack` which was needed for old FF
2013-12-16 18:45:28 +02:00
XhmikosR
22eae2af38 Use a CSS sprite for the license images.
-3 HTTP requests.
2013-12-16 10:13:32 +02:00
Phil Haack
84f6e89264 Merge pull request #157 from XhmikosR/html5shiv
Remove modernizr.js and use html5shiv.js directly.
2013-12-15 18:12:41 -08:00
XhmikosR
af57b063c0 _includes/license-overview.html: Fix validation errors.
Include the `id` only if `variation.tab-slug` is set.
2013-12-15 14:23:34 +02:00
XhmikosR
9d1663d6db Remove modernizr.js and use html5shiv.js directly. 2013-12-15 09:06:58 +02:00
XhmikosR
db22e94170 Use double quotes. 2013-12-14 21:45:03 +02:00
XhmikosR
ad54d65493 Refactor header.html's properties. 2013-12-14 21:45:02 +02:00
XhmikosR
2732cf40c0 Rename folders to the shorter and more standard "img" and "js". 2013-12-14 12:44:29 +02:00
XhmikosR
3989f02359 Combine javascript files.
Now the main page doesn't include any JS since it doesn't use them. This results in -4 http requests and a lot of bytes saved.
2013-12-13 18:39:49 +02:00
XhmikosR
dc4309bd02 Rename clearfix class. 2013-12-10 09:04:20 +02:00
XhmikosR
593ec5edb6 Get rid of the unicode symbol from selector's name and use class instead of id. 2013-12-10 09:04:19 +02:00
XhmikosR
0266eb712f normalize.min.css: Put back the license header.
It was accidentally removed.
2013-12-09 20:23:45 +02:00
XhmikosR
d9adaf49bd Add normalize.css v2.1.3 minified with clean-css. 2013-12-09 19:46:40 +02:00
XhmikosR
6087197be5 Include jquery.qtip.min.css in application.css.
This results in -1 http request.
2013-12-09 10:18:07 +02:00
XhmikosR
ed82abd725 _includes/header.html: include the page class in body only if it exists. 2013-12-08 18:18:36 +02:00
XhmikosR
322a1b0c74 _includes/sidebar.html: fix indentation. 2013-12-08 18:18:36 +02:00
Aidan Feldman
c75fee1469 fix for license variations 2013-11-29 21:05:49 -05:00
Aidan Feldman
8ff2565f0b sort rules by label 2013-11-29 20:57:35 -05:00
Haacked
21347f4538 Give tabs ids 2013-11-19 09:30:11 -08:00
Haacked
6f36d6bfcb Hide pill nav for a single license 2013-11-18 17:00:15 -08:00
Haacked
4ce71929ad Merged master 2013-11-18 15:06:19 -08:00
Haacked
94389c5873 Implement license family tabs 2013-11-18 14:48:32 -08:00
Jason Long
f28894d905 made partial for license overview sections 2013-11-06 11:24:34 -05:00
XhmikosR
c1c291b379 Use double quotes consistently. 2013-10-30 20:39:55 +02:00
XhmikosR
e805e5365f Fix validation error. 2013-10-30 20:39:55 +02:00
XhmikosR
19a96450c0 HTML5 cleanup.
* remove type for css and js since they're the defaults
* remove chrome=1 from X-UA-Compatible since it's become obsolete
* use the protocol relative URL for the google font
2013-10-30 20:39:55 +02:00
XhmikosR
46f4a5901a Update ZeroClipboard to v1.2.1. 2013-10-30 20:34:52 +02:00
XhmikosR
81f3bc1eb7 Update jquery.qtip to v2.1.1.
Also use the minified css.
2013-10-30 20:34:52 +02:00
XhmikosR
eccbe2438b Update jquery to v1.10.2. 2013-10-30 20:34:52 +02:00
XhmikosR
d1ae44f146 Remove trailing spaces. 2013-10-30 20:34:52 +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
enyst
a0e3974eb3 Added "legal" qualifier to clarify a legal professional is advisable. 2013-08-19 23:55:46 +03:00
enyst
daa1ada6bc Rephrase advice to consult a legal professional. Fixes #57 2013-08-18 22:47:53 +03: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
dpen2000
5c9c18e7c3 Strip html from description when displaying in meta tag 2013-07-15 20:50:09 +01:00
Ben Balter
5411a48f8f add google analytics tracking code to footer 2013-07-15 12:40:40 -04:00
Ben Balter
565d35107e Merge pull request #98 from github/tos
Custom Terms of Service
2013-07-15 06:35:13 -07:00
Haacked
c1cdc47d6b Add the Inc to be consistent with other sites 2013-07-13 19:58:17 -07:00
Ben Balter
f44856b904 add rendered with <3 to footer 2013-07-13 19:07:43 -04:00
Ben Balter
9721cb5f8e dat seo 2013-07-13 16:40:43 -04:00
Phil Haack
906b750e23 Merge pull request #96 from github/js-tweaks
Javascript Improvements
2013-07-13 13:28:46 -07:00
Ben Balter
5f20373fd9 placeholder ToS file 2013-07-13 15:48:28 -04:00
Ben Balter
25569a5ec1 move breadcrumbs to include 2013-07-13 15:46:13 -04:00
Ben Balter
12f4407bdc Even dryer templates
* consolidate breadcrumb logic
* move h1 to header.html
* remove #home div from index.html
2013-07-13 15:42:46 -04:00
Ben Balter
58c7a4ee1d javascript tweaks 2013-07-13 15:18:57 -04:00
Ben Balter
f645597b56 hide_breadrumbs support 2013-07-13 10:44:09 -04:00
Ben Balter
20fd8b4fb2 move header and footer to includes 2013-07-13 10:38:53 -04: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