Browse Source

sidebar adjustment

master
jk 4 years ago
parent
commit
34fe99d381
  1. 10
      config.toml
  2. 14
      themes/anatole/layouts/partials/sidebar.html

10
config.toml

@ -59,27 +59,27 @@ description = "日本語の紹介を書くーQuintessentially Celtic, vehemently
## Social Links
[[params.socialIcons]]
icon = "fa fa-pleroma fa-2x fa-fw"
icon = "fa fa-pleroma fa-fw"
title = "Pleroma"
url = "https://social.nipponalba.scot/jk"
[[params.socialIcons]]
icon = "fa fa-pixelfed fa-2x fa-fw"
icon = "fa fa-pixelfed fa-fw"
title = "Pixelfed"
url = "https://px.nipponalba.scot/jk"
[[params.socialIcons]]
icon = "fa fa-xmpp fa-2x fa-fw"
icon = "fa fa-xmpp fa-fw"
title = "XMPP"
url = "xmpp:jk@nipponalba.scot"
[[params.socialIcons]]
icon = "fa fa-matrix-org fa-2x fa-fw"
icon = "fa fa-matrix-org fa-fw"
title = "Matrix"
url = "https://matrix.to/#/@jk:nipponalba.scot"
[[params.socialIcons]]
icon = "fa fa-envelope-o fa-2x fa-fw"
icon = "fa fa-envelope-o fa-fw"
title = "e-mail"
url = "mailto:jk@nipponalba.scot"

14
themes/anatole/layouts/partials/sidebar.html

@ -4,18 +4,18 @@
<div class="title h-card p-author">
<img class="u-photo" src="/images/profile.jpg" alt="profile picture">
<h3 title=""><a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a></h3>
<ul class="social-links">
{{ range $item := .Site.Params.socialIcons }}
<a href="{{ $item.url | safeURL }}" rel="me" >
<i class="fa {{ $item.icon }}" aria-hidden="true" title="{{ $item.title }}"></i>
</a>
{{ end }}
</ul>
<div class="description">
<p class="p-note">{{ .Site.Params.description }}</p>
</div>
</div>
</div>
<ul class="social-links">
{{ range $item := .Site.Params.socialIcons }}
<a href="{{ $item.url | safeURL }}" rel="me" >
<i class="fa {{ $item.icon }}" aria-hidden="true" title="{{ $item.title }}"></i>
</a>
{{ end }}
</ul>
<div class="footer">
<div class="by_farbox">&copy; {{ now.Format "2006"}} | <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">CC-BY 4.0</a> | <a href="/post/index.xml"><i class="fa fa-rss fa-fw" aria-hidden="true" title="Blog RSS feed"></i></a><br/>
Made with ❤ and <a href="https://gohugo.io/">Hugo</a> by {{ .Site.Params.author }} </div>