Add Google Maps social icon support.
Icon by https://icons8.com/icons/set/google-maps
This commit is contained in:
parent
de668f2349
commit
0141851185
@ -98,6 +98,9 @@ codepen = "#"
|
||||
googlescholar = "#"
|
||||
impactstory = "#"
|
||||
orcid = "#"
|
||||
|
||||
# Travel
|
||||
googlemaps = "#"
|
||||
```
|
||||
|
||||
|
||||
|
@ -73,6 +73,9 @@ disqusShortname = ""
|
||||
impactstory = "#"
|
||||
orcid = "#"
|
||||
|
||||
# Travel
|
||||
googlemaps = "#"
|
||||
|
||||
# Menu links along the sidebar navigation.
|
||||
[[menu.main]]
|
||||
identifier = "about"
|
||||
|
@ -218,6 +218,15 @@
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if isset .Site.Params "googlemaps" }}
|
||||
<a class="social-icon" href="{{ .Site.Params.GoogleMaps }}" target="_blank" rel="noopener" title="Google Maps">
|
||||
<!-- Google Maps icon by https://icons8.com/icons/set/google-maps -->
|
||||
<svg width="28px" height="28px" viewBox="0 0 50 50" version="1.1" fill="#ABABAB" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink">
|
||||
<path d="M28.292 1.326C27.226 1.116 26.127 1 25 1c-4.71 0-8.98 1.93-12.06 5.04l6.92 5.592L28.292 1.326zM18.595 13.178L11.62 7.55C9.35 10.43 8 14.07 8 18c0 2.281.452 4.487 1.304 6.534L18.595 13.178zM22.608 11.432C23.353 11.159 24.154 11 25 11c3.87 0 7 3.13 7 7 0 .338-.032.667-.078.992l7.772-9.499c-2.058-3.539-5.348-6.268-9.285-7.595L22.608 11.432zM27.341 24.591C26.608 24.851 25.822 25 25 25c-3.87 0-7-3.13-7-7 0-.354.034-.7.084-1.039l-7.803 9.537c.386.666.809 1.315 1.289 1.932.37.5.87 1.14 1.45 1.89 1.267 1.633 2.959 3.816 4.59 6.164L27.341 24.591zM18.778 38.215c2.082 3.184 3.852 6.497 4.172 9.055.14.99.99 1.73 1.99 1.73 1.02 0 1.87-.75 1.99-1.75.61-4.83 6.57-12.48 9.78-16.6.56-.72 1.05-1.35 1.5-1.94C40.65 25.69 42 21.89 42 18c0-2.322-.471-4.536-1.319-6.555L18.778 38.215z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user