update theme
This commit is contained in:
parent
920db1a5ce
commit
43ddb22f80
17 changed files with 1462 additions and 207 deletions
|
@ -1,4 +1,8 @@
|
|||
{{- $resource := .Page.Resources.GetMatch ($.Get 0) -}}
|
||||
{{- with $resource -}}
|
||||
{{- $resource.RelPermalink -}}
|
||||
{{- $src := $.Page.Resources.GetMatch ($.Get 0) -}}
|
||||
{{- if ( not $src ) -}}
|
||||
{{- errorf "No Page Resource found for src '%q' (%q)" ( $.Get 0 ) .Page.File.Path -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- with $src -}}
|
||||
{{- .RelPermalink -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue