mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
27ba9289d6
closes #593 - added default setting of 6 posts per page - added posts per page to settings page - added limit to frontend.js (setting does not change API behavior)
83 lines
3.4 KiB
Handlebars
83 lines
3.4 KiB
Handlebars
<header>
|
|
<h2 class="title">General</h2>
|
|
<section class="page-actions">
|
|
<button class="button-save">Save</button>
|
|
</section>
|
|
</header>
|
|
<section class="content">
|
|
<form id="settings-general" novalidate="novalidate">
|
|
<fieldset>
|
|
<div class="form-group">
|
|
<label><strong>Blog Title</strong></label>
|
|
<input id="blog-title" name="general[title]" type="text" value="{{title}}">
|
|
<p>How your blog name appears on the site</p>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label><strong>Blog Logo</strong></label>
|
|
{{#if logo}}
|
|
<a class="js-modal-logo"><img src="{{logo}}" alt="logo"></a>
|
|
{{else}}
|
|
<a class="button-add js-modal-logo" href="#">Upload Image</a>
|
|
{{/if}}
|
|
<p>Display a logo on your site in place of blog title</p>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label><strong>Blog Icon</strong></label>
|
|
{{#if icon}}
|
|
<a class="js-modal-icon"><img src="{{icon}}" alt="icon"></a>
|
|
{{else}}
|
|
<a class="button-add js-modal-icon" href="#">Upload Image</a>
|
|
{{/if}}
|
|
|
|
<p>The icon for your blog, used in your browser tab and elsewhere</p>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email-address"><strong>Email Address</strong></label>
|
|
<input id="email-address" name="general[email-address]" type="email" value="{{email}}">
|
|
<p>Address to use for <a href="#">admin notifications</a></p>
|
|
<label class="checkbox">
|
|
<input type="checkbox" value="1" name="general[public-email]"> Show my email address on my public profile
|
|
</label>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="url-structure"><strong>URL Structure</strong></label>
|
|
<select id="url-structure" name="general[urlstructure]">
|
|
<option value="post-name">Simple Post Name</option>
|
|
<option value="date-based">Date Based</option>
|
|
<option value="number based">Number Based</option>
|
|
<option value="custom">Custom...</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="activeTheme"><strong>Theme</strong></label>
|
|
<select id="activeTheme" name="general[activeTheme]">
|
|
{{#each availableThemes}}
|
|
<option value="{{name}}" {{#if active}}selected{{/if}}>{{name}}</option>
|
|
{{/each}}
|
|
</select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="postsPerPage"><strong>Posts per page</strong></label>
|
|
<input id="postsPerPage" name="general[postsPerPage]" type="number" value="{{postsPerPage}}">
|
|
<p>Number of posts per page displayed</p>
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<hr />
|
|
|
|
<fieldset>
|
|
<div class="form-group">
|
|
<label for="timezone"><strong>Time Zone</strong></label>
|
|
<select id="timezone" name="general[timezone]">
|
|
<option value="1">Vienna (UTC+1)</option>
|
|
</select>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</section> |