mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-16 22:14:17 +00:00
refactor: rename modules and update migration docs
BREAKING CHANGE Module paths moved to `github.com/HugoBlox/kit` with new names: - core `blox-tailwind` → `blox` - analytics → `analytics` - netlify → `integrations/netlify` - slides (reveal) → `slides` Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
This commit is contained in:
1 parent
e7e0c714d3
commit
f4280ddb1c
566 files changed
+134
-151
No files matched your search
@@ -0,0 +1,23 @@
|
||||
{{- /*
|
||||
Docs: https://docs.hugoblox.com/reference/markdown/#include
|
||||
|
||||
Parameters
|
||||
----------
|
||||
postional parameter 0 :
|
||||
Path to the Markdown file to include, relative to the `content` folder.
|
||||
|
||||
Example
|
||||
----------
|
||||
{{% include "snippet/intro" %}}
|
||||
*/ -}}
|
||||
|
||||
{{- with .Get 0 }}
|
||||
{{- $page := . -}}
|
||||
{{- with site.GetPage $page }}
|
||||
{{- .RenderShortcodes }}
|
||||
{{- else }}
|
||||
{{- errorf "The %q shortcode at %s could not locate %q" $.Name $.Position (printf "content/%s.md" .) }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{- errorf "Call the %q shortcode in %s with the path of the Markdown file to include." .Name .Position }}
|
||||
{{- end }}
|
||||
Reference in new issue
Block a user