24 lines
404 B
HTML
24 lines
404 B
HTML
|
{{- /*
|
||
|
Displays an internal link without a title
|
||
|
|
||
|
@params pc Page context
|
||
|
@params sc Site context
|
||
|
*/
|
||
|
-}}
|
||
|
|
||
|
|
||
|
<!-- Validation -->
|
||
|
|
||
|
{{- if ( not ( isset . "sc" ) ) -}}
|
||
|
{{- errorf "No site context received" -}}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{- if ( not ( isset . "pc" ) ) -}}
|
||
|
{{- errorf "No page context received (%q)" .sc.Page.File.Dir -}}
|
||
|
{{- end -}}
|
||
|
|
||
|
|
||
|
<!-- Rendering -->
|
||
|
|
||
|
<li><a href="{{ . }}">Link</a></li>
|