Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_site
.sass-cache
Gemfile.lock
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'github-pages'
18 changes: 18 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Site settings
title: runtime.js
email: [email protected]
description: > # this means to ignore newlines until "baseurl:"
JavaScript library operating system for the cloud
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://runtimejs.org" # the base hostname & protocol for your site
twitter_username: runtimejs
github_username: runtimejs
footer_text: © 2014-2015 runtime.js open source project
permalink: pretty

# Build settings
highlighter: pygments
markdown: redcarpet

gems:
- jemoji
12 changes: 12 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<footer class="site-footer">

<div class="wrapper">
<div class="footer-col-wrapper">
<div class="footer-col footer-col-3">
<p class="small-text">© 2014-2015 runtime.js open source project<br><a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, Version 2.0</a></p>
</div>
</div>

</div>

</footer>
12 changes: 12 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width initial-scale=1">

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

<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
</head>
28 changes: 28 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<header class="site-header">

<div class="wrapper">

<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>

<nav class="site-nav" onclick="this.className = (this.className.indexOf(' show') >= 0) ? this.className.replace(' show', '') : this.className + ' show';">
<a href="javascript:void(0);" class="menu-icon">
<svg viewBox="0 0 18 15">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
</svg>
</a>

<div class="trigger">
{% for page in site.pages %}
{% if page.title %}
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
{% endif %}
{% endfor %}
<a class="page-link" href="https://github.com/runtimejs/runtime">GitHub</a>
</div>
</nav>

</div>

</header>
14 changes: 14 additions & 0 deletions _includes/hero.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="hero">
<div class="wrap">
<div class="main-text">runtime.js</div>
<div class="desc-text">
{{ site.description }}
</div>

<div class="hero-buttons">
<a class="button" href="{{ '/getting-started/' | prepend: site.baseurl }}">Get Started</a>
<a class="button" href="https://github.com/runtimejs/runtime">View on GitHub</a>
</div>

</div>
</div>
20 changes: 20 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>

{% include head.html %}

<body>

{% include header.html %}

<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
</div>

{% include footer.html %}

</body>

</html>
22 changes: 22 additions & 0 deletions _layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>

{% include head.html %}

<body>

{% include header.html %}

{% include hero.html %}

<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
</div>

{% include footer.html %}

</body>

</html>
25 changes: 25 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: default
---
<div class="post">

<section class="sidebar">
<h4>GET STARTED</h4>
<ul>
<li><a href="{{ '/getting-started/' | prepend: site.baseurl }}#getting-started">Getting Started</a></li>
<li><a href="{{ '/getting-started/' | prepend: site.baseurl }}#developer-tools">Developer Tools</a></li>
<li><a href="{{ '/getting-started/' | prepend: site.baseurl }}#creating-an-application">Creating an application</a></li>
</ul>
<br>
<!-- <h4>Docs</h4> -->
<!-- <ul> -->
<!-- <li><a href="{{ '/docs/' | prepend: site.baseurl }}#core&#45;library">Core Library</a></li> -->
<!-- <li><a href="{{ '/docs/' | prepend: site.baseurl }}#api">API</a></li> -->
<!-- </ul> -->
</section>

<article class="post-content">
{{ content }}
</article>

</div>
15 changes: 15 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: default
---
<div class="post">

<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header>

<article class="post-content blog">
{{ content }}
</article>

</div>
7 changes: 7 additions & 0 deletions _posts/2015-06-13-welcome.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: post
title: "Welcome to runtime.js blog!"
date: 2015-06-13 23:22:26
categories: runtimejs blog
---
Welcome!
Loading