diff options
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/sidebar.html | 8 | ||||
| -rw-r--r-- | layouts/partials/tags.html | 2 | ||||
| -rw-r--r-- | layouts/partials/theme-color.html | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 8384905..48bfd1a 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -3,12 +3,16 @@ <div class="sidebar-about"> {{ with .Site.Params.gravatar }} <div class="author-image"> - <img src="https://www.gravatar.com/avatar/{{md5 .}}?s=200&d=mp" class="img-circle img-headshot center" alt="Gravatar"> + <a href="{{ $.Site.BaseURL }}"> + <img src="https://www.gravatar.com/avatar/{{md5 .}}?s=200&d=mp" class="img-circle img-headshot center" alt="Gravatar"> + </a> </div> {{ else }} {{ with .Site.Params.profilePicture }} <div class="author-image"> - <img src="{{ . | relURL }}" class="img-circle img-headshot center" alt="Profile Picture"> + <a href="{{ $.Site.BaseURL }}"> + <img src="{{ . | relURL }}" class="img-circle img-headshot center" alt="Profile Picture"> + </a> </div> {{ end }} {{ end }} diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html index 8423d9a..5b209eb 100644 --- a/layouts/partials/tags.html +++ b/layouts/partials/tags.html @@ -1,3 +1,4 @@ +{{ if isset .Params "tags" }} <div> <ul class="tags"> {{- range $tag := $.Params.tags -}} @@ -11,3 +12,4 @@ {{- end -}} </ul> </div> +{{ end }} diff --git a/layouts/partials/theme-color.html b/layouts/partials/theme-color.html index 9e69895..d7fee43 100644 --- a/layouts/partials/theme-color.html +++ b/layouts/partials/theme-color.html @@ -8,6 +8,10 @@ border-color: {{ . }}; } + .read-more-link a:hover { + background-color: {{ . }}; + } + .pagination li a { color: {{ . }}; border: 1px solid {{ . }}; |
