Info page as faq.

master
Manager Bot 3 years ago
parent 4a6855cef2
commit 11f0c66da1
  1. 59
      Web/templates/dashboard/blog.html.ep

@ -25,49 +25,16 @@
</div>
% }
<table style="border: 1px solid #ccc" class="table table-striped mb-5 mt-3">
<thead>
<tr>
<th class="text-nowrap">Setting</th>
<th class="text-nowrap">Value</th>
<th class="text-nowrap">Meaning</th>
</tr>
</thead>
<tbody>
<tr>
<th>Domain</th>
<td><a href="https://<%= $blog->domain->name %>"><%= $blog->domain->name %></a></td>
<td>This is the domain name for your website. Users from the Internet can visit this domain to see your website.</td>
</tr>
%# <tr>
%# <th>Repository</th>
%# <td><%= $blog->repo->url %></td>
%# <td>This is the URL we use to fetch your git repository when the website is built.</td>
%# </tr>
<tr>
<th>Last Build</th>
% if ( $blog->minutes_since_last_build ) {
<td><%= $blog->minutes_since_last_build %> minutes ago</td>
% } else {
<td>Never Built</td>
% }
<td>How long ago the last build was.</td>
</tr>
%# Build & Site Restrictions %>
<tr>
<th>Actions</th>
<td colspan=2>
<div class="btn-group">
%# <form method="post" action="<%= $c->url_for( 'do_dashboard_website_rebuild', { site_id => $blog->id } ) %>">
%# <div class="input-group">
%# <button class="btn btn-sm btn-primary" type="submit">Rebuild &amp; Deploy</button>
%# </div>
%# </form>
</div>
</td>
</tr>
</tbody>
</table>
<div class="row mt-3 mx-2 gx-2 gy-2">
<div class="col">
<p>Welcome to your blog manager for <a href="https://<%= $blog->domain->name %>"><%= $blog->domain->name %></a>!</p>
<p>You can create new blog posts on the Posts tab.</p>
<p>The Pages tab has stuff like your about page, or anything you want to make that isn't a blog post.</p>
<p>You can upload images on the Media tab, and get links for embedding in your posts.</p>
<p>When your blog is being built, the Build tab will have an orange marker. You can see recent build logs there, or watch the progress of a build in real time.</p>
<p>On your setting page you can update setting.</p>
<p>All the changes to your blog will be shown on the History tab. If you make any mistake, you can undo it with the click of a button there.</p>
<p><span class="fw-bold">Thank you</span> for using MyJekyllBlog.</p>
</div>
</div>

Loading…
Cancel
Save