Create a gist now

Instantly share code, notes, and snippets.

@arunoda /page.html Secret
Created Mar 18, 2015

<template name="page">
<div class="page">
<div class="post">
{{#if isReady "currentPost"}}
<!-- render the blog post -->
<div class="categories">
{{#if isReady}}
<!-- render categories after all subscriptions are ready -->
<!-- No need to show some loading message -->
<div class="comments">
<!-- Render comments as they came -->
{{#each getComments}}
<!-- render single comment -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment