From 94f433b0d23a0f438d42db171b7315f5b05ef5b0 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Mon, 15 Apr 2024 01:00:22 +0300 Subject: [PATCH] classic: update Header.j2.tex for connections without urls --- rendercv/themes/classic/Header.j2.tex | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/rendercv/themes/classic/Header.j2.tex b/rendercv/themes/classic/Header.j2.tex index 770cd3d..d0db756 100644 --- a/rendercv/themes/classic/Header.j2.tex +++ b/rendercv/themes/classic/Header.j2.tex @@ -10,8 +10,14 @@ \normalsize ((* for connection in cv.connections *)) - \mbox{\hrefWithoutArrow{<>}{{\footnotesize<>}\hspace*{0.13cm}<>}} - \hspace*{<>} + \mbox{ + ((* if connection["url"] *)) + \hrefWithoutArrow{<>}{{\footnotesize<>}\hspace*{0.13cm}<>} + ((* else *)) + {\footnotesize<>}\hspace*{0.13cm}<> + ((* endif *)) + } + \kern <> ((* endfor *)) \end{header}