Rename target.html to func-target.html

This commit is contained in:
Will Faught
2025-02-05 15:54:24 -08:00
parent bee5071d91
commit 3bcd1c93db
6 changed files with 7 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
{{ $params := . }}
{{ $page := $params.page }}
{{ $url := $params.url }}
{{ $external := cond (urls.Parse $url).IsAbs (not (strings.HasSuffix $url site.BaseURL)) false }}
{{ return cond (and $external ($page.Param "paige.external_link_new_tab" | not | not)) "_blank" "" }}