Permalink
Browse files

Fixed create blog title page

  • Loading branch information...
davidmerfield committed Dec 1, 2018
1 parent eca9728 commit 0f63b012918fa99c240f1f5e9d18c067f4a66dab
@@ -66,7 +66,6 @@ CreateBlog.route("/")
})
.get(function(req, res) {
res.locals.partials.subpage = "settings/profile";
res.locals.partials.yield = "account/create-blog";
res.locals.blog = {};
res.render("partials/wrapper-setup", {
@@ -4,7 +4,9 @@
<p style="margin:0 0 2rem;max-width:475px">Please choose a title for your blog. Note that you can always edit this later on your blog's settings page.</p>
<div style="max-width:22rem">
{{> subpage}}
<label for="title">Title</label>
<input type="hidden" name="redirect" value="/settings/profile">
<input type="text" autofocus name="title" value="{{blog.title}}">
<div class="buttons">
<button type="submit" onclick="this.form.submit();this.disabled=true">Save title</button>
@@ -23,7 +23,7 @@
<span style="font-weight:400">
{{title}}{{^title}}{{pretty.url}}{{/title}}<br>
{{! Why include the hostname underneath the blog's title? Increased click area}}
<span style="color:rgb(158, 154, 152);font-weight:400">{{pretty.url}}</span>
<span style="color:rgba(158, 154, 152, 0.66);font-weight:400">{{pretty.url}}</span>
</span>
</button>

0 comments on commit 0f63b01

Please sign in to comment.