fix: links

This commit is contained in:
George Cushen 2023-11-07 23:09:38 +00:00
commit 9b2e271c7c
830 changed files with 4612 additions and 1131 deletions

View file

@ -0,0 +1,11 @@
{{/*
Docs: https://hugoblox.com/docs/content/writing-markdown-latex/#link-to-a-page
Parameters
----------
#0 : positional
URL for the link (if local path, it is relative to the page folder).
#1 : optional, positional
Pass "newtab" as the second argument to open the link in a new tab.
*/}}
<a href="{{ .Get 0 | relURL }}"{{ if len .Params | eq 2 }} target="_blank"{{ end }}>{{ .Inner }}</a>