mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-27 03:25:16 +02:00
staticref shortcode: Fix formatting by removing whitespace (Fix #295)
This commit is contained in:
parent
2e3e8b7e31
commit
f752b362f0
2 changed files with 4 additions and 3 deletions
|
@ -15,3 +15,6 @@ max_line_length = 100
|
|||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[layouts/shortcodes/*.html]
|
||||
insert_final_newline = false
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
<a href="{{ .Get 0 | absURL }}"{{ if len .Params | eq 2 }} target="_blank"{{ end }}>
|
||||
{{ .Inner }}
|
||||
</a>
|
||||
<a href="{{ .Get 0 | absURL }}"{{ if len .Params | eq 2 }} target="_blank"{{ end }}>{{ .Inner }}</a>
|
Loading…
Add table
Add a link
Reference in a new issue