jekyll-theme-rocket 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6cbe90a5b5f035a731762eeb597a5eb61e89bb3b6fc229a17051921fcd73167
4
- data.tar.gz: dc1600c0544df604341bfa77436a1bf9d0aaa2a637469af3d83079c6957474af
3
+ metadata.gz: 3ee4baa519535235401f96a9bf75e4f349f1938af414d4928581d021dbcd37f8
4
+ data.tar.gz: 9355b61b3cee307bd5edd6c3156b9da5840442658318c28a4fc5c1e9208b03cc
5
5
  SHA512:
6
- metadata.gz: 659f0c01229105630d562687b2c58184272d8e1d333655f6163ecb5afa88f7ce014adcb6e2c339d7902878870e4dad52e19218b106306bf0d0a6e0a600beb1e1
7
- data.tar.gz: 167b0d5dd6796e776731e7ea3a260750289529403828c91a613f521769d995439419e1dc0eba2254e2a5dacd17f2c52f11b0b7ba7efbe93082faa59232ee6f2c
6
+ metadata.gz: 81c5d4b52dfc19d7c628b0bbd491b4d87ea59b9749cdaec7a5458768466cd8260c54d06b790ed4c1156f704aaa0127ca59f6c7a952f444e092e46b6eac78c4cd
7
+ data.tar.gz: e35c40589c47ac0b9fdd9e910e2c1a1c9f9ae34a771d494aa98cc9e69aba6b85a0507c4435455889fb40441e3669865feb6841c10ab576e0f3f470d557f703fc
data/LICENSE ADDED
@@ -0,0 +1,116 @@
1
+ CC0 1.0 Universal
2
+
3
+ Statement of Purpose
4
+
5
+ The laws of most jurisdictions throughout the world automatically confer
6
+ exclusive Copyright and Related Rights (defined below) upon the creator and
7
+ subsequent owner(s) (each and all, an "owner") of an original work of
8
+ authorship and/or a database (each, a "Work").
9
+
10
+ Certain owners wish to permanently relinquish those rights to a Work for the
11
+ purpose of contributing to a commons of creative, cultural and scientific
12
+ works ("Commons") that the public can reliably and without fear of later
13
+ claims of infringement build upon, modify, incorporate in other works, reuse
14
+ and redistribute as freely as possible in any form whatsoever and for any
15
+ purposes, including without limitation commercial purposes. These owners may
16
+ contribute to the Commons to promote the ideal of a free culture and the
17
+ further production of creative, cultural and scientific works, or to gain
18
+ reputation or greater distribution for their Work in part through the use and
19
+ efforts of others.
20
+
21
+ For these and/or other purposes and motivations, and without any expectation
22
+ of additional consideration or compensation, the person associating CC0 with a
23
+ Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24
+ and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25
+ and publicly distribute the Work under its terms, with knowledge of his or her
26
+ Copyright and Related Rights in the Work and the meaning and intended legal
27
+ effect of CC0 on those rights.
28
+
29
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
30
+ protected by copyright and related or neighboring rights ("Copyright and
31
+ Related Rights"). Copyright and Related Rights include, but are not limited
32
+ to, the following:
33
+
34
+ i. the right to reproduce, adapt, distribute, perform, display, communicate,
35
+ and translate a Work;
36
+
37
+ ii. moral rights retained by the original author(s) and/or performer(s);
38
+
39
+ iii. publicity and privacy rights pertaining to a person's image or likeness
40
+ depicted in a Work;
41
+
42
+ iv. rights protecting against unfair competition in regards to a Work,
43
+ subject to the limitations in paragraph 4(a), below;
44
+
45
+ v. rights protecting the extraction, dissemination, use and reuse of data in
46
+ a Work;
47
+
48
+ vi. database rights (such as those arising under Directive 96/9/EC of the
49
+ European Parliament and of the Council of 11 March 1996 on the legal
50
+ protection of databases, and under any national implementation thereof,
51
+ including any amended or successor version of such directive); and
52
+
53
+ vii. other similar, equivalent or corresponding rights throughout the world
54
+ based on applicable law or treaty, and any national implementations thereof.
55
+
56
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of,
57
+ applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58
+ unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59
+ and Related Rights and associated claims and causes of action, whether now
60
+ known or unknown (including existing as well as future claims and causes of
61
+ action), in the Work (i) in all territories worldwide, (ii) for the maximum
62
+ duration provided by applicable law or treaty (including future time
63
+ extensions), (iii) in any current or future medium and for any number of
64
+ copies, and (iv) for any purpose whatsoever, including without limitation
65
+ commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66
+ the Waiver for the benefit of each member of the public at large and to the
67
+ detriment of Affirmer's heirs and successors, fully intending that such Waiver
68
+ shall not be subject to revocation, rescission, cancellation, termination, or
69
+ any other legal or equitable action to disrupt the quiet enjoyment of the Work
70
+ by the public as contemplated by Affirmer's express Statement of Purpose.
71
+
72
+ 3. Public License Fallback. Should any part of the Waiver for any reason be
73
+ judged legally invalid or ineffective under applicable law, then the Waiver
74
+ shall be preserved to the maximum extent permitted taking into account
75
+ Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76
+ is so judged Affirmer hereby grants to each affected person a royalty-free,
77
+ non transferable, non sublicensable, non exclusive, irrevocable and
78
+ unconditional license to exercise Affirmer's Copyright and Related Rights in
79
+ the Work (i) in all territories worldwide, (ii) for the maximum duration
80
+ provided by applicable law or treaty (including future time extensions), (iii)
81
+ in any current or future medium and for any number of copies, and (iv) for any
82
+ purpose whatsoever, including without limitation commercial, advertising or
83
+ promotional purposes (the "License"). The License shall be deemed effective as
84
+ of the date CC0 was applied by Affirmer to the Work. Should any part of the
85
+ License for any reason be judged legally invalid or ineffective under
86
+ applicable law, such partial invalidity or ineffectiveness shall not
87
+ invalidate the remainder of the License, and in such case Affirmer hereby
88
+ affirms that he or she will not (i) exercise any of his or her remaining
89
+ Copyright and Related Rights in the Work or (ii) assert any associated claims
90
+ and causes of action with respect to the Work, in either case contrary to
91
+ Affirmer's express Statement of Purpose.
92
+
93
+ 4. Limitations and Disclaimers.
94
+
95
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
96
+ surrendered, licensed or otherwise affected by this document.
97
+
98
+ b. Affirmer offers the Work as-is and makes no representations or warranties
99
+ of any kind concerning the Work, express, implied, statutory or otherwise,
100
+ including without limitation warranties of title, merchantability, fitness
101
+ for a particular purpose, non infringement, or the absence of latent or
102
+ other defects, accuracy, or the present or absence of errors, whether or not
103
+ discoverable, all to the greatest extent permissible under applicable law.
104
+
105
+ c. Affirmer disclaims responsibility for clearing rights of other persons
106
+ that may apply to the Work or any use thereof, including without limitation
107
+ any person's Copyright and Related Rights in the Work. Further, Affirmer
108
+ disclaims responsibility for obtaining any necessary consents, permissions
109
+ or other rights required for any use of the Work.
110
+
111
+ d. Affirmer understands and acknowledges that Creative Commons is not a
112
+ party to this document and has no duty or obligation with respect to this
113
+ CC0 or use of the Work.
114
+
115
+ For more information, please see
116
+ <http://creativecommons.org/publicdomain/zero/1.0/>
data/README.md ADDED
@@ -0,0 +1,87 @@
1
+ # The Rocket theme
2
+
3
+
4
+ *Rocket is a Jekyll theme for GitHub Pages inspired by [rocket.rs](https://rocket.rs) style.*
5
+
6
+
7
+ ## Usage
8
+
9
+ To use the Rocket theme:
10
+
11
+ 1. Add the following to your site's `_config.yml`:
12
+
13
+ ```yml
14
+ remote_theme: L-Nafaryus/jekyll-theme-rocket@v0.0.1
15
+ plugins:
16
+ - jekyll-remote-theme # add this line to the plugins list if you already have one
17
+ ```
18
+
19
+ 2. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`:
20
+
21
+ ```ruby
22
+ gem "github-pages", group: :jekyll_plugins
23
+ ```
24
+
25
+ ## Customizing
26
+
27
+ ### Configuration variables
28
+
29
+ Rocket will respect the following variables, if set in your site's `_config.yml`:
30
+
31
+ ```yml
32
+ title: [The title of your site]
33
+ description: [A short description of your site's purpose]
34
+ ```
35
+
36
+ Additionally, you may choose to set the following optional variables:
37
+
38
+ ```yml
39
+ show_downloads: ["true" or "false" (unquoted) to indicate whether to provide a download URL]
40
+ google_analytics: [Your Google Analytics tracking ID]
41
+ ```
42
+
43
+ ### Stylesheet
44
+
45
+ If you'd like to add your own custom styles:
46
+
47
+ 1. Create a file called `/assets/css/style.scss` in your site
48
+ 2. Add the following content to the top of the file, exactly as shown:
49
+ ```scss
50
+ ---
51
+ ---
52
+
53
+ @import "{{ site.theme }}";
54
+ ```
55
+ 3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
56
+
57
+ *Note: If you'd like to change the theme's Sass variables, you must set new values before the `@import` line in your stylesheet.*
58
+
59
+ ### Layouts
60
+
61
+ If you'd like to change the theme's HTML layout:
62
+
63
+ 1. For some changes such as a custom `favicon`, you can add custom files in your local `_includes` folder. The files [provided with the theme](https://github.com/L-Nafaryus/jekyll-theme-rocket/tree/master/_includes) provide a starting point and are included by the [original layout template](https://github.com/L-Nafaryus/jekyll-theme-rocket/blob/master/_layouts/default.html).
64
+ 2. For more extensive changes, [copy the original template](https://github.com/L-Nafaryus/jekyll-theme-rocket/blob/master/_layouts/default.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
65
+ 3. Create a file called `/_layouts/default.html` in your site
66
+ 4. Paste the default layout content copied in the first step
67
+ 5. Customize the layout as you'd like
68
+
69
+ ### Customizing Google Analytics code
70
+
71
+ Google has released several iterations to their Google Analytics code over the years since this theme was first created. If you would like to take advantage of the latest code, paste it into `_includes/head-custom-google-analytics.html` in your Jekyll site.
72
+
73
+ For more information, see [the Jekyll variables documentation](https://jekyllrb.com/docs/variables/).
74
+
75
+ ### Previewing the theme locally
76
+
77
+ If you'd like to preview the theme locally (for example, in the process of proposing a change):
78
+
79
+ 1. Clone down the theme's repository (`git clone https://github.com/L-Nafaryus/jekyll-theme-rocket`)
80
+ 2. `cd` into the theme's directory
81
+ 3. Run `gem install bundler && bundle install` to install the necessary dependencies
82
+ 4. Run `bundle exec jekyll serve` to start the preview server
83
+ 5. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme
84
+
85
+ ### Running build
86
+
87
+ The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the build, simply run `scripts/build.sh`.
File without changes
@@ -0,0 +1,10 @@
1
+ <!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
2
+
3
+
4
+ <!-- Setup Google Analytics -->
5
+ {% include head-custom-google-analytics.html %}
6
+
7
+ <!-- You can set your favicon here -->
8
+ <!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->
9
+
10
+ <!-- end custom head snippets -->
@@ -0,0 +1,71 @@
1
+ <!doctype html>
2
+ <html lang="{{ site.lang | default: "en-US" }}">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+
7
+ {% seo %}
8
+
9
+ <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
10
+ <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
11
+ <script src="{{ '/assets/js/respond.js' | relative_url }}"></script>
12
+
13
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
14
+
15
+
16
+ {% include head-custom.html %}
17
+ </head>
18
+
19
+ <body>
20
+ <header>
21
+ <div class="container">
22
+ <a id="logo" href="{{ '/' | relative_url }}">
23
+ <!--<img src="{{ '/assets/images/logo.png' | relative_url }}" width="48" height="48">-->
24
+ </a>
25
+
26
+ <input type="checkbox" id="toggle">
27
+ <label for="toggle" class="hamburger">
28
+ <span></span>
29
+ <span></span>
30
+ <span></span>
31
+ </label>
32
+
33
+ <nav class="main">
34
+ <a href="{{ '/' | relative_url }}">Home</a>
35
+ <a href="{{ site.github.repository_url }}">GitHub</a>
36
+ </nav>
37
+
38
+ <div class="centered">
39
+ <h1>{{ site.title | default: site.github.repository_name }}</h1>
40
+ </div>
41
+ </div>
42
+ </header>
43
+
44
+ <section class="grid tight blocky-code">
45
+ <div id="sidebar">
46
+ <nav>
47
+ <div class="toc mobile-hide">
48
+ <ul>
49
+ <!-- navigation -->
50
+ </ul>
51
+ </div>
52
+ </nav>
53
+ </div>
54
+
55
+ <article>
56
+ {{ content }}
57
+ </article>
58
+ </section>
59
+
60
+ <footer class="grid light">
61
+ <div class="container">
62
+ <div class="col">
63
+ Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>
64
+ </div>
65
+ <!--<div class="col text-right mobile-hide">
66
+ <a href="#">Back to top Δ</a>
67
+ </div>-->
68
+ </div>
69
+ </footer>
70
+ </body>
71
+ </html>