mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 10:04:04 +00:00
Hide github icon
Hide github icon if config.toml doesn't have github
This commit is contained in:

committed by
GitHub

parent
74797aae2f
commit
cbb3821703
@@ -82,10 +82,12 @@
|
|||||||
<div class="border-top py-3 clearfix hide-sm hide-md">
|
<div class="border-top py-3 clearfix hide-sm hide-md">
|
||||||
<h2 class="mb-1 h4">Organizations</h2>
|
<h2 class="mb-1 h4">Organizations</h2>
|
||||||
|
|
||||||
|
{{ if .Site.Params.github}}
|
||||||
<a class="avatar-group-item" data-hovercard-type="organization"
|
<a class="avatar-group-item" data-hovercard-type="organization"
|
||||||
href="https://github.com/{{ .Site.Params.github }}">
|
href="https://github.com/{{ .Site.Params.github }}">
|
||||||
<img src="{{ "images/github.png" | absURL }}" class="avatar" width="35" height="35">
|
<img src="{{ "images/github.png" | absURL }}" class="avatar" width="35" height="35">
|
||||||
</a>
|
</a>
|
||||||
|
{{ end }}
|
||||||
{{ if .Site.Params.Twitter}}
|
{{ if .Site.Params.Twitter}}
|
||||||
<a class="avatar-group-item" data-hovercard-type="organization"
|
<a class="avatar-group-item" data-hovercard-type="organization"
|
||||||
href="https://twitter.com/{{ .Site.Params.Twitter }}">
|
href="https://twitter.com/{{ .Site.Params.Twitter }}">
|
||||||
|
Reference in New Issue
Block a user