diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-22 12:43:22 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-22 12:43:22 +0200 |
| commit | 5b476f8905f411768e23cb01d577a60e5a5fd725 (patch) | |
| tree | 0a08cc83d809dbea714f52826e822501ee7c0165 /themes/danix-xyz-hacker/layouts/shortcodes/actions.html | |
| parent | 082e9246ffe453031894d32d3cee9d5d1bf2b67a (diff) | |
| download | danixxyz-5b476f8905f411768e23cb01d577a60e5a5fd725.tar.gz danixxyz-5b476f8905f411768e23cb01d577a60e5a5fd725.zip | |
chore: extract theme into git submodule (danix2-hugo-theme)
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/shortcodes/actions.html')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/shortcodes/actions.html | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/themes/danix-xyz-hacker/layouts/shortcodes/actions.html b/themes/danix-xyz-hacker/layouts/shortcodes/actions.html deleted file mode 100644 index 7badab3..0000000 --- a/themes/danix-xyz-hacker/layouts/shortcodes/actions.html +++ /dev/null @@ -1,19 +0,0 @@ -{{- $url := .Get "url" -}} -{{- $desc := .Get "desc" | default "Download" -}} -{{- $outclass := .Get "outclass" | default "" -}} -{{- $inclass := .Get "inclass" | default "" -}} - -{{- if $url -}} -<div class="my-6 {{ $outclass }}"> - <a - href="{{ $url }}" - class="inline-flex items-center gap-2 px-4 py-2 rounded border border-accent/30 text-accent font-medium hover:border-accent/50 hover:bg-accent/10 transition-colors {{ $inclass }}" - download - > - <i data-feather="download" class="w-4 h-4"></i> - {{ $desc }} - </a> -</div> -{{- else -}} - {{- errorf "actions shortcode: 'url' parameter is required" -}} -{{- end -}} |
