Skip to content

Commit ca0321c

Browse files
markdumayclaude
andcommitted
feat(shortcodes): add .md templates for icon aliases
Icon shortcodes (icon, fa, fab, far, fas) are decorative and carry no textual meaning for LLM consumers. Add empty .md markdown output templates so Hugo uses them instead of the HTML templates when rendering the markdown output format, suppressing safe-content HTML warnings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b69493d commit ca0321c

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

layouts/_shortcodes/fa.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{- /*
2+
Markdown output template for the fa shortcode alias.
3+
Icons are decorative and carry no textual meaning for LLM consumers,
4+
so this template intentionally produces no output.
5+
*/ -}}

layouts/_shortcodes/fab.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{- /*
2+
Markdown output template for the fab shortcode alias.
3+
Icons are decorative and carry no textual meaning for LLM consumers,
4+
so this template intentionally produces no output.
5+
*/ -}}

layouts/_shortcodes/far.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{- /*
2+
Markdown output template for the far shortcode alias.
3+
Icons are decorative and carry no textual meaning for LLM consumers,
4+
so this template intentionally produces no output.
5+
*/ -}}

layouts/_shortcodes/fas.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{- /*
2+
Markdown output template for the fas shortcode alias.
3+
Icons are decorative and carry no textual meaning for LLM consumers,
4+
so this template intentionally produces no output.
5+
*/ -}}

layouts/_shortcodes/icon.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{- /*
2+
Markdown output template for the icon shortcode.
3+
Icons are decorative and carry no textual meaning for LLM consumers,
4+
so this template intentionally produces no output.
5+
*/ -}}

0 commit comments

Comments
 (0)