Tweak config document header
This commit is contained in:
parent
97daed5190
commit
9b05695d44
|
@ -6,7 +6,7 @@
|
|||
#+email: contact@tecosaur.net
|
||||
#+date: @@html:<!--@@{{{git-rev}}}@@html:-->@@@@latex:\\\Large\bfseries@@ {{{modification-time(%Y-%m-%d, t)}}} @@latex:\\\normalsize\mdseries@@{{{modification-time(%H:%M, t)}}} @@latex:\acr{\lowercase{@@{{{timezone}}}@@latex:}}\iffalse@@, {{{git-rev}}}@@latex:\fi@@
|
||||
#+macro: timezone (eval (substring (shell-command-to-string "date +%Z") 0 -1))
|
||||
#+macro: git-rev (eval (format "@@html:<a href=\"https://github.com/tecosaur/emacs-config/commit/%1$s\" style=\"text-decoration: none\"><code style=\"padding: 0; color: var(--text-light); font-size: inherit; opacity: 0.7\">%1$s</code></a>@@@@latex:\\href{https://github.com/tecosaur/emacs-config/commit/%1$s}{\\normalsize\\texttt{%1$s}}@@" (substring (shell-command-to-string "git rev-parse --short HEAD") 0 -1)))
|
||||
#+macro: git-rev (eval (format "@@html:<a href=\"https://git.tecosaur.net/tec/emacs-config/commit/%1$s\" style=\"text-decoration: none\"><code style=\"padding: 0; color: var(--text-light); font-size: inherit; opacity: 0.7\">%1$s</code></a>@@@@latex:\\href{https://git.tecosaur.net/tec/emacs-config/commit/%1$s}{\\normalsize\\texttt{%1$s}}@@" (substring (shell-command-to-string "git rev-parse --short HEAD") 0 -1)))
|
||||
#+html_head: <link rel='shortcut icon' type='image/png' href='https://www.gnu.org/software/emacs/favicon.png'>
|
||||
#+property: header-args:emacs-lisp
|
||||
#+property: header-args:elisp :results replace :exports code
|
||||
|
@ -28,7 +28,7 @@
|
|||
<img src="https://git-scm.com/images/logos/downloads/Git-Icon-Black.svg"
|
||||
class="invertible" alt="Git"
|
||||
style="height: 1em; position: relative; top: 0.1em;">
|
||||
Visit repository</a> 
|
||||
Repository</a> 
|
||||
<a href="https://liberapay.com/tec"
|
||||
style="position: relative;top: clamp(-22px, calc(1280px - 100vw), 0px);">
|
||||
<img src="https://shields.io/badge/support%20my%20efforts-f6c915?logo=Liberapay&style=flat&logoColor=black"
|
||||
|
|
Loading…
Reference in New Issue