diff --git a/layouts/partials/post_share.html b/layouts/partials/post_share.html index 4bb7c0a..d6ed878 100644 --- a/layouts/partials/post_share.html +++ b/layouts/partials/post_share.html @@ -1,42 +1,42 @@ {{- if and .IsPage (.Param "share") }}
{{- if .Param "share.facebook" }} - + {{ partial "svg/facebook.svg" (dict "class" "share__icon" ) }} {{- end }} {{- if .Param "share.twitter" }} - + {{ partial "svg/twitter.svg" (dict "class" "share__icon" ) }} {{- end }} {{- if .Param "share.reddit" }} - + {{ partial "svg/reddit.svg" (dict "class" "share__icon" ) }} {{- end }} {{- if .Param "share.telegram" }} - + {{ partial "svg/telegram.svg" (dict "class" "share__icon" ) }} {{- end }} {{- if .Param "share.linkedin" }} - + {{ partial "svg/linkedin.svg" (dict "class" "share__icon" ) }} {{- end }} {{- if .Param "share.googleplus" }} - + {{ partial "svg/googleplus.svg" (dict "class" "share__icon" ) }} {{- end }} {{- if .Param "share.vk" }} - + {{ partial "svg/vk.svg" (dict "class" "share__icon" ) }} {{- end }} {{- if .Param "share.pocket" }} - + {{ partial "svg/pocket.svg" (dict "class" "share__icon" ) }} {{- end }} diff --git a/layouts/partials/post_tags.html b/layouts/partials/post_tags.html index a6d2c9c..8038a7d 100644 --- a/layouts/partials/post_tags.html +++ b/layouts/partials/post_tags.html @@ -2,7 +2,7 @@ {{ $tagsLen := len $.Params.tags }} {{ if gt $tagsLen 0 }}
- {{ range $k, $v := $.Params.tags }}{{ end }} + {{ range $k, $v := $.Params.tags }}{{ end }}
{{ end }} {{ end }} \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index a0adcf0..3823a17 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -407,6 +407,16 @@ mark { text-align: right; } +.btn { + background-color: #111; + border-radius: 3px; +} + +.btn:hover { + color: #fff; + background-color: #000; +} + /* Header */ .header { margin: 0 0 .3125rem; @@ -692,7 +702,6 @@ mark { padding: .25rem .5rem; margin: .25rem; line-height: 1.5; - background: #111; } .toc { @@ -774,7 +783,6 @@ mark { .share__link { margin: .25rem; font-size: 0; - background-color: #111; } .share__link:hover {