Permalink
Please sign in to comment.
Showing
with
74 additions
and 35 deletions.
- +4 −4 _includes/model.js
- +1 −1 _layouts/about.html
- +1 −1 _layouts/article.html
- +20 −0 _layouts/default.html
- +1 −1 _layouts/help.html
- +1 −1 _layouts/post.html
- +43 −0 _layouts/static.html
- +3 −3 _posts/help/2012-06-20-prose-for-writers.md
- +0 −24 boot.js
@@ -0,0 +1,43 @@ | ||
+--- | ||
+--- | ||
+<!DOCTYPE html> | ||
+<html> | ||
+<head> | ||
+ <meta charset='UTF-8'/> | ||
+ <title>Prose · A Content Editor for GitHub</title> | ||
+ <link rel='shortcut icon' href='/{{site.baseurl}}images/favicon.ico' type='image/x-icon' /> | ||
+ <link rel='stylesheet' href='/{{site.baseurl}}fonts/open-sans.css'> | ||
+ <link rel='stylesheet' href='/{{site.baseurl}}app.css'> | ||
+ {% include templates.html %} | ||
+ <script src='/{{site.baseurl}}boot.js'></script> | ||
+ <script> | ||
+ (function(config, models, views, routers, utils, templates) { | ||
+ $(function() { | ||
+ if (authenticate()) { | ||
+ loadApplication(function(err, data) { | ||
+ | ||
+ // Start the engines | ||
+ window.app.instance = new views.Application({ el: '#container', model: data }).render(); | ||
+ if (err) return app.instance.notify('error', 'Error while loading data from Github. This might be a temporary issue. Please try again later.'); | ||
+ | ||
+ }); | ||
+ } | ||
+ }); | ||
+ }).apply(this, window.args); | ||
+ </script> | ||
+</head> | ||
+<body> | ||
+ <div id='container'> | ||
+ <div id='main'>{{content}}</div> | ||
+ </div> | ||
+ | ||
+ <div id='footer'> | ||
+ <div class="footer-content"> | ||
+ <a class='help' href="/{{site.baseurl}}help.html">Help</a><a class='about' href="/{{site.baseurl}}about.html">About</a> | ||
+ <div class="fr brand"> | ||
+ <a href="/{{site.baseurl}}#prose/prose/blob/gh-pages/README.md">Prose 0.2.0</a> | ||
+ </div> | ||
+ </div> | ||
+ </div> | ||
+</body> | ||
+</html> |
0 comments on commit
4c4bfa3