Browse Source

fixed sidebar

master
jk 5 years ago
parent
commit
a586f8e77e
  1. 5
      themes/anatole/layouts/_default/baseof.html
  2. 8
      themes/anatole/layouts/partials/sidebar.html

5
themes/anatole/layouts/_default/baseof.html

@ -3,11 +3,6 @@
{{- partial "head.html" . -}}
<body>
<input type="checkbox" id="theme-switch" class="theme-switch" autocomplete="on">
<div class="h-card p-author" style="display: none;">
<a rel="author" class= "p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿</a>
<p class="p-note">Quintessentially Celtic, vehemently Viking, passionately European, unashamedly, proudly Scottish, craft beer and single malt whisky lover, enthusiastic cook, vegan, perpetually exhausted dad, pronouns: he/him</p>
<img class="u-photo" src="/images/profile.jpg" />
</div>
<div id="page">
{{- partial "sidebar.html" . -}}
{{ partial "navbar.html" . }}

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

@ -1,11 +1,11 @@
<div class="sidebar">
<img src="{{ .Site.Params.siteLogo | absURL }}" alt="nipponalba logo" id="logo">
<div class="logo-title">
<div class="title">
<img src="{{ .Site.Params.profilePicture | absURL }}" alt="profile picture" style="width:127px;border-radius: 50%;">
<h3 title=""><a href="/">{{ .Site.Params.Title }}</a></h3>
<div class="title h-card p-author">
<img class="u-photo" src="{{ .Site.Params.profilePicture | absURL }}" alt="profile picture" style="width:127px;border-radius: 50%;">
<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>{{ .Site.Params.description }}</p>
<p class="p-note">{{ .Site.Params.description }}</p>
</div>
</div>
</div>