@ -12,7 +12,7 @@
{{ $outputstyle := cond hugo.IsProduction "compressed" "" }}
{{ if not $href }}
{{ errorf "paige/link: no href" }}
{{ errorf "layouts/partials/paige/link.html: no href" }}
{{ end }}
{{ with partial "paige/resource.html" $href }}
@ -20,7 +20,7 @@
{{ else if eq . "underline" }}
{{ $underline = true }}
{{ else if ne . "links" }}
{{ errorf "paige/menu: invalid menu style: %q" . }}
{{ errorf "layouts/partials/paige/menu.html: invalid menu style: %q" . }}
{{ else }}
{{ $pills = true }}
@ -5,7 +5,7 @@
{{ if (urls.Parse $url).Scheme }}
{{ with resources.GetRemote $url }}
{{ with .Err }}
{{ errorf "paige/resource: cannot get remote resource %q: %v" $url . }}
{{ errorf "layouts/partials/paige/resource.html: cannot get remote resource %q: %v" $url . }}
{{ $result = . }}
@ -9,7 +9,7 @@
{{ $type := $params.type }}
{{ if not $src }}
{{ errorf "paige/script: no src" }}
{{ errorf "layouts/partials/paige/script.html: no src" }}
{{ with partial "paige/resource.html" $src }}
@ -3,7 +3,7 @@
{{ $options := .Get "options" }}
{{ if not $content }}
{{ errorf "paige/code: no content" }}
{{ errorf "layouts/shortcodes/paige/code.html: no content" }}
<div class="paige-code">{{ highlight $content $lang $options }}</div>
{{ $width := .Get "width" }}
{{ errorf "paige/figure: no content" }}
{{ errorf "layouts/shortcodes/paige/figure.html: no content" }}
{{ $showcaption := $caption }}
@ -37,7 +37,7 @@
{{ else if eq $float "end" }}
{{ $sidemargin = "ms-4" }}
{{ errorf "paige/figure: invalid float: %q" $float }}
{{ errorf "layouts/shortcodes/paige/figure.html: invalid float: %q" $float }}
@ -15,7 +15,7 @@
{{ $resources := slice }}
{{ if and (not $images) (not $inner) }}
{{ errorf "paige/gallery: no content" }}
{{ errorf "layouts/shortcodes/paige/gallery.html: no content" }}
{{ if not $inner }}
@ -80,6 +80,6 @@
</div>
{{ errorf "paige/gallery: invalid type: %q" $type }}
{{ errorf "layouts/shortcodes/paige/gallery.html: invalid type: %q" $type }}
{{ $url := .Get "url" }}
{{ if not $class }}
{{ errorf "paige/icon: no class" }}
{{ errorf "layouts/shortcodes/paige/icon.html: no class" }}
<span class="paige-icon">
@ -2,7 +2,7 @@
{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }}
{{ errorf "paige/quote: no content" }}
{{ errorf "layouts/shortcodes/paige/quote.html: no content" }}
<div class="paige-quote">
@ -27,7 +27,7 @@
{{ if not $video }}
{{ errorf "paige/vimeo: no video" }}
{{ errorf "layouts/shortcodes/paige/vimeo.html: no video" }}
{{ $params := slice }}
{{ errorf "paige/youtube: no video" }}
{{ errorf "layouts/shortcodes/paige/youtube.html: no video" }}
{{ $host := cond site.Config.Privacy.YouTube.PrivacyEnhanced "www.youtube-nocookie.com" "www.youtube.com" }}