mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
fix: links
This commit is contained in:
parent
f9b227c335
commit
9b2e271c7c
830 changed files with 4612 additions and 1131 deletions
11
modules/blox-bootstrap/layouts/shortcodes/staticref.html
Normal file
11
modules/blox-bootstrap/layouts/shortcodes/staticref.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue