Skip to content

Remove unused _layouts/category.html#147

Merged
ivan-hc merged 1 commit into
Portable-Linux-Apps:mainfrom
andy5995:remove-unused-category-layout
May 23, 2026
Merged

Remove unused _layouts/category.html#147
ivan-hc merged 1 commit into
Portable-Linux-Apps:mainfrom
andy5995:remove-unused-category-layout

Conversation

@andy5995
Copy link
Copy Markdown
Contributor

Summary

Removes _layouts/category.html. It was added in #144 expecting am2pla-site to emit layout: category frontmatter on generated pages, but the subsequent rewrite of am2pla-site on AM main (209b1b63e, eba5430fc, 0226034b5) took a different path: it emits the search-box HTML inline via ADD_SEARCH_BAR and writes the footer inline too. None of the generated .md files declare a layout, so this file has no effect on the rendered site.

No replacement needed — the inline emission from am2pla-site covers everything the layout used to.

Test plan

  • Confirmed no .md file in the repo declares layout: category (grep -l "^layout:" *.md returns nothing).
  • Confirmed the search box and footer render correctly on the live site (sourced from am2pla-site's inline output).
  • After merge, next workflow tick produces unchanged HTML.

🤖 Generated with Claude Code

Added in Portable-Linux-Apps#144 with the intent that am2pla-site would emit
"layout: category" frontmatter on generated pages so the layout would
inject the search box and shared footer. The subsequent rewrite of
am2pla-site on AM main (ivan-hc/AM commits 209b1b63e, eba5430fc,
0226034b5) took a different approach: the script emits the search-box
HTML inline via an ADD_SEARCH_BAR function and writes the footer
inline too. None of the generated .md files declare a layout, so they
fall through to the Primer theme's default and this file has no
effect on the rendered site.

No replacement needed — the inline emission from am2pla-site fully
covers what the layout used to handle.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ivan-hc ivan-hc merged commit 864cc1f into Portable-Linux-Apps:main May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants