From e89ef3459560640a0827039ca886fd5bd0a2d67c Mon Sep 17 00:00:00 2001 From: Cali Garmo Date: Wed, 28 Aug 2024 07:08:52 -0700 Subject: [PATCH] Add socials for fancy and banking themes --- moderncvheadiii.sty | 2 ++ moderncvheadv.sty | 2 ++ 2 files changed, 4 insertions(+) diff --git a/moderncvheadiii.sty b/moderncvheadiii.sty index c3fafce..41c32ef 100644 --- a/moderncvheadiii.sty +++ b/moderncvheadiii.sty @@ -157,6 +157,8 @@ \ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}% \ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol% \ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}% + \collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link + \makenewline\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}% \ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}\fi% \end{minipage}\\[2em] % recipient block diff --git a/moderncvheadv.sty b/moderncvheadv.sty index eaabd4a..157276d 100644 --- a/moderncvheadv.sty +++ b/moderncvheadv.sty @@ -158,6 +158,8 @@ \ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}% \ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol% \ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}% + \collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link + \makenewline\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}% \ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}\fi% \end{minipage}\\[2em] % recipient block