mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-24 02:20:50 +02:00
11 lines
428 B
HTML
11 lines
428 B
HTML
{{/*
|
|
Docs: https://docs.hugoblox.com/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>
|