Change homepage to show /archives

Create /about page using previous index.ejs
This commit is contained in:
curben 2018-09-15 23:05:39 +09:30
parent 2def51bce0
commit a37c9aed1a
3 changed files with 26 additions and 22 deletions

3
source/about/index.md Normal file
View File

@ -0,0 +1,3 @@
---
layout: about
---

View File

@ -0,0 +1,22 @@
<div class="home">
<div class="content">
<div class="profile">
<h1 class="nickname"><%= theme.nickname %></h1>
<div class="description">
<p><%- markdown(theme.description) %></p>
</div>
</div>
<hr/>
</div>
</div>
<ul class="footer-links">
<% for (var key in theme.links) { %>
<li>
<% if (theme.icons){ %>
<a href="<%= theme.links[key] %>"><span class="fa fa-<%= key %>"></span></a>
<% } else { %>
<a href="<%= theme.links[key] %>"><%= key %></a>
<% } %>
</li>
<% } %>
</ul>

View File

@ -1,22 +0,0 @@
<div class="home">
<div class="content">
<div class="profile">
<h1 class="nickname"><%= theme.nickname %></h1>
<div class="description">
<p><%- markdown(theme.description) %></p>
</div>
</div>
<hr/>
</div>
</div>
<ul class="footer-links">
<% for (var key in theme.links) { %>
<li>
<% if (theme.icons){ %>
<a href="<%= theme.links[key] %>"><span class="fa fa-<%= key %>"></span></a>
<% } else { %>
<a href="<%= theme.links[key] %>"><%= key %></a>
<% } %>
</li>
<% } %>
</ul>

View File

@ -0,0 +1 @@
/home/blog/blog/themes/typing/layout/archive.ejs