diff options
Diffstat (limited to 'layouts/partials/func/warn.html')
-rw-r--r-- | layouts/partials/func/warn.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/partials/func/warn.html b/layouts/partials/func/warn.html new file mode 100644 index 0000000..b269906 --- /dev/null +++ b/layouts/partials/func/warn.html @@ -0,0 +1,15 @@ +{{/* + warn + Emits a warning using the theme's Header. + + @author @regisphilibert + + @context String + + @access private + + @example - Go Template + {{ partial "func/warn" $message }} +*/}} +{{ $header := "Ananke Theme Warning" }} +{{ warnf "\n%s:\n%s" $header . }}
\ No newline at end of file |