From 15b899b88b43902bc41fd9ddf4ee23808a139427 Mon Sep 17 00:00:00 2001 From: Egor Kotov Date: Wed, 10 Jul 2024 17:46:11 +0200 Subject: [PATCH] www with https in templates --- inst/rmarkdown/templates/hyndman/resources/hyndmantemplate.tex | 2 +- .../templates/twentyseconds/resources/twentysecondstemplate.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/rmarkdown/templates/hyndman/resources/hyndmantemplate.tex b/inst/rmarkdown/templates/hyndman/resources/hyndmantemplate.tex index 129854c1..d29bc85e 100644 --- a/inst/rmarkdown/templates/hyndman/resources/hyndmantemplate.tex +++ b/inst/rmarkdown/templates/hyndman/resources/hyndmantemplate.tex @@ -247,7 +247,7 @@ \def\imagetop#1{\vtop{\null\hbox{#1}}} \info{% $if(address)$\raisebox{-0.05cm}{\imagetop{\faIcon{map-marker-alt}}} & \imagetop{\begin{tabular}{@{}l@{}}$address$\end{tabular}}\\$endif$ % -$if(www)$\faIcon{home} & \href{http://$www$}{$www$}\\$endif$% % +$if(www)$\faIcon{home} & \href{https://$www$}{$www$}\\$endif$% % $if(pronouns)$\faIcon{comment} & $pronouns$\\$endif$% $if(phone)$\faIcon{phone-alt} & $phone$\\$endif$% $if(email)$\faIcon{envelope} & $email$\\$endif$% diff --git a/inst/rmarkdown/templates/twentyseconds/resources/twentysecondstemplate.tex b/inst/rmarkdown/templates/twentyseconds/resources/twentysecondstemplate.tex index da868afc..f964010e 100644 --- a/inst/rmarkdown/templates/twentyseconds/resources/twentysecondstemplate.tex +++ b/inst/rmarkdown/templates/twentyseconds/resources/twentysecondstemplate.tex @@ -76,7 +76,7 @@ $if(address)$\cvaddress{$address$}$else$\cvaddress{}$endif$ % Short address/location, use \newline if more than 1 line is required $if(pronouns)$\cvpronouns{$pronouns$}$else$\cvpronouns{}$endif$ % Pronouns $if(phone)$\cvnumberphone{$phone$}$else$\cvnumberphone{}$endif$ % Phone number -$if(www)$\cvsite{\href{http://$www$}{$www$}}$else$\cvsite{}$endif$ % Personal website +$if(www)$\cvsite{\href{https://$www$}{$www$}}$else$\cvsite{}$endif$ % Personal website $if(email)$\cvmail{$email$}$else$\cvmail{}$endif$ % Email address $if(twitter)$\cvtwitter{\href{https://twitter.com/$twitter$}{$twitter$}}$else$\cvtwitter{}$endif$ $if(github)$\cvgithub{\href{https://github.com/$github$}{$github$}}$else$\cvgithub{}$endif$