Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hh.ru icon support in footer #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions exampleSite/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ params:
twitter: https://twitter.com
instagram: https://instagram.com
facebook: https://facebook.com
headhunter: https://hh.ru

# List pages like blogs and posts
listPages:
Expand Down
12 changes: 12 additions & 0 deletions layouts/partials/sections/footer/socialNetwork.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
</span>
{{ end }}

{{ if .Site.Params.footer.socialNetworks.headhunter }}
<span class="px-1">
<a href="{{ .Site.Params.footer.socialNetworks.headhunter }}" aria-label="headhunter">
<svg width="44px" height="44px" viewBox="0 0 280 280" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M140 280C217.321 280 280 217.321 280 140C280 62.6792 217.321 0 140 0C62.6792 0 0 62.6792 0 140C0 217.321 62.6792 280 140 280" fill="#D6001C"/>
<path d="M79 73V120.472C86.3008 111.854 94.8506 107.517 105 107.517C110.227 107.517 114.789 108.505 118.989 110.465C123.2 112.413 126.348 114.913 128.474 117.948C130.612 121.013 132.057 124.368 132.838 128.066C133.614 131.747 134.001 137.474 134.001 145.243V196H111V150.284C111 141.213 110.907 135.468 110.043 133.026C109.234 130.634 107.63 128.584 105.491 127.211C103.306 125.752 100.587 125.031 97.3036 125.031C93.5446 125.031 90.1732 125.961 87.2423 127.81C84.2469 129.671 82.0972 132.45 80.7345 136.166C79.3484 139.887 78.9765 145.382 79 152.657V196H56.0012V73H79Z" fill="white"/>
<path d="M168.999 73V120.472C176.3 111.854 184.849 107.517 194.999 107.517C200.226 107.517 204.788 108.505 208.987 110.465C213.199 112.413 216.347 114.913 218.473 117.948C220.611 121.013 222.056 124.368 222.837 128.066C223.612 131.747 224 137.474 224 145.243V196H200.999V150.284C200.999 141.213 200.905 135.468 200.042 133.026C199.233 130.634 197.628 128.584 195.49 127.211C193.305 125.752 190.586 125.031 187.302 125.031C183.543 125.031 180.172 125.961 177.241 127.81C174.246 129.671 172.096 132.45 170.733 136.166C169.347 139.887 168.975 145.382 168.999 152.657V196H146V73H168.999Z" fill="white"/>
</svg>
</a>
</span>
{{ end }}

{{ if .Site.Params.footer.socialNetworks.twitter }}
<a href="{{ .Site.Params.footer.socialNetworks.twitter }}" aria-label="twitter">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48px" height="48px">
Expand Down