Browse Source

sidebar adjustment

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

10
config.toml

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

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

@ -4,11 +4,6 @@
<div class="title h-card p-author"> <div class="title h-card p-author">
<img class="u-photo" src="/images/profile.jpg" alt="profile picture"> <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> <h3 title=""><a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a></h3>
<div class="description">
<p class="p-note">{{ .Site.Params.description }}</p>
</div>
</div>
</div>
<ul class="social-links"> <ul class="social-links">
{{ range $item := .Site.Params.socialIcons }} {{ range $item := .Site.Params.socialIcons }}
<a href="{{ $item.url | safeURL }}" rel="me" > <a href="{{ $item.url | safeURL }}" rel="me" >
@ -16,6 +11,11 @@
</a> </a>
{{ end }} {{ end }}
</ul> </ul>
<div class="description">
<p class="p-note">{{ .Site.Params.description }}</p>
</div>
</div>
</div>
<div class="footer"> <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/> <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> Made with ❤ and <a href="https://gohugo.io/">Hugo</a> by {{ .Site.Params.author }} </div>