diff --git a/moderncv.cls b/moderncv.cls index aa93433..2842783 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -274,6 +274,7 @@ \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}{codeberg}} {\collectionadd[codeberg]{socials} {\protect\httpslink[#3]{codeberg.org/#3}}} {}% + \ifthenelse{\equal{#1}{discord}} {\collectionadd[discord]{socials} {#3}} {}% } {\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}% @@ -329,6 +330,7 @@ \newcommand*{\matrixsocialsymbol} {} \newcommand*{\signalsocialsymbol} {} \newcommand*{\codebergsocialsymbol} {} +\newcommand*{\discordsocialsymbol} {} % other %------ diff --git a/moderncviconsawesome.sty b/moderncviconsawesome.sty index 35250fd..7e199e6 100644 --- a/moderncviconsawesome.sty +++ b/moderncviconsawesome.sty @@ -48,6 +48,7 @@ %\renewcommand*{\googlescholarsocialsymbol}{} \renewcommand*{\telegramsocialsymbol} {{\small\faTelegram}~} \renewcommand*{\whatsappsocialsymbol} {{\small\faWhatsapp}~} +\renewcommand*{\discordsocialsymbol} {{\small\faDiscord}~} %\renewcommand*{\signalsocialsymbol} {} %\renewcommand*{\matrixsocialsymbol} {} \renewcommand*{\bornsymbol} {{\small\faAsterisk}~} % alternative: \faBabyCarriage diff --git a/template.tex b/template.tex index 8c4b88e..89a85b4 100644 --- a/template.tex +++ b/template.tex @@ -73,6 +73,7 @@ \social[whatsapp]{12345678901} % optional, remove / comment the line if not wanted \social[signal]{12345678901} % optional, remove / comment the line if not wanted \social[matrix]{@johndoe:matrix.org} % optional, remove / comment the line if not wanted +\social[discord]{jdoe\#0000} % optional, remove / comment the line if not wanted