diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-09 01:53:20 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-09 01:53:20 +0200 |
| commit | 3f707236426b15a8965fb04ea2b32871b1b1ee9e (patch) | |
| tree | ede11187cca3a58e40df555835fccdefcf2ae6c9 /layouts/_default/baseof.html | |
| parent | 772c9f22cfe61b056d1de045e4721b1235083bd5 (diff) | |
| download | gohugo-theme-ed-3f707236426b15a8965fb04ea2b32871b1b1ee9e.tar.gz | |
Pass data type to html main
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 149d500..1a777b3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,7 +13,7 @@ </div> </header> - <main class="container content" role="main" id="main"> + <main class="container content" role="main" id="main" data-type="{{ .Type }}"> {{- block "main" . }}{{- end }} </main> </div> |
