summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe ROGER <darwiin@users.noreply.github.com>2018-08-09 05:29:12 +1100
committerGitHub <noreply@github.com>2018-08-09 05:29:12 +1100
commita00d58ae0290c666b756c04684053e9c304416cd (patch)
tree4a1eb9c2c3a832ad98e443efc940e61f9a1238da
parentdd168cbcb7e20dcbedc0735326c148b06da8e9c4 (diff)
parentd4433b33d1a8501909003df8de216bf96db7e92b (diff)
downloadcv-a00d58ae0290c666b756c04684053e9c304416cd.tar.gz
cv-a00d58ae0290c666b756c04684053e9c304416cd.tar.bz2
cv-a00d58ae0290c666b756c04684053e9c304416cd.tar.xz
cv-a00d58ae0290c666b756c04684053e9c304416cd.zip
Merge pull request #12 from nieldeokar/patch-1
Render Medium profile
-rwxr-xr-xyaac-another-awesome-cv.cls5
1 files changed, 5 insertions, 0 deletions
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls
index 6a752a7..f131767 100755
--- a/yaac-another-awesome-cv.cls
+++ b/yaac-another-awesome-cv.cls
@@ -173,6 +173,7 @@
\newcommand{\viadeoSymbol}{\faViadeo}
\newcommand{\mobileSymbol}{\faMobilePhone}
\newcommand{\githubSymbol}{\faGithub}
+\newcommand{\mediumSymbol}{\faMedium}
\newcommand\link[2]{\color{linkcolor}\href{#1}{#2}\color{Black} }
\newcommand\important[1]{\textbf #1}
@@ -234,6 +235,10 @@
% Usage: \github{<github-nick>}
\newcommand*{\github}[1]{\sociallink{\githubSymbol}{https://www.github.com/#1}{github.com/#1}} % Github icon + URL
+% Render author's medium (optional)
+% Usage: \medium{<medium-nick>}
+\newcommand*{\medium}[1]{\sociallink{\mediumSymbol}{https://www.medium.com/@#1}{medium.com/#1}}
+
% Render author's email (optional)
% Usage: \email{<email adress>}
\newcommand*{\email}[1]{\sociallink{\mailSymbol}{mailto:#1}{#1}}