-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support HTTPS homepage URLs and deprecate the \httplink macro
- Deprecate the \httplink macro as it was to unflexible and did only support links to URLs using the (legacy) HTTP schema and not the new default HTTPS. Use \link. - Change the format of the \homepage macro to support HTTPS homepage URLs. Note that you will need to update your \homepage calls to make it work with the new version. - Switched \social URLs to HTTPS which has long been the default of all the sites supported by \social. Partly mechanical edit: ```Shell git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's#\\isundefined\{\\@homepage\}#\\isundefined{\\@homepage@url}#g;s#\\httplink\{\\@homepage\}#\\link\[\\@homepage@text\]\{\\@homepage@url\}#g;' ``` Closes: #6 There should be *no* reason, for people to downgrade to http links just because moderncv only supports legacy URL schemes. Ref: gshakhn/resume@b8c93b9
- Loading branch information
Showing
15 changed files
with
45 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,9 +28,9 @@ | |
\address{calle y n\'umero}{c\'odigo postal y ciudad} % dato opcional, elimine la linea si no desea el dato | ||
\phone[mobile]{+1~(234)~567~890} % dato opcional, elimine la linea si no desea el dato | ||
\phone[fixed]{+2~(345)~678~901} % dato opcional, elimine la linea si no desea el dato | ||
\phone[fax]{+3~(456)~789~012} % dato opcional, elimine la linea si no desea el dato | ||
\phone[fax]{+3~(456)~789~012} % dato opcional, elimine la linea si no desea el dato | ||
\email{[email protected]} % dato opcional, elimine la linea si no desea el dato | ||
\homepage{www.johndoe.com} % dato opcional, elimine la linea si no desea el dato | ||
\homepage{https://www.johndoe.com}{www.johndoe.com} % dato opcional, elimine la linea si no desea el dato | ||
\extrainfo{informacion adicional} % dato opcional, elimine la linea si no desea el dato | ||
\photo[64pt][0.4pt]{picture} % '64pt' es la altura a la que la imagen debe ser ajustada, 0.4pt es grosor del marco que lo contiene (eliga 0pt para eliminar el marco) y 'picture' es el nombre del archivo; dato opcional, elimine la linea si no desea el dato | ||
\quote{Alguna cita (opcional)} % dato opcional, elimine la linea si no desea el dato | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,9 +31,9 @@ | |
\phone[fixed]{+2~(345)~678~901} | ||
\phone[fax]{+3~(456)~789~012} | ||
\email{[email protected]} % optional, remove / comment the line if not wanted | ||
\homepage{www.johndoe.com} % optional, remove / comment the line if not wanted | ||
\homepage{https://www.johndoe.com}{www.johndoe.com}% optional, remove / comment the line if not wanted | ||
\social[linkedin]{john.doe} % optional, remove / comment the line if not wanted | ||
\social[xing]{john\_doe} % optional, remove / comment the line if not wanted | ||
\social[xing]{john\textunderscore doe} % optional, remove / comment the line if not wanted | ||
\social[twitter]{jdoe} % optional, remove / comment the line if not wanted | ||
\social[github]{jdoe} % optional, remove / comment the line if not wanted | ||
\social[gitlab]{jdoe} % optional, remove / comment the line if not wanted | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
\phone[fixed]{+2~(345)~678~901} % 可选项、如不需要可删除本行 | ||
\phone[fax]{+3~(456)~789~012} % 可选项、如不需要可删除本行 | ||
\email{[email protected]} % 可选项、如不需要可删除本行 | ||
\homepage{www.xialongli.com} % 可选项、如不需要可删除本行 | ||
\homepage{https://www.xialongli.com}{www.xialongli.com} % 可选项、如不需要可删除本行 | ||
\extrainfo{附加信息 (可选项)} % 可选项、如不需要可删除本行 | ||
\photo[64pt][0.4pt]{picture} % ‘64pt’是图片必须压缩至的高度、‘0.4pt‘是图片边框的宽度 (如不需要可调节至0pt)、’picture‘ 是图片文件的名字;可选项、如不需要可删除本行 | ||
\quote{引言(可选项)} % 可选项、如不需要可删除本行 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,9 +31,9 @@ | |
\phone[fixed]{+2~(345)~678~901} | ||
\phone[fax]{+3~(456)~789~012} | ||
\email{[email protected]} % optional, remove / comment the line if not wanted | ||
\homepage{www.johndoe.com} % optional, remove / comment the line if not wanted | ||
\homepage{https://www.johndoe.com}{www.johndoe.com}% optional, remove / comment the line if not wanted | ||
\social[linkedin]{john.doe} % optional, remove / comment the line if not wanted | ||
\social[xing]{john\_doe} % optional, remove / comment the line if not wanted | ||
\social[xing]{john\textunderscore doe} % optional, remove / comment the line if not wanted | ||
\social[twitter]{jdoe} % optional, remove / comment the line if not wanted | ||
\social[github]{jdoe} % optional, remove / comment the line if not wanted | ||
\social[gitlab]{jdoe} % optional, remove / comment the line if not wanted | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters