Skip to content

Commit e34657f

Browse files
committed
added new template for fast-render
1 parent d5e5fe0 commit e34657f

File tree

141 files changed

+8904
-10
lines changed

Some content is hidden

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

141 files changed

+8904
-10
lines changed

CNAME

100644100755
File mode changed.

_config.yml

100644100755
File mode changed.

_data/navbars.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
fast-render:
3+
Basics:
4+
Introduction: ""
5+
Concept: "concept"
6+
Iron Router Support: "irsupport"
7+
Articles:
8+
Telescope with Fast Render: "fast-render-with-telescope"

_data/sections.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
pro-meteor:
3+
caption: "Pro Meteor"
4+
fast-render:
5+
caption: "Fast Render"
6+
meteor-weekly:
7+
caption: "Meteor Weekly"

_includes/common_js.html

100644100755
File mode changed.

_includes/footer.html

100644100755
File mode changed.

_includes/ga.html

100644100755
File mode changed.

_includes/header.html

100644100755
+4-6
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
<span class="icon-bar"></span>
99
</button>
1010
<a class="navbar-brand" id='mh-navbar-brand-title' href="/">MeteorHacks</a>
11-
{% if isPrometeor %}
12-
<a class="navbar-brand" id='mh-navbar-brand-sub-title' href="/pro-meteor/">| Pro Meteor</a>
13-
{% endif %}
11+
<a class="navbar-brand" id='mh-navbar-brand-sub-title' href="/{{page.section}}">| {{site.data.sections[page.section].caption}} </a>
1412
</div>
1513
<nav class='collapse navbar-collapse mh-navbar-collapse clearfix' role='navigation'>
1614
<ul class="nav navbar-nav pull-right">
17-
<li><a href="/pro-meteor">Pro Meteor</a></li>
18-
<li><a href="/meteor-weekly">Meteor Weekly</a></li>
19-
<!-- <li><a href="https://cometengine.com">CometEngine</a></li> -->
15+
{% for section in site.data.sections %}
16+
<li><a href="/{{section[0]}}">{{section[1].caption}}</a></li>
17+
{% endfor %}
2018
</ul>
2119
</nav>
2220
</div>

_includes/meteor_weekly_top.html

100644100755
File mode changed.

_includes/navbar.html

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{% if mobile %}
2+
<!-- Mobile NavBar -->
3+
<select style='width: 100%' onchange="if (this.value) window.location.href=this.value">
4+
<option>Navigation</option>
5+
{% for subnav in site.data.navbars[navbar-name] %}
6+
<optgroup label='{{subnav[0]}}'>
7+
{% for link in subnav[1] %}
8+
<option value='/{{navbar-name}}/{{link[1]}}'>{{link[0]}}</option>
9+
{% endfor %}
10+
</optgroup>
11+
{% endfor %}
12+
</select>
13+
{% else %}
14+
<!-- Desktop NavBar -->
15+
{% for subnav in site.data.navbars[navbar-name] %}
16+
<h3>{{subnav[0]}}</h3>
17+
<ul>
18+
{% for link in subnav[1] %}
19+
{% assign _navbar-url = navbar-name | prepend:"/" | append: "/" | append: link[1] %}
20+
{% if _navbar-url == page.permalink %}
21+
{% assign selected-class = "selected" %}
22+
{% else %}
23+
{% assign selected-class = ""%}
24+
{% endif %}
25+
<li class='post {{selected-class}}'}>
26+
<a href='{{_navbar-url}}'>{{link[0]}}</a>
27+
</li>
28+
{% endfor %}
29+
</ul>
30+
{% endfor %}
31+
{% endif %}

_layouts/blog.html

100644100755
File mode changed.

_layouts/docs.html

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<!DOCTYPE html>
2+
<html lang='en'>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5+
<title>{{page.title}} | {{site.data.sections[page.section].caption}}</title>
6+
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" />
7+
<link rel="stylesheet" type="text/css" href="/css/style.css" />
8+
<link href="/pro-meteor/rss.xml" rel="alternate" type="application/rss+xml" title="Pro Meteor - A Guide to Build Production Quality Meteor Setup" />
9+
10+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
11+
{% include common_js.html %}
12+
</head>
13+
<body>
14+
15+
<!-- Header Area -->
16+
{% include header.html %}
17+
18+
<div class='container' style='max-width:1000px'>
19+
<!-- For Desktop View -->
20+
<div class='row'>
21+
<div class='col-xs-4 hidden-xs pull-right' id='blog-sidebar' style='margin-top: 106px'>
22+
<div id='blog-sidebar-items'>
23+
{% assign navbar-name = page.section %}
24+
{% include navbar.html %}
25+
</div>
26+
</div>
27+
<div class='col-xs-8 hidden-xs' id='blog-page'>
28+
<h1>{{page.title}}</h1>
29+
<div id='blog-content'>
30+
{{content}}
31+
</div>
32+
</div>
33+
</div>
34+
35+
<!-- For Mobile View -->
36+
<div class='row blog-xs'>
37+
<div class='col-xs-12 visible-xs' id='blog-page'>
38+
{% assign navbar-name = page.section %}
39+
{% assign mobile = true %}
40+
{% include navbar.html %}
41+
<h1>{{page.title}}</h1>
42+
<div id='blog-content'>
43+
{{content}}
44+
</div>
45+
</div>
46+
</div>
47+
48+
</div>
49+
50+
<!-- Footer goes here -->
51+
{% include footer.html %}
52+
53+
<!-- GA goes here -->
54+
{% include ga.html %}
55+
</body>
56+
</html>

