Skip to content

Commit

Permalink
rename everything to comet and add setup
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 5, 2015
1 parent 0814762 commit c0237dd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion COMET/__init__.py
Expand Up @@ -204,7 +204,7 @@ def index():

@app.route('/setup')
def setup():
needs_setup = os.path.exists(os.path.join(_site.config["OUTPUT_FOLDER"], 'assets'))
needs_setup = not os.path.exists(os.path.join(_site.config["OUTPUT_FOLDER"], 'assets'))
return render("comet_setup.tmpl", context={'needs_setup': needs_setup})

@app.route('/edit/<path:path>', methods=['GET', 'POST'])
Expand Down
18 changes: 18 additions & 0 deletions COMET/templates/mako/comet_setup.tmpl
@@ -1,3 +1,7 @@
<<<<<<< HEAD
=======
## -*- coding: utf-8 -*-
>>>>>>> rename everything to comet and add setup
<!DOCTYPE html>
<html>
<head>
Expand All @@ -14,8 +18,15 @@

a {
text-decoration: none;
<<<<<<< HEAD
border-radius: 3px;
border-color: #ccc;
=======
border-radius: 5px;
border: solid #ccc 1px;
padding: 10px;
color: #000;
>>>>>>> rename everything to comet and add setup
}
</style>
</head>
Expand All @@ -25,8 +36,15 @@
<p>Welcome to Comet CMS!</p>
<p>In order to start using Comet CMS, you must run <kbd>nikola build</kbd> first.</p>
<p><a href="/">→ Try again</a></p>
<<<<<<< HEAD
% else
<p>Comet CMS is good to go!</p>
<p><a href="/">→ Continue</a></p>
=======
% else:
<p>Comet CMS is good to go!</p>
<p><a href="/">→ Continue</a></p>
% endif
>>>>>>> rename everything to comet and add setup
</body>
</html>

0 comments on commit c0237dd

Please sign in to comment.