mirror of
https://github.com/distribution/distribution.git
synced 2025-09-12 13:23:32 +00:00
docs: add hugo site
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
14
docs/themes/hugo-geekdoc/layouts/shortcodes/columns.html
vendored
Normal file
14
docs/themes/hugo-geekdoc/layouts/shortcodes/columns.html
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
{{- $size := default "regular" (.Get "size" | lower) }}
|
||||
|
||||
{{- if not (in (slice "regular" "large" "small") $size) }}
|
||||
{{- $size = "regular" }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
<div class="gdoc-columns gdoc-columns--{{ $size }} flex flex-gap flex-mobile-column">
|
||||
{{- range split .Inner "<--->" }}
|
||||
<div class="gdoc-columns__content gdoc-markdown--nested flex-even">
|
||||
{{ . | $.Page.RenderString -}}
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
Reference in New Issue
Block a user