Skip to content

Commit 89d5283

Browse files
committed
Reverting
1 parent 20fce25 commit 89d5283

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+6286
-1763
lines changed

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
skcript.github.io

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages'

Gruntfile.coffee

Lines changed: 0 additions & 79 deletions
This file was deleted.

Gruntfile.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = function (grunt) {
2+
grunt.loadNpmTasks('grunt-link-checker');
3+
4+
grunt.initConfig({
5+
pkg: grunt.file.readJSON('package.json'),
6+
7+
linkChecker: {
8+
options: {
9+
maxConcurrency: 100,
10+
noFragment: true,
11+
callback: function (crawler) {
12+
crawler.addFetchCondition(function (url) {
13+
return !url.path.match(/\.xml$/i)
14+
})
15+
}
16+
},
17+
dev: {
18+
site: 'localhost',
19+
options: {
20+
initialPort: 4000
21+
}
22+
}
23+
}
24+
})
25+
}

LICENSE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright (c) 2015 Skcript
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Open Source at Skcript
2+
3+
The [website](http://skcript.github.io) for [Open Source at Skcript](https://github.com/skcript/skcript.github.io), to highlight the contributions to open-source community from our engineers.
4+
5+
**P.S.:** Site adopts codebase of [Electron](https://github.com/atom/electron.atom.io)
6+
7+
### Build
8+
9+
This is a [Jekyll](http://jekyllrb.com) site hosted on [GitHub Pages](http://pages.github.com). To build a Jekyll site you'll need a few things on your system so double check the [Jekyll requirements](http://jekyllrb.com/docs/installation/#requirements).
10+
11+
Follow these steps to copy this repository to your computer and build the site:
12+
13+
```bash
14+
$ git clone https://github.com/skcript/skcript.github.io.git
15+
$ cd skcript.github.io
16+
$ script/bootstrap
17+
$ script/server
18+
```
19+
20+
### License
21+
22+
[MIT](license.md)

_config.yml

100644100755
Lines changed: 12 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,13 @@
1-
# Site settings
2-
language: ""
3-
title: "Skcript + Open Source = ❤️"
4-
description: "A collection of open source projects from Skcript"
5-
google-verification: ""
6-
7-
# Handling Reading
8-
include:
9-
- ".htaccess"
10-
- "_pages"
11-
12-
exclude:
13-
- "/assets/"
14-
- "bower.json"
15-
- "composer.json"
16-
- "composer.lock"
17-
- "DOC.md"
18-
- "Gemfile"
19-
- "Gemfile.lock"
20-
- "/gulp/"
21-
- "gulpfile.js"
22-
- "Gruntfile.coffee"
23-
- "LICENSE.md"
24-
- "Makefile"
25-
- "node_modules"
26-
- "npm-debug.log"
27-
- "package.json"
28-
- "README.md"
29-
- "rev-manifest.json"
30-
31-
# Serving
32-
url: "http://skcript.github.io"
33-
baseurl: "" # does not include hostname
1+
title: Open Source at Skcript
2+
email: business@skcript.com
3+
description: 'A collection of open source projects from Skcript'
4+
baseurl: 'http://skcript.github.io'
345
twitter_username: SkcriptHQ
35-
github_username: skcript
36-
email: friends@skcript.com
37-
38-
# Outputting
39-
permalink: "/blog/:year/:title/"
40-
paginate_path: "/blog/page:num"
41-
paginate: 5
42-
43-
44-
# Plugins
45-
gems: ["jekyll-sitemap", "jekyll-paginate"]
46-
47-
# Build settings
48-
markdown: kramdown
6+
github_username: skcript
7+
highlighter: pygments
8+
markdown: redcarpet
9+
redcarpet:
10+
extensions: [with_toc_data]
11+
gems:
12+
- jekyll-redirect-from
13+
latest_version: v0.10.0

_includes/anchor_links.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<script>
2+
var anchorForId = function (id) {
3+
var anchor = document.createElement("a");
4+
anchor.className = "header-link";
5+
anchor.href = "#" + id;
6+
anchor.innerHTML = "<span class='octicon octicon-link'></span>";
7+
anchor.title = "Permalink";
8+
return anchor;
9+
};
10+
11+
var linkifyAnchors = function (level, containingElement) {
12+
var headers = containingElement.getElementsByTagName("h" + level);
13+
for (var h = 0; h < headers.length; h++) {
14+
var header = headers[h];
15+
16+
if (typeof header.id !== "undefined" && header.id !== "") {
17+
header.appendChild(anchorForId(header.id));
18+
}
19+
}
20+
};
21+
22+
document.onreadystatechange = function () {
23+
if (this.readyState === "complete") {
24+
var contentBlock = document.getElementsByClassName("docs")[0] || document.getElementsByClassName("news")[0];
25+
if (!contentBlock) {
26+
return;
27+
}
28+
for (var level = 1; level <= 6; level++) {
29+
linkifyAnchors(level, contentBlock);
30+
}
31+
}
32+
};
33+
</script>

_includes/footer.html

100644100755
Lines changed: 6 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,11 @@
1-
<footer class="site-footer">
2-
3-
<div class="wrapper">
4-
5-
<h2 class="footer-heading">{{ site.title }}</h2>
6-
7-
<div class="footer-col-wrapper">
8-
<div class="footer-col footer-col-1">
9-
<ul class="contact-list">
10-
<li>{{ site.title }}</li>
11-
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
12-
</ul>
13-
</div>
14-
15-
<div class="footer-col footer-col-2">
16-
<ul class="social-media-list">
17-
{% if site.github_username %}
18-
<li>
19-
<a href="https://github.com/{{ site.github_username }}">
20-
<span class="icon icon--github">
21-
<svg viewBox="0 0 16 16">
22-
<path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
23-
</svg>
24-
</span>
25-
26-
<span class="username">{{ site.github_username }}</span>
27-
</a>
28-
</li>
29-
{% endif %}
30-
31-
{% if site.twitter_username %}
32-
<li>
33-
<a href="https://twitter.com/{{ site.twitter_username }}">
34-
<span class="icon icon--twitter">
35-
<svg viewBox="0 0 16 16">
36-
<path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
37-
c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
38-
</svg>
39-
</span>
40-
41-
<span class="username">{{ site.twitter_username }}</span>
42-
</a>
43-
</li>
44-
{% endif %}
45-
</ul>
1+
<footer>
2+
<div class='container'>
3+
<div class='row'>
4+
<div class='one-half column'>
465
</div>
476

48-
<div class="footer-col footer-col-3">
49-
<p class="text">{{ site.description }}</p>
7+
<div class='column text-center'>
8+
<a href='http://skcript.com' target="_blank" class="no-hover-dec"><span class='octicon octicon-code'></span> with <span class='octicon octicon-heart'></span> by <b>Skcript</b></a>
509
</div>
51-
</div>
52-
5310
</div>
54-
5511
</footer>

_includes/head.html

100644100755
Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
<head>
2-
<meta charset="utf-8">
3-
<meta name="viewport" content="width=device-width initial-scale=1" />
4-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2+
<meta charset='utf-8'>
3+
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
4+
<meta name='viewport' content='width=device-width, initial-scale=1'>
55

6-
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7-
<meta name="description" content="{{ site.description }}">
6+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7+
<meta name='description' content='{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}'>
88

9-
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
10-
<link rel="stylesheet" href="/vendor/css/foundation.min.css">
11-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
9+
<link rel='shortcut icon' href='{{ site.url }}/images/favicon.ico'/>
10+
<link rel='stylesheet' href='{{ site.url }}/css/normalize.css'>
11+
<link rel='stylesheet' href='{{ site.url }}/css/skeleton.css'>
12+
<link rel='stylesheet' href='{{ site.url }}/css/main.css'>
13+
<link rel='stylesheet' href='{{ site.url }}/css/octicons/octicons.css'>
14+
<link rel='stylesheet' href='{{ site.url }}/css/pygments.css'>
15+
<link rel='stylesheet' href='{{ site.url }}/css/twemoji.css'>
16+
<link href='http://fonts.googleapis.com/css?family=Source+Code+Pro:400,700' rel='stylesheet' type='text/css'>
17+
<link rel='canonical' href='{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}'>
18+
<link rel='alternate' type='application/rss+xml' title='{{ site.title }}' href='{{ '/feed.xml' | prepend: site.baseurl | prepend: site.url }}' />
19+
<script src="//twemoji.maxcdn.com/twemoji.min.js"></script>
20+
<script>
21+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
22+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
23+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
24+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
25+
26+
ga('create', 'UA-46679613-1', 'auto');
27+
ga('send', 'pageview');
28+
</script>
1229
</head>

0 commit comments

Comments
 (0)