Renamed the Div home-social to home-links (#94)
Since some [EasyList rules](https://easylist.to/easylist/fanboy-social.txt) can block the whole div, I think renaming it to something not including "social" would prevent breaking one of the main features of this template.
This commit is contained in:
@ -290,7 +290,7 @@ table {
|
|||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hdr-social {
|
.hdr-links {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: .6em;
|
margin-left: .6em;
|
||||||
|
|
||||||
@ -431,7 +431,7 @@ p.img-404 {
|
|||||||
opacity: .9;
|
opacity: .9;
|
||||||
}
|
}
|
||||||
|
|
||||||
#home-social {
|
#home-links {
|
||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: .8;
|
opacity: .8;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<p id="home-subtitle">{{.}}</p>
|
<p id="home-subtitle">{{.}}</p>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Site.Params.socialLinks }}
|
{{- with .Site.Params.socialLinks }}
|
||||||
<div id="home-social">
|
<div id="home-links">
|
||||||
{{ partialCached "social-icons.html" . }}
|
{{ partialCached "social-icons.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<button id="toc-btn" class="hdr-btn desktop-only-ib" title="{{i18n "tableOfContents"}}">{{- partial "svg.html" (dict "context" . "name" "toc") -}}</button>
|
<button id="toc-btn" class="hdr-btn desktop-only-ib" title="{{i18n "tableOfContents"}}">{{- partial "svg.html" (dict "context" . "name" "toc") -}}</button>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.socialLinks -}}
|
{{- with .Site.Params.socialLinks -}}
|
||||||
<span class="hdr-social hide-in-mobile">{{- partialCached "social-icons.html" . -}}</span>
|
<span class="hdr-links hide-in-mobile">{{- partialCached "social-icons.html" . -}}</span>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if and (not (eq .Site.Params.shareSocial nil)) (.Site.Params.shareSocial) (templates.Exists "partials/social-share.html") -}}{{- partial "social-share.html" . -}}{{- end -}}
|
{{- if and (not (eq .Site.Params.shareSocial nil)) (.Site.Params.shareSocial) (templates.Exists "partials/social-share.html") -}}{{- partial "social-share.html" . -}}{{- end -}}
|
||||||
<button id="menu-btn" class="hdr-btn" title="{{i18n "menu"}}">{{- partial "svg.html" (dict "context" . "name" "menuBtn") -}}</button>
|
<button id="menu-btn" class="hdr-btn" title="{{i18n "menu"}}">{{- partial "svg.html" (dict "context" . "name" "menuBtn") -}}</button>
|
||||||
|
Reference in New Issue
Block a user