_layouts/ebook.html

100644100755
File mode changed.

_layouts/home.html

100644100755
File mode changed.

_layouts/meteor-weekly-home.html

100644100755
File mode changed.

_layouts/meteor-weekly-post.html

100644100755
File mode changed.

_layouts/pro-meteor-post.html

100644100755
File mode changed.

_layouts/pro-meteor.html

100644100755
File mode changed.

_posts/2013-06-02-meteor-cluster-introduction-and-how-it-works.md

100644100755
File mode changed.

_posts/2013-06-05-travis-ci-support-for-meteor-packages.md

100644100755
File mode changed.

_posts/2013-06-07-extending-meteor-accounts.md

100644100755
File mode changed.

_posts/2013-06-11-load-balancing-your-meteor-app.md

100644100755
File mode changed.

_posts/2013-06-15-complete-npm-integration-for-meteor.md

100644100755
File mode changed.

_posts/2013-06-20-mongodb-replica-sets-with-meteor.md

100644100755
File mode changed.

_posts/2013-06-28-logging-support-for-meteor.md

100644100755
File mode changed.

_posts/2013-07-01-introducing-meteor-streams.md

100644100755
File mode changed.

_posts/2013-07-09-lets-create-a-realtime-blackboard.md

100644100755
File mode changed.

_posts/2013-07-15-continuos-integration-for-meteor-apps.md

100644100755
File mode changed.

_posts/2013-07-19-introducing-smart-collections.md

100644100755
File mode changed.

_posts/2013-07-23-making-meteor-500-faster-with-smart-collections.md

100644100755
File mode changed.

_posts/2013-08-01-lets-scale-meteor.md

100644100755
File mode changed.

_posts/2013-08-09-how-meteor-uses-node.md

100644100755
File mode changed.

_posts/2013-08-19-npm-meteor-integration-is-back.md

100644100755
File mode changed.

_posts/2013-08-26-discover-meteor-ddp-in-realtime.md

100644100755
File mode changed.

_posts/2013-09-10-ever-improving-smart-collections.md

100644100755
File mode changed.

_posts/2013-09-19-introducing-portable-meteor-user.md

100644100755
File mode changed.

_posts/2013-10-02-debugging-meteor-packages-and-apps.md

100644100755
File mode changed.

_posts/2013-10-08-retiring-smart-collections.md

100644100755
File mode changed.

_posts/2013-10-21-meteor-weekly-oct-3rd-week.md

100644100755
File mode changed.

_posts/2013-10-30-the-meteor-marketplace.md

100644100755
File mode changed.

_posts/2013-11-15-introducing-pro-meteor-guide.md

100644100755
File mode changed.

_posts/2013-11-21-pro-meteor-fibers.md

100644100755
File mode changed.

_posts/2013-11-27-improved-async-utilities-in-meteor-npm.md

100644100755
File mode changed.

_posts/2013-12-03-pro-meteor-does-meteor-scale.md

100644100755
File mode changed.

_posts/2013-12-12-pro-meteor-how-to-scale-meteor.md

100644100755
File mode changed.

_posts/2013-12-19-pro-meteor-run-meteor-on-multiple-cpus.md

100644100755
File mode changed.

_posts/ebook/2013-07-08-realtime-blackboard.md

100644100755
File mode changed.

_posts/meteor-weekly/2013-10-21-meteor-weekly-meteor-ui-nodejs-security-fix-packaged-apps.md

100644100755
+1

_posts/meteor-weekly/2013-10-28-meteor-weekly-meteor-new-version-10000-github-stars-dynamic-templates.md

100644100755
+1

_posts/meteor-weekly/2013-11-04-meteor-weekly-devshop9-meteor-marketplace-meteor-ui-preview2.md

100644100755
+1

_posts/meteor-weekly/2013-11-12-meteor-weekly-sql-support-giteor-pull-request-guidline.md

100644100755
+1

