Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/budparr/gohugo-theme-ananke.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/func/warn.html')
-rw-r--r--layouts/partials/func/warn.html15
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