From: fennecJ <58484289+fennecJ@users.noreply.github.com> Date: Tue, 31 Aug 2021 15:49:18 +0000 (+0800) Subject: Add GitHub buttons in rendered HTML (#85) X-Git-Tag: latest~123 X-Git-Url: https://www.ivnss.com/gitweb/?a=commitdiff_plain;h=0e11c00e1bbf176c5ab7b721d5a5c71842bd8293;p=lkmpg Add GitHub buttons in rendered HTML (#85) GitHub buttons are rendered in the generated HTML: one is GitHub project page; another is PDF download. Close #84 --- diff --git a/html.cfg b/html.cfg index 3b0dd5c..fa779bd 100644 --- a/html.cfg +++ b/html.cfg @@ -51,9 +51,20 @@ right: 50px; }} -\begin{document} -\EndPreamble +\Css{.right { + text-align: right; +}} -\begin{flushright} -\href{https://github.com/sysprog21/lkmpg/releases/download/latest/lkmpg.pdf}{Download PDF document} -\end{flushright} \ No newline at end of file +\AtBeginDocument{% +\Configure{@HEAD}{\HCode{ + +
+ \Hnewline}} +} + +\begin{document} +\EndPreamble \ No newline at end of file