mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
21.29.2024 f6a3af3f4a783ced8f841f423d8acb433901c18e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 . }}