_posts/meteor-weekly/2013-11-18-meteor-weekly-gittip-meteor-ui-pro-meteor.md

100644100755
+1

_posts/meteor-weekly/2013-11-25-meteor-weekly-spacebars-tired-meteorite-autoupdate.md

100644100755
+1

_posts/meteor-weekly/2013-12-02-meteor-weekly-oplog-tailing-scale-npm-async-utilities.md

100644100755
+1

_posts/meteor-weekly/2013-12-09-meteor-weekly-devshop10-meteor-linkedin-discover-meteor-update.md

100644100755
+1

_posts/meteor-weekly/2013-12-16-meteor-weekly-discover-meteor-day-meteor-0-6-7-rc-oplog.md

100644100755
+1

_posts/meteor-weekly/2013-12-23-meteor-weekly-meteor-0-7-0-template-preview-10-meteorite-0-7-0.md

100644100755
+1

_posts/pro-meteor/2013-10-01-deploy-a-meteor-app-into-a-server-or-a-vm.md

100644100755
+1

_posts/pro-meteor/2013-11-12-understanding-meteor-internals.md

100644100755
+1

_posts/pro-meteor/2013-11-21-fibers-eventloop-and-meteor.md

100644100755
+1

_posts/pro-meteor/2013-12-03-does-meteor-scale.md

100644100755
+1

_posts/pro-meteor/2013-12-12-how-to-scale-meteor.md

100644100755
+1

_posts/pro-meteor/2013-12-19-run-meteor-on-multiple-cpus.md

100644100755
+1

_posts/pro-meteor/index.html

100644100755
File mode changed.

blog/.DS_Store

100644100755
File mode changed.

blog/rss.xml

100644100755
File mode changed.

client/meteor-suite-client.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
window.emit = function emit() {
2+
3+
if(window.callPhantom) {
4+
// we need to remove undefined values from the argument.
5+
// otherwise phantom throws an error
6+
7+
//in order to iterate through the arguments, we need to slice it
8+
arguments = Array.prototype.slice.call(arguments, 0);
9+
for(var key in arguments) {
10+
var value = arguments[key];
11+
if(value == undefined) {
12+
arguments[key] = null;
13+
}
14+
}
15+
16+
window.callPhantom.apply(null, arguments);
17+
}
18+
};

css/bootstrap-theme.min.css

100644100755
File mode changed.

css/bootstrap.min.css

100644100755
File mode changed.

css/ebook.css

100644100755
File mode changed.

css/main.css

100644100755
File mode changed.

css/meteor_weekly.css

100644100755
File mode changed.

css/meteor_weekly_post.css

100644100755
File mode changed.

css/monokai.css

100644100755
File mode changed.

css/post.css

100644100755
File mode changed.

css/style.css

100644100755
+8-4
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,14 @@ footer {
199199
}
200200

201201
#blog-sidebar-items ul li {
202-
margin: 0px 0px 10px 0px;
203-
border-bottom: 1px solid #eee;
204-
padding: 0px 0px 10px 0px;
205-
font-size: 16px;
202+
margin: 10px 0px 0px 0px;
203+
padding: 1px 0px 1px 0px;
204+
font-size: 18px;
205+
}
206+
207+
#blog-sidebar-items ul li.selected {
208+
border-left: 10px solid rgba(242,92,92,1);
209+
padding-left: 5px;
206210
}
207211

208212
#blog-sidebar-items a {

favicon.ico

100644100755
File mode changed.

fonts/glyphicons-halflings-regular.eot

100644100755
File mode changed.

fonts/glyphicons-halflings-regular.svg

100644100755
File mode changed.

fonts/glyphicons-halflings-regular.ttf

100644100755
File mode changed.

fonts/glyphicons-halflings-regular.woff

100644100755
File mode changed.

images/.DS_Store

100644100755
File mode changed.

images/left-c2a.png

100644100755
File mode changed.

images/logo.png

100644100755
File mode changed.

images/top-c2a.png

100644100755
File mode changed.

index.html

100644100755
File mode changed.

js/bootstrap.js

100644100755
File mode changed.

js/bootstrap.min.js

100644100755
File mode changed.

js/hibar.min.js

100644100755
File mode changed.

js/highlight.pack.js

100644100755
File mode changed.

js/jquery.imagesloaded.min.js

100644100755
File mode changed.

js/jquery.masonry.min.js

100644100755
File mode changed.

js/jquery.min.js

100644100755
File mode changed.

js/jquery.wookmark.min.js

100644100755
File mode changed.

meteor-weekly/index.html

100644100755
+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
---
22
layout: meteor-weekly-home
3+
section: meteor-weekly
34
---

meteor-weekly/rss.xml

100644100755
File mode changed.

0 commit comments

Comments
 (0)