hugo-theme-zzo/layouts/partials/functions/parse_grid.html

13 lines
678 B
HTML
Raw Normal View History

2019-11-11 14:44:13 +00:00
{{- $scr := .Scratch -}}
{{ $grid := .Site.Data.grid }}
{{- $scr.Set "grid_max_width" $grid.grid_max_width -}}
{{- $scr.Set "grid_max_unit" $grid.grid_max_unit -}}
2019-11-11 14:44:13 +00:00
{{- $scr.Set "grid_main_main_width" $grid.grid_main_main_width -}}
{{- $scr.Set "grid_main_main_unit" $grid.grid_main_main_unit -}}
{{- $scr.Set "grid_main_side_width" $grid.grid_main_side_width -}}
{{- $scr.Set "grid_main_side_unit" $grid.grid_main_side_unit -}}
{{- $scr.Set "grid_column_gap_width" $grid.grid_column_gap_width -}}
{{- $scr.Set "grid_column_gap_unit" $grid.grid_column_gap_unit -}}
2019-11-11 14:44:13 +00:00
{{- $scr.Set "grid_navbar_height" $grid.grid_navbar_height -}}
{{- $scr.Set "grid_row_gap" $grid.grid_row_gap -}}