From 22904a0d2cd831ed6d37de4cc64f56016ac9ab8f Mon Sep 17 00:00:00 2001 From: Byron Hawkins Date: Sat, 12 Aug 2023 21:58:05 +0200 Subject: [PATCH] Replace google scholar id with author's name The google scholar id is machine generated garble that is not intended to be displayed as a handle. In the social section, it would be better to at least display the author's name on the link instead of that id code. --- moderncv.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderncv.cls b/moderncv.cls index 271ca6c..d9cb919 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -308,7 +308,7 @@ \ifthenelse{\equal{#1}{whatsapp}} {\collectionadd[whatsapp]{socials} {\protect\httpslink[#3]{wa.me/#3}}} {}% \ifthenelse{\equal{#1}{signal}} {\collectionadd[signal]{socials} {#3}} {}% \ifthenelse{\equal{#1}{matrix}} {\collectionadd[matrix]{socials} {\httpslink[#3]{matrix.to/\#/#3}}} {}% - \ifthenelse{\equal{#1}{googlescholar}}{\collectionadd[googlescholar]{socials}{\protect\httpslink[#3]{scholar.google.com/citations?user=#3}}} {}% + \ifthenelse{\equal{#1}{googlescholar}}{\collectionadd[googlescholar]{socials}{\protect\httpslink[\@firstname{}~\@lastname{}]{scholar.google.com/citations?user=#3}}} {}% \ifthenelse{\equal{#1}{codeberg}} {\collectionadd[codeberg]{socials} {\protect\httpslink[#3]{codeberg.org/#3}}} {}% \ifthenelse{\equal{#1}{discord}} {\collectionadd[discord]{socials} {#3}} {}% \ifthenelse{\equal{#1}{twitch}} {\collectionadd[twitch]{socials} {\protect\httpslink[#3]{twitch.tv/#3}}} {}%