Customize theme

This commit is contained in:
2021-06-05 03:52:12 -05:00
parent 3cd8cdbd9c
commit cebd79a0f1
5 changed files with 12 additions and 9 deletions

View File

@@ -3,10 +3,11 @@ menu:
Archives: /archives
About: /about/
#If you dont want it, just comment it out
weibo: yourweibo
github: yourgithub
linkedin: yourlinkedin
email: mailto:youremail
twitter: https://twitter.com/omgdanieltam
git: https://git.dtam.pw
github: https://github.com/omgdanieltam
linkedin: https://www.linkedin.com/in/danieltam-net/
email: mailto:daniel@danieltam.net
#Put into /source
avator: avator.jpg

View File

@@ -19,3 +19,4 @@ if (is_archive()){
<title><% if (title){ %><%= title %> | <% } %><%= config.title %></title>
<%- css('styles/main') %>
<link href='https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css' rel='stylesheet'>

View File

@@ -9,7 +9,7 @@
<% if (post.excerpt){ %>
<%- post.excerpt %>
<p class="article-more-link">
<a href="<%- url_for(post.path) %>">阅读全文</a>
<a href="<%- url_for(post.path) %>">Read more</a>
</p>
<% } else { %>
<%- post.content %>

View File

@@ -8,10 +8,11 @@
<img src="<%= theme.avator %>" class="ava-img">
<h3 class="author"><%= config.author %></h3>
<div class="icon-list">
<a href="<%= theme.weibo %>"><i class="iconfont icon-weibo icon-item"></i></a>
<a href="<%= theme.email %>"><i class="iconfont icon-email icon-item"></i></a>
<a href="<%= theme.github %>"><i class="iconfont icon-github icon-item"></i></a>
<a href="<%= theme.linkedin %>"><i class="iconfont icon-linkedin icon-item"></i></a>
<a href="<%= theme.twitter %>"><i class="iconfont bx bxl-twitter icon-item"></i></a>
<a href="<%= theme.linkedin %>"><i class="iconfont bx bxl-linkedin icon-item"></i></a>
<a href="<%= theme.email %>"><i class="iconfont bx bxs-envelope icon-item"></i></a>
<a href="<%= theme.git %>"><i class="iconfont bx bxl-git icon-item"></i></a>
<a href="<%= theme.github %>"><i class="iconfont bx bxl-github icon-item"></i></a>
</div>
<%- partial('_partials/tags') %>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 44 KiB