Change to New Theme

This post is abandoned.

Hugo Theme Diary

I change my blog to a new hugo theme hugo-theme-diary which is pretty concise.

To meet my taste I am adding some new features to it.

You can switch to the new branch kipjiang to check the changes.

TODO List

Changelog

Font Awesome

You can find many Font Awesome CDN resources of multiple versions on BootCDN.

First, add the script to head.html:

1
2
<!-- Font Awesome -->
<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet">

Then, add any icons you want in your code, like:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<!-- in sidebar.html -->
<div class="nav-link-item" >
    {{ if .Site.Params.social.github }}
    <a href="{{ .Site.Params.social.github }}" target="_blank">
        <i title="GitHub" class="fab fa-github" style="font-size: 24px"></i>
    </a>
    {{ end }}
    <a href="{{ "/index.xml" | absLangURL }}" target="_blank">
        <i title="RSS" class="fa fa-rss" style="font-size: 24px"></i>
    </a>
</div>
© 2019 - 2021 · Kip Jiang · Theme Simpleness Powered by Hugo ·