new social icons & Google Analytics fix

This commit is contained in:
kimcc 2020-03-09 20:00:10 -05:00
parent 166582cd95
commit 43bcb579a2
2 changed files with 37 additions and 5 deletions

View File

@ -6,6 +6,12 @@ enableRobotsTXT = true
paginate = 4 # Set the number of posts to show before overflowing to the next page.
summaryLength = 10 # Configure how long the post summary should be on the homepage.
# Add your Google Analytics identifier: UA-XXXXXXXX-X
googleAnalytics = ""
# Add your Disqus shortname here.
disqusShortname = ""
[taxonomies]
tag = "tags"
@ -31,6 +37,7 @@ summaryLength = 10 # Configure how long the post summary should be on the homepa
reddit = "#"
pinterest = "#"
youtube = "#"
vimeo = "#"
weibo = "#"
vk = "#"
linkedin = "#"
@ -52,11 +59,10 @@ summaryLength = 10 # Configure how long the post summary should be on the homepa
gitlab = "#"
codepen = "#"
# Add your Disqus shortname here.
disqusShortname = ""
# Add your Google Analytics identifier: UA-XXXXXXXX-X
googleAnalytics = ""
# Academic
google-scholar = "#"
impactstory = "#"
orcid = "#"
# Menu links along the sidebar navigation.
[[menu.main]]

View File

