From 886aad764105295887203b6e122686d1fa3e210d Mon Sep 17 00:00:00 2001 From: "Mark E. Fuller" Date: Tue, 8 Mar 2022 20:09:00 +0200 Subject: [PATCH] Discord social symbol --- moderncv.cls | 2 ++ moderncviconsawesome.sty | 1 + template.tex | 1 + 3 files changed, 4 insertions(+) diff --git a/moderncv.cls b/moderncv.cls index d7180c4..ce4c1df 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -275,6 +275,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}}}}% @@ -330,6 +331,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