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 Archives: /archives
About: /about/ About: /about/
#If you dont want it, just comment it out #If you dont want it, just comment it out
weibo: yourweibo twitter: https://twitter.com/omgdanieltam
github: yourgithub git: https://git.dtam.pw
linkedin: yourlinkedin github: https://github.com/omgdanieltam
email: mailto:youremail linkedin: https://www.linkedin.com/in/danieltam-net/
email: mailto:daniel@danieltam.net
#Put into /source #Put into /source
avator: avator.jpg avator: avator.jpg

View File

@@ -19,3 +19,4 @@ if (is_archive()){
<title><% if (title){ %><%= title %> | <% } %><%= config.title %></title> <title><% if (title){ %><%= title %> | <% } %><%= config.title %></title>
<%- css('styles/main') %> <%- 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){ %> <% if (post.excerpt){ %>
<%- post.excerpt %> <%- post.excerpt %>
<p class="article-more-link"> <p class="article-more-link">
<a href="<%- url_for(post.path) %>">阅读全文</a> <a href="<%- url_for(post.path) %>">Read more</a>
</p> </p>
<% } else { %> <% } else { %>
<%- post.content %> <%- post.content %>

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 44 KiB