@ -183,6 +183,32 @@
</svg>
</a>
{{ end }}
{{ if isset .Site.Params "google-scholar" }}
<a class="social-icon" href="{{ .Site.Params.GoogleScholar }}" target="_blank" rel="noopener" title="Google Scholar">
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" fill="#ABABAB" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink">
<path d="M15.7399177,5.48151786 C15.149924,4.82272859 14.4663239,4.49480724 13.6933878,4.49480724 C12.8185607,4.49480724 12.1471312,4.80966127 11.6791845,5.43796013 C11.2112379,6.06433732 10.9771365,6.82326666 10.9771365,7.71483354 C10.9771365,8.47423262 11.1052474,9.24733956 11.3616402,10.035649 C11.6170934,10.8236168 12.0350768,11.5270314 12.6210136,12.1470458 C13.2049434,12.7685974 13.8844439,13.0787968 14.6564833,13.0787968 C15.5171327,13.0787968 16.189459,12.7903763 16.671626,12.2137916 C17.1517432,11.6379755 17.3927199,10.9111166 17.3927199,10.035649 C17.3927199,9.29000051 17.2655484,8.50924961 17.0102233,7.69296927 C16.7561365,6.87562134 16.3319184,6.13812924 15.739875,5.48156056 L15.7399177,5.48151786 Z M24.3072528,4.96950105 L24.3072528,13.3462071 C24.3072528,13.7339989 23.9898792,14.0515006 23.6019592,14.0515006 L23.3422783,14.0515006 C22.9543156,14.0515006 22.6369848,13.7341271 22.6369848,13.3462071 L22.6369848,4.96950105 C22.6369848,4.62513879 22.5869788,4.33765779 23.068249,4.27714671 L23.068249,3.16262405 L19.3634081,6.20120253 C19.4061972,6.28058863 19.446851,6.33132057 19.4854124,6.39789556 C19.8110278,6.97418137 19.9768461,7.69087679 19.9768461,8.56681414 C19.9768461,9.23824368 19.8649625,9.84134739 19.638078,10.3740328 C19.4122611,10.9065473 19.1375912,11.3415267 18.817143,11.6765369 C18.496652,12.0127855 18.1752643,12.3201237 17.8538766,12.5967152 C17.5324462,12.8739047 17.2577763,13.162923 17.0328135,13.4629589 C16.8060571,13.7620125 16.6932767,14.0712297 16.6932767,14.3917206 C16.6932767,14.7126813 16.8397076,15.0387237 17.1317151,15.3673283 C17.4226551,15.6968724 17.7805972,16.0162103 18.2038758,16.3317049 C18.6279231,16.6450216 19.0510736,16.9928002 19.4743522,17.3712399 C19.8985703,17.74921 20.2545052,18.2354765 20.5454452,18.8259399 C20.8385631,19.4186239 20.9848231,20.071093 20.9848231,20.7882582 C20.9848231,21.7343577 20.7435475,22.5887297 20.2626616,23.3491963 C19.7802812,24.1064175 19.1518542,24.7106315 18.3796867,25.1537246 C17.6054695,25.599807 16.777531,25.9355858 15.8945476,26.1623422 C15.0097279,26.3870488 14.1317408,26.5 13.2548639,26.5 C12.7014246,26.5 12.1429889,26.4573818 11.5814359,26.3697112 C11.0178757,26.2822114 10.4532907,26.1276668 9.8847343,25.9098782 C9.31502485,25.6906377 8.81052389,25.4214338 8.37319577,25.0981672 C7.93475736,24.778146 7.58181166,24.3652016 7.3111559,23.862238 C7.04054285,23.3591036 6.90615445,22.7936645 6.90615445,22.1655364 C6.90615445,21.4203577 7.1136515,20.7291563 7.52975591,20.0847582 C7.94586031,19.4451002 8.49707907,18.9108775 9.18272893,18.487727 C10.3789864,17.7434877 12.2558547,17.2836547 14.8102164,17.1098936 C14.2262867,16.3799173 13.9333396,15.6928582 13.9333396,15.0498693 C13.9333396,14.6841125 14.0289531,14.2920503 14.218173,13.8687717 C13.9130554,13.9113899 13.5987992,13.9355175 13.2781801,13.9355175 C11.9059836,13.9355175 10.7472627,13.4894351 9.80628769,12.5911638 C8.86535538,11.6944724 8.39535897,10.5719642 8.39535897,9.21488479 C8.39535897,9.07298054 8.39941581,8.94802965 8.40970739,8.8095417 L2.83316537,8.8095417 L11.2417283,1.5 L25.1668346,1.5 L23.87996,2.50451805 L23.87996,4.27748834 C24.3577712,4.3388962 24.3072955,4.62607827 24.3072955,4.96950105 L24.3072528,4.96950105 Z M15.8172967,17.9839947 C15.6566455,17.9549562 15.430914,17.9386434 15.1399313,17.9386434 C14.512273,17.9386434 13.8947782,17.9941154 13.2885571,18.1048887 C12.6822934,18.2126727 12.084186,18.3947184 11.4941496,18.6515809 C10.9019353,18.906906 10.423996,19.2823566 10.0597766,19.7787865 C9.69355004,20.274576 9.51150436,20.858463 9.51150436,21.5303623 C9.51150436,22.1706609 9.67215551,22.7419077 9.99371402,23.2394479 C10.3142049,23.7338281 10.7373127,24.1208513 11.2632509,24.3980408 C11.7891891,24.6756999 12.3405787,24.8854176 12.916224,25.0231795 C13.4929795,25.1600875 14.0799412,25.2311463 14.6780913,25.2311463 C15.8610679,25.2311463 16.8794647,24.9647609 17.7338794,24.4320756 C18.5863724,23.899561 19.0135798,23.0772595 19.0135798,21.9672634 C19.0135798,21.7338025 18.9810823,21.5040141 18.916856,21.2796064 C18.8498112,21.0527219 18.7835352,20.8585057 18.7185829,20.6972567 C18.6534171,20.5389543 18.529363,20.3483679 18.3462498,20.1286576 C18.1642041,19.9083067 18.0248194,19.7455631 17.9310848,19.6372239 C17.8354714,19.5253403 17.6565431,19.3656714 17.3929761,19.1545445 C17.131587,18.9425209 16.9647012,18.8103104 16.8904822,18.7614574 C16.8172027,18.7100422 16.6270434,18.5711699 16.3207728,18.3458227 C16.0147157,18.1186393 15.8468903,17.9981723 15.8173394,17.983952 L15.8172967,17.9839947 Z"></path>
</svg>
</a>
{{ end }}
{{ if isset .Site.Params "impactstory" }}
<a class="social-icon" href="{{ .Site.Params.Impactstory }}" target="_blank" rel="noopener" title="ImpactStory">
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" fill="#ABABAB" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink">
<path d="M4.20996571e-13,10.1451443 C0.0591196154,10.1855405 0.0833053846,10.1370443 0.0886846154,10.0966482 C0.223051154,9.37242508 0.661095,8.85807508 1.20125077,8.40042508 C2.15795423,7.5873097 2.74649192,6.55601354 2.96685346,5.31484431 C2.99103923,5.18285585 3.02060423,5.05097123 3.05284846,4.92178662 C3.31622308,3.85549431 3.99880385,3.2227597 5.05491923,2.98046585 C5.38546154,2.90508393 5.72410385,2.85392931 6.04654615,2.7516097 C6.97368462,2.45544046 7.75305,1.93579431 8.39533846,1.20345046 C8.49482308,1.08767239 8.59150385,0.97189431 8.69628462,0.858805849 C9.47025,0.0403008489 10.3947923,-0.19124492 11.4643038,0.156078926 C11.9077269,0.298773926 12.34575,0.449558541 12.8106692,0.514171618 C13.6518231,0.63263931 14.4714808,0.541098926 15.2696423,0.263777772 C15.5652923,0.161458157 15.8635385,0.0618385412 16.1752846,0.0214527719 C16.9680462,-0.0781668434 17.6399308,0.174927003 18.2123308,0.716110849 C18.3628038,0.856116233 18.4971808,1.0149697 18.6315577,1.17113354 C19.4539154,2.1242647 20.4858346,2.7031447 21.7220192,2.92662162 C21.8455962,2.94815931 21.9692769,2.969697 22.0901538,3.00201393 C23.2430538,3.298152 23.8772423,4.06827508 24.0708115,5.220552 C24.2911731,6.53181739 24.9038654,7.61150585 25.9196885,8.46501739 C26.0352692,8.56190585 26.1507462,8.66429816 26.2556308,8.77468662 C26.9462077,9.4854097 27.1477731,10.3255251 26.8925192,11.2786251 C26.7930346,11.6501866 26.6371615,12.005652 26.5565769,12.3825097 C26.3470154,13.3626097 26.4115038,14.3265097 26.7473423,15.2689135 C26.8495269,15.5569828 26.9436115,15.845052 26.9812038,16.1493212 C27.0752885,16.9624366 26.8199308,17.6516635 26.2502308,18.2306058 C26.1185538,18.3651905 25.9760769,18.4863789 25.8337038,18.6101635 C24.8850692,19.4367789 24.3045692,20.4679712 24.0815077,21.7065443 C24.0600115,21.8304328 24.0385154,21.9542174 24.0062192,22.0754058 C23.7267692,23.1711905 23.0172923,23.8093251 21.9235846,24.032802 C21.5903423,24.1000943 21.2571,24.1620905 20.9319577,24.2697789 C20.0370115,24.5686482 19.2818423,25.0828943 18.6584538,25.7910212 C18.5508692,25.9122097 18.4487885,26.0359943 18.3386077,26.1544828 C17.9999654,26.5125443 17.6049346,26.7791174 17.1266192,26.916402 C17.0782269,26.929902 16.9922423,26.9030058 16.9841423,26.9971943 C16.6804962,26.9971943 16.37415,26.9971943 16.0705038,26.9971943 C15.6162808,26.8491097 15.1675615,26.6849289 14.7026423,26.5691405 C14.2834154,26.464152 13.8560885,26.4264558 13.4260615,26.4291558 C12.5634115,26.434452 11.77065,26.7387212 10.9671923,26.9971943 C10.6796423,26.9971943 10.3947923,26.9971943 10.1072423,26.9971943 C10.0803462,26.921802 10.0023577,26.935302 9.94866923,26.919102 C9.44075769,26.7764174 9.02682692,26.4937482 8.67748846,26.1059866 C8.57000769,25.987602 8.46522692,25.8637135 8.35774615,25.7425251 C7.70735769,25.021002 6.92539615,24.506652 5.99285769,24.2266828 C5.71870385,24.1431905 5.43655385,24.0893982 5.15710385,24.035502 C4.0149,23.8093251 3.29742692,23.1361943 3.03135231,21.9946135 C3.00178731,21.8734251 2.98567038,21.7469405 2.96148462,21.625752 C2.78142577,20.680752 2.383695,19.8406366 1.74410654,19.1218135 C1.51836577,18.8660405 1.26574962,18.6371635 1.005075,18.4190866 C0.416537308,17.9290366 0.131676923,17.277402 0.00805846154,16.5396789 C4.20996571e-13,16.4965828 0.00268961539,16.4481905 0.0134376923,16.4077943 C0.11556,16.0227328 0.180058846,15.6296751 0.314425385,15.2500135 C0.736341923,14.0788366 0.722904231,12.8967558 0.309046154,11.7228789 C0.223051154,11.4779058 0.137056154,11.2328289 0.0967430769,10.9743558 C0.0886846154,10.9205635 0.102122308,10.8397712 0.00268961539,10.8478712 C4.20996571e-13,10.6108943 4.20996571e-13,10.3766174 4.20996571e-13,10.1451443 Z M1.87309385,13.4702982 C1.85428731,19.8137405 6.91729615,24.988602 13.2513923,25.1259905 C19.6688769,25.2632751 25.0382423,20.2040982 25.1376231,13.6560789 C25.2371077,7.13225585 20.1042,1.91425662 13.7029154,1.814637 C6.99518077,1.70693816 1.84353923,7.11335585 1.87309385,13.4702982 Z" id="Shape"></path>
<path d="M13.4852538,24.0461982 C7.72085769,24.1161905 2.81908038,19.2104982 2.93464038,13.2521174 C3.03945231,7.69489431 7.68056538,2.7622747 13.7298115,2.87805277 C19.4163231,2.98574123 24.1997885,7.74328662 24.0762115,13.6990712 C23.9579308,19.5093674 19.1045769,24.1322866 13.4852538,24.0461982 Z M15.1755577,14.0571328 C15.1755577,13.0878328 15.1755577,12.1185328 15.1755577,11.1493366 C15.1755577,11.0604443 15.1782577,10.968852 15.1648615,10.8800635 C15.1379654,10.6996828 15.0277846,10.5919943 14.8504154,10.5649943 C14.7805269,10.5542982 14.7080423,10.5569982 14.6354538,10.5569982 C13.4099654,10.5569982 12.1818808,10.5569982 10.9563923,10.5569982 C10.8946038,10.5569982 10.8301154,10.5542982 10.7683269,10.5622943 C10.5694615,10.5838943 10.4619808,10.6753828 10.4162885,10.8719635 C10.4001923,10.9419558 10.3947923,11.0146482 10.3947923,11.0846405 C10.3920923,11.6581828 10.3920923,12.2316212 10.3947923,12.8078635 C10.3974923,13.2198212 10.5291692,13.3463058 10.9510962,13.3490058 C11.2386462,13.3517058 11.5234962,13.3544058 11.8110462,13.3463058 C11.9454231,13.3436058 12.0099115,13.378602 11.9964115,13.5266866 C11.9857154,13.6882712 11.9937115,13.8498558 11.9937115,14.0113366 C11.9937115,15.0345328 11.9937115,16.0576251 11.9937115,17.0781212 C11.9937115,17.3230943 12.0153115,17.3176943 11.7653538,17.3176943 C11.4697038,17.3176943 11.1741577,17.3149943 10.8785077,17.3176943 C10.5506654,17.3230943 10.4001923,17.4657789 10.3947923,17.7969443 C10.3866923,18.4081828 10.3866923,19.0166174 10.3947923,19.6278558 C10.4001923,19.9752212 10.5452654,20.1179058 10.8919038,20.1179058 C12.6924923,20.1206058 14.4902769,20.1206058 16.2908654,20.1179058 C16.6348038,20.1179058 16.7745808,19.9698212 16.7772808,19.6197558 C16.7826808,19.0193174 16.7799808,18.4189828 16.7772808,17.8158443 C16.7745808,17.4657789 16.6322077,17.3257943 16.2881654,17.3203943 C16.0006154,17.3149943 15.7157654,17.3203943 15.4282154,17.3203943 C15.1782577,17.3203943 15.1782577,17.3176943 15.1782577,17.0727212 C15.1755577,16.0684251 15.1755577,15.0641289 15.1755577,14.0571328 Z M13.5739385,8.9656597 C13.9501731,8.9656597 14.3264077,8.9683597 14.6999423,8.9656597 C15.0438808,8.9629597 15.1702615,8.83917508 15.1729615,8.4972097 C15.1782577,7.87797508 15.1782577,7.26133662 15.1729615,6.642102 C15.1702615,6.31093662 15.0304846,6.170952 14.6945423,6.168252 C13.9528731,6.162852 13.2111,6.162852 12.4667308,6.168252 C12.1334885,6.170952 11.9911154,6.31633662 11.9884154,6.644802 C11.9857154,7.26403662 11.9830154,7.88067508 11.9884154,8.4999097 C11.9911154,8.83107508 12.1280885,8.9629597 12.4694308,8.9629597 C12.8402654,8.9683597 13.2058038,8.9656597 13.5739385,8.9656597 Z" id="Shape"></path>
</svg>
</a>
{{ end }}
{{ if isset .Site.Params "google-scholar" }}
<a class="social-icon" href="{{ .Site.Params.GoogleScholar }}" target="_blank" rel="noopener" title="Google Scholar">
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" fill="#ABABAB" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink">
<path d="M27,14 C27,21.1804687 21.1804687,27 14,27 C6.81953125,27 1,21.1804687 1,14 C1,6.81953125 6.81953125,1 14,1 C21.1804687,1 27,6.81953125 27,14 Z M9.76484375,19.9109375 L9.76484375,13.9492188 L9.76484375,9.03359375 L8.20078125,9.03359375 L8.20078125,19.9109375 L9.76484375,19.9109375 Z M12.0601563,9.03359375 L12.0601563,19.9210938 L16.3054688,19.9210938 C19.890625,19.9210938 22.0742188,17.2703125 22.0742188,14.4773437 C22.0742188,11.9078125 20.3070313,9.03359375 16.2851563,9.03359375 L12.0601563,9.03359375 Z M13.6242188,18.509375 L13.6242188,10.4453125 L16.03125,10.4453125 C19.078125,10.4453125 20.4695313,12.29375 20.4695313,14.4773437 C20.4695313,15.8179688 19.6570313,18.509375 16.1125,18.509375 L13.6242188,18.509375 Z M10.0085938,6.76875 C10.0085938,6.21015625 9.5515625,5.74296875 8.9828125,5.74296875 C8.4140625,5.74296875 7.95703125,6.2 7.95703125,6.76875 C7.95703125,7.32734375 8.4140625,7.79453125 8.9828125,7.79453125 C9.5515625,7.79453125 10.0085938,7.32734375 10.0085938,6.76875 Z"></path>
</svg>
</a>
{{ end }}
</div>