mirror of https://github.com/eyhc1/rendercv.git
fix a template bug in classic theme
This commit is contained in:
parent
8a4530e61a
commit
68cdfbfa8b
|
@ -40,7 +40,7 @@
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((* set page_numbering_style_placeholders = {
|
((* set page_numbering_style_placeholders = {
|
||||||
"NAME": cv.name,
|
"NAME": cv.name,
|
||||||
"PAGE_NUMBER": "\thepage",
|
"PAGE_NUMBER": "\\thepage{}",
|
||||||
"TOTAL_PAGES": "\pageref*{LastPage}"
|
"TOTAL_PAGES": "\pageref*{LastPage}"
|
||||||
} *))
|
} *))
|
||||||
\makeatletter
|
\makeatletter
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
% save the original href command in a new command:
|
% save the original href command in a new command:
|
||||||
\let\hrefWithoutArrow\href
|
\let\hrefWithoutArrow\href
|
||||||
% new command for external links:
|
% new command for external links:
|
||||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{}{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||||
|
|
||||||
\let\originalTabularx\tabularx
|
\let\originalTabularx\tabularx
|
||||||
\let\originalEndTabularx\endtabularx
|
\let\originalEndTabularx\endtabularx
|
||||||
|
|
Loading…
Reference in New